EasyManuals Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1157 background imageLoading...
Page #1157 background image
1117
File Memory Instructions Section 3-26
Data Format Store the data in the I/O memory area in order from leftmost byte rightmost
byte and lower word address
higher word address, starting from the left-
most byte of S3.
Directory Name and
Filename (S2)
Specify the directory name as the absolute path from the root directory (\).
The root directory’s \ (#5C) delimiter must be entered. The directory name
can be up to 65 characters long. If there are fewer than 65 characters, it is
not necessary to add spaces after the directory name. Use \ (#5C) delim-
iters to separate directory levels. The allowed characters are “a to z”, “A to
Z”, and “0 to 9”, in ASCII.
Set the filename as 1 to 8 ASCII characters, using only the “a to z”, “A to
Z”, and “0 to 9” characters. If there are fewer than 8 characters, it is not
necessary to add spaces after the filename. Always insert an NULL (#00)
character after the filename.
The filename extension is fixed to “.TXT”, so it is not specified.
Store the directory name and filename in ASCII and in order from leftmost
byte
rightmost byte and lower word address higher word address,
starting from the leftmost byte of S2.
If the specified directory does not exist, the No File Flag (A34311) will be
turned ON and the file will not be overwritten.
Example: Writing to Directory \ABC and Filename XYZ
Flags
The following table shows relevant flags in the Auxiliary Area.
S3
#3132
#3334
S3+1
#3536
#3738
S3+2
S3+3
When Writing the String 12345678
Characters: 12
Characters: 34
Characters: 56
Characters: 78
41
43
5B
5A
5C
42
5C
59
00
Saved in ASCII.
S2
S2+1
S2+2
S2+3
S2+4
'
\
'
'B'
'
\
'
'Y'
NUL
'A'
'C'
'Y'
'Z'
S2
S2+1
S2+2
S2+3
S2+4
Name Label Operation
Error Flag ER ON if there is no Memory Card.
ON if C is not within the specified range of 0000 or 0001.
ON if the filename specified at S2 does not meet the
required conditions.
ON if the File Memory Operation Flag is ON.
ON if the data area specified for S3 is an invalid area.
With the CS1D CPU Units: ON if the active and standby
CPU Units could not be synchronized.
OFF in all other cases.
Name Label Operation
Memory Card Format
Error Flag
A34307 ON when the Memory Card is not formatted
or a formatting error has occurred.
File Write Error Flag A34308 ON when an error occurred when writing to
the file.
File Write Impossible
Flag
A34309 ON when the data could not be written
because the file was write-protected or
there was insufficient free memory.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals