1096
File Memory Instructions
Section 3-26
3-26 File Memory Instructions
This section describes instructions used with file memory (EM Area or Mem-
ory Cards).
Note
File memory can also be manipulated by executing CMND(490) to send a
FINS command to the local CPU Unit. Refer to the
CS/CJ-series PLC Opera-
tion Manual
for details.
3-26-1 Precautions when Using Memory Cards
Confirm the following items before using a Memory Card.
Format
Memory Cards are formatted before shipping. There is no need to format
them after purchase. To format them once they have been used, always do so
in the CPU Unit using the CX-Programmer or a Programming Console.
If a Memory Card is formatted directly in a notebook computer or other com-
puter, the CPU Unit may not recognize the Memory Card. If this occurs, you
will not be able to use the Memory Card even if it is reformatted in the CPU
Unit.
Number of Files in Root Directory
There is a limit to the number of files that can be placed in the root directory of
a Memory Card (just as there is a limit for a hard disk). Although the limit
depends on the type and format of the Memory Card, it will be between 128
and 512 files. When using applications that write log files or other files at a
specific interval, write the files to a subdirectory rather than to the root direc-
tory.
DeviceNet
CJ1W-DRM21 DeviceNet Unit
(CPU Bus Unit with unit number 2)
Node address 07
CS1W-DRM21 DeviceNet Unit
CPU Unit
ECHWR(724)
instruction
CPU
Unit
Explicit
message
Unit address 12 hex (because
the unit number is 2)
D:
D00100
D+1:
D00101
D+2:
D00102
S:
D00000
S+1:
D00001
S+2:
D00002
15
8 7
0
C:
D00200
0
0
0
7
C+1:
D00201
0
0
0
3
C+2:
D00202
0
6
1
2
C+3:
D00203
0
0
0
0
C+4:
D00204
0
0
0
0
Node address of remote CPU Unit to be written to = 07 hex (node 07)
Write data size (number of words) = 3 hex
Communications port = 6 hex (port 6),
and the DeviceNet Unit’s unit address = 12 hex
Response monitoring time = 0000 hex (2 s)
Explicit format type = 0000 hex (DeviceNet format)
Instruction
Mnemonic
Function code
Page
READ DATA FILE
FREAD
700
1100
WRITE DATA FILE
FWRIT
701
1107
WRITE TEXT FILE
TWRIT
704
1114
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...