163
Internal I/O Area
Section 4-9
4-9
Internal I/O Area
The Internal I/O (Work) Area contains 512 words with addresses ranging from
W0 to W511. These words can be used in programming as work words.
There are unused words in the CIO Area (CIO 1200 to CIO 1499 and
CIO 3800 to CIO 6143) that can also be used in the program, but use any
available words in the Work Area first because the unused words in the CIO
Area may be allocated to other applications when functions are expanded.
Forcing Bit Status
Bits in the Work Area can be force-set and force-reset.
Work Area Initialization
The contents of the Work Area will be cleared in the following cases:
1.
When the operating mode is changed from PROGRAM to RUN or MONI-
TOR mode or vice-versa and the IOM Hold Bit is OFF
2.
When the power is cycled
3.
When the Work Area is cleared from the CX-Programmer.
4.
When PLC operation is stopped when a fatal error other than an
FALS(007) error occurs. (The contents of the Work Area will be retained
when FALS(007) is executed.)
4-10 Holding Area (H)
The Holding Area contains 512 words with addresses ranging from H0 to
H511 (bits H0.00 to H511.15). These words can be used in programming.
Holding Area Initialization
Data in the Holding Area is not cleared when the power is cycled or the PLC’s
operating mode is changed from PROGRAM mode to RUN or MONITOR
mode or vice-versa.
A Holding Area bit will be cleared if it is programmed between IL(002) and
ILC(003) and the execution condition for IL(002) is OFF. To keep a bit ON
even when the execution condition for IL(002) is OFF, turn ON the bit with the
SET instruction just before IL(002).
Self-maintaining Bits
When a self-maintaining bit is programmed with a Holding Area bit, the self-
maintaining bit won’t be cleared even when the power is reset.
Note
1.
If a Holding Area bit is not used for the self-maintaining bit, the bit will be
turned OFF and the self-maintaining bit will be cleared when the power is
reset.
2.
If a Holding Area bit is used but not programmed as a self-maintaining bit
as in the following diagram, the bit will be turned OFF by execution condi-
tion A when the power is reset.
3.
H512 to H1535 are used as a Function Block Holding Area. These words
can be used only for function block instances (internally allocated variable
H0.00
H0.00
A
H0.00
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...