10-5-4 Replacing the Entire Program during Operation
Overview
The entire task program can be replaced during operation in RUN or MONITOR mode by turning ON
the Replacement Start Bit (A650.15). The program/network symbol file (.OBJ) with a file name specified
in advance in the Auxiliary Area will be read from the Memory Card and it will replace the program at
the end of the current cycle.
CPU Unit
User program
Replacement Start Bit (A650.15)
turned from OFF to ON.
Replacement
Program File Name
Entire user program
Normal processing
Execution
condition
Normal processing
The program can also be replaced when program execution is stopped (PROGRAM mode) by turning
ON the Replacement Start Bit from the CX-Programmer.
• The replacement program file cannot be read from EM file memory.
• The Replacement Start Bit (A650.15) can be turned ON at any location (program address) in the pro-
gram.
• The CPU Unit will execute the instructions remaining in the cycle after the Replacement Start Bit
goes from OFF to ON.
• The program will not be executed while the program is being replaced. After the program has been
replaced, operation will be started again just as if the CPU Unit were switched from PROGRAM mode
to RUN or MONITOR mode.
• The program will be replaced at the end of the cycle in which the Replacement Start Bit was turned
from OFF to ON, i.e., after END(001) is executed in the last task in the program.
CJ2 CPU Unit Software User's Manual
Replacement
Memory Card
Specifies
program
A650.15
The CPU Unit
Replacement
will execute the
Start Bit
instructions
remaining in the
cycle even after
the
Replacement
Start Bit is
END
turned ON.
(In the last task)
10 CPU Unit Functions
The entire program
is replaced.
10
10-43
Need help?
Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers
How do I retrieve fault codes from plc: CJ2M-CPU35