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
7
6
7
8
Displays data.
Displays "H." Displayed "t."
SCTRL (048)
D200
W0.02
15
14
13
12
11
10
09
08
0
1
1
1
0
1
1
0
7
6
Bit 13
Bit 14
Bit 12
Bit 11
Bit 8
Bit 9
Bit 10
Bit 15
Bit
Contents
07
06
05
04
03
02
01
00
0
1
1
1
1
0
0
0
7
6
Bit 5
Bit 6
Bit 4
Bit 3
Bit 0
Bit 1
Bit 2
Bit 7
Bit
Contents
Clears the LED display
(all segments and dots).
W0.03
SCTRL (048)
#0000
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...