![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489235.webp)
214
Manipulating Files
Section 5-2
Example Program 2
Store program files for several devices and the program file for automatic
transfer at startup (AUTOEXEC.OBJ) in a Memory Card. When the PLC is
turned ON, the automatic transfer at startup file is read and that program is
replaced later with a program file for a different device.
5-2-5
Automatic Transfer at Startup
Automatic transfer at startup is used to read the user program, parameters,
and I/O memory data from a Memory Card to the CPU Unit when the power is
turned ON.
The following files can be read automatically to CPU Unit memory.
Note This function cannot be used to read EM file memory.
Always ON Flag
Task protecting data during program replacement
(Cyclic task number 31, standby status at startup)
Processing to pro-
tect data before pro-
gram replacement
begins
IOM Hold Bit
Outputs to required
loads during pro-
gram replacement.
First Cycle Flag
Replacement
Start Bit
AUTOEXEC.OBJ
Processing that determines
the type of device connected
and stores the corresponding
file name. In this example,
the file name "ABC" is written
in A654 to A657.
Memory Card
Detected Flag
ABC.OBJ
Overwrite
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...