Internal I/O Area; Holding Area (H) - Omron CP1H-X40D Operation Manual

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
Table of Contents

Advertisement

Internal I/O Area

4-9

Internal I/O Area

Forcing Bit Status
Work Area Initialization

4-10 Holding Area (H)

Holding Area Initialization
Self-maintaining Bits
Note
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.
Bits in the Work Area can be force-set and force-reset.
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.)
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.
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).
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.
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.
H0.00
A
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
Section 4-9
165

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents