7-9
7 Inspection and Maintenance
CJ2 CPU Unit Hardware User’s Manual
7-2 Replacing the Battery
7
7-2-2 Operation When Battery Is Exhausted or Not Installed
• The value for the Output OFF Bit (A500.15) will become unstable. Moreover, when the Output OFF
Bit turns ON, the outputs of all Output Units will turn OFF. To prevent the outputs of all Output Units
from turning OFF at startup, take countermeasures such as writing the following program section into
the ladder program.
• Bank 0 will be the EM current bank at startup.
• Files will not be held in the EM file memory (EM data converted to flash memory) and the file memory
function cannot be used. Make the EM file memory setting again in the PLC Setup, and format the
EM file memory.
The following flowchart shows the flow of setup operations for the CPU Unit.
Setup Method
RSET
A500.15
First Cycle Flag
(A200.11)
CIO/W/TIM
CNT/H/DM/EM
CNT/HR/DM/EM
Power ON
Operation with Battery
Is it necessary to hold
the values of I/O
memory data for the
next startup?
Yes
Which data is required?
Operation without Battery
Are I/O memory
initial values
required for program
execution?
No
Yes
No
Can the I/O
memory initial
values be set by
the program?
No
The initial values are set in
the user program.
Yes
Normal Operation
(Memory Card Not Required)
PLC Setup:
Detect Low Battery
IOM Hold Bit: Hold
A500.12 (IOM Hold Bit): ON
Normal Operation
(Memory Card Not Required)
PLC Setup: Detect Low Battery
Normal Operation
(Memory Card Not Required, and
User Program and Parameter
Area Data Held in Flash Memory)
PLC Setup: Do Not Detect Low
Battery
Are the DM Area
settings (D20000 to
D32767) for Special I/O
Units and Inner Boards
the only initial values that
are required?
Automatic Transfer at Startup
(Memory Card Required)
Transferred files:
AUTOEXEC.OBJ,
AUTOEXEC.STD,
AUTOEXEC.IOM
PLC Setup: Do Not Detect Low
Battery
DM Area beginning with
D00000, or EM Area
No
Automatic Transfer at Startup
(Memory Card Required)
Transferred files: AUTOEXEC.OBJ,
AUTOEXEC.STD,
ATEXECDM.IOM, etc.
PLC Setup: Do Not Detect Low
Battery
Operation is not possible without a Battery.
Other than the above.
Yes