![Omron CJ1G-CPU series Programming Manual Download Page 228](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489228.webp)
207
Manipulating Files
Section 5-2
CMND(490): DELIVER COMMAND
CMND(490) can be used to issue a FINS command to the local CPU Unit
itself to perform file memory operations such as formatting or deleting files.
Make the following settings in CMND(490)’s control words when issuing a file-
memory FINS command to the local PLC:
1,2,3...
1.
Set the destination network address to 00 (local network) in C+2.
2.
Set the destination unit address to 00 (PLC’s CPU Unit) and the destination
node to 00 (within local node) in C+3.
3.
Set the number of retries to 0 in C+4. (The number of retries setting is in-
valid, so set it to 0.)
FINS Commands Related
to File Memory
Refer to 5-2-2 FINS Commands for information on FINS commands.
Note There are other FINS commands related to file memory that are not shown in
the following table which can be executed. Refer to the Communications Com-
mand Reference Manual (W342) for details on FINS commands.
CMND(490) cannot be executed to the local CPU Unit if another CMND(490)
instruction is being executed to another CPU Unit, FREAD(700) or
FWRIT(701) is being executed, the program is being replaced by an Auxiliary
Area control bit operation, or a simple backup operation is being executed. Be
sure to include the File Memory Operation Flag (A34313) as a normally
closed condition to prevent CMND(490) from being executed while another
file memory operation is in progress.
If CMND(490) cannot be executed for the local CPU Unit, the Error Flag will
be turned ON.
Related Auxiliary Bits/Words
Name
Address
Operation
File Memory Opera-
tion Flag
A34313
ON for any of the following:
• The CPU Unit is processing a FINS command sent to itself using CMND(490).
• FREAD(700) or FWRIT(701) is being executed.
• The program is being overwritten using an Auxiliary Area control bit.
• A simple backup operation is being performed.
Memory Card
Detected Flag
A34315
ON when a Memory Card has been detected. (Not supported by CS-series CS1 CPU
Units that are pre-EV1)
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...