364
Battery-free Operation Section 6-4
Individually Displaying 7-segment LED Segments and Dots
Any code can be displayed by using SCTRL(048) to turn ON the bits corre-
sponding to individual segments and dots.
Clearing the 7-segment LED Display
Setting #0000 for SCTRL(048) and executing the instruction clears the entire
user-defined 7-segment LED display.
6-4 Battery-free Operation
6-4-1 Overview
With the CP1H CPU Unit, saving backup data in the built-in flash memory
(non-volatile memory) enables operation with no battery mounted (i.e., bat-
tery-free operation).
I/O memory (such as CIO), however, is constantly refreshed during operation,
so backup data is not saved in the built-in flash memory. When battery-free
operation is used, therefore, programs must be created assuming that I/O
memory data will not be saved.
For example, if a battery is mounted, then HR, CNT, and DM data is saved
during power interruptions if a battery is mounted but not when battery-free
operation is used.
In that case it is necessary to set the required values in the ladder program. It
is also possible to save to the built-in flash memory in advance the DM initial
values that are to be set for the DM on RAM at startup.
6-4-2 Using Battery-free Operation
Precautions when
Creating Programs
for Battery-free
Operation
Be careful of the following points, and create programs for which it will not be
a problem even if the correct I/O memory values are not held.
• For unstable parts of I/O memory, include programming at the start of
operation to set required data.
Left digit Right digit
D200
7678
Displays data.
Displays "H."
Dis