211
Manipulating Files Section 5-2
If data tracing is being performed, it will be stopped.
Instruction conditions (interlocks, breaks, and block program execution) will be
initialized.
Differentiation Flags will be initialized whether the IOM Hold Bit is ON or OFF.
Operations after
Program Replacement
The status of the cyclic tasks depends upon their operation-start properties.
(Their status is the same as it would be if the PLC were switched from PRO-
GRAM to RUN/MONITOR mode.)
The First Cycle Flag (A20011) will be ON for one cycle after program execu-
tion resumes. (The status is the same as it would be if the PLC were switched
from PROGRAM to RUN/MONITOR mode.)
Time Required for
Program Replacement
Related Auxiliary Bits/Words
Size of entire program Peripheral servicing time
set in PLC Setup
Approx. time required for
program replacement
60 Ksteps Default (4% of cycle time) 6 s
250 Ksteps 25 s
Name Address Operation
File Memory Operation Flag A34313 ON for any of the following:
The CPU Unit has sent a FINS command to itself using CMND(490).
FREAD(700) or FWRIT(701) are being executed.
The program is being overwritten using an Auxiliary Area control bit
(A65015).
A simple backup operation is being performed.
Memory Card Detected Flag
(Not supported by CS-series
pre-EV1 CS1 CPU Units)
A34315 ON when a Memory Card has been detected.
IOM Hold Bit A50012 When this bit is ON, the contents of I/O memory are retained through pro-
gram replacement.
Forced Status Hold Bit A50013 When this bit is ON, the status of force-set and force-reset bits is main-
tained through program replacement.
Replacement Completion Code
(Not supported by CS-series
pre-EV1 CS1 CPU Units)
A65000 to
A65007
Codes for normal program replacement (A65014 OFF):
01 Hex: The program file (.OBJ) replaced the program.
Codes for incomplete program replacement (A65014 ON):
00 Hex: A fatal error occurred.
01 Hex: A memory error occurred.
11 Hex: The program is write-protected.
12 Hex: The program password in A651 is incorrect.
21 Hex: A Memory Card is not installed.
22 Hex: The specified file does not exist.
23 Hex: The specified file is too large (memory error).
31 Hex: One of the following operations was being performed:
• A file memory operation was being performed.
• The program was being written.
• The operating mode was being changed.
Replacement Error Flag
(Not supported by CS-series
pre-EV1 CS1 CPU Units)
A65014 Turned ON when an error occurred while trying to replace the program
after A65015 was turned from OFF to ON.
Turned OFF the next time that A65015 is turned from OFF to ON again.