Omron cx-programmer 5.0-function block operation Benutzerhandbuch

Seite von 183
32
Instance Specifications
Section 2-2
(2) Bit data can be accessed even if the DM or EM Area is specified for the
non-retained area or retained area.
(3) The same bank number cannot be specified as the current bank in the
user program if the EM Area is specified for the non-retained area or re-
tained area.
Retained Area
Note
(1) Except when the data type is set to TIMER or COUNTER.
(2) Bit data can be accessed even if the DM or EM Area is specified for the
non-retained area or retained area.
(3) The same bank number cannot be specified as the current bank in the
user program if the EM Area is specified for the non-retained area or re-
tained area.
Timer Area
Counter Area
Function Block Holding 
Area (H512 to H1535)
The default allocation of Function Block Holding Area words set as retained
and non-retained words is H512 to H1535. These words are different to the
standard Holding Area used for programs (H000 to H511), and are used only
for the function block instance area (internally allocated variable area). 
• These words cannot be specified in AT settings for internal variables. 
• These words cannot be specified as instruction operands.
• These words are displayed in red if they are input when a function
block is not being created. 
•  Although the words can be input when creating a function block, an
error will occur when the program is checked.
• If this area is specified as non-retained, turn the power ON/OFF or clear
the area without retaining the values when starting operation.
Note
To prevent overlapping of instance area addresses with addresses used in the
program, set H512 to H1535 (Function Block Holding Area words) for the non-
retained area and retained area.
Item
Contents
Allocated variables
Variables for which the retain property for power OFF and 
operation start is set as retained (See note 1.)
Applicable areas
H (Function block Special Holding Area), H (Holding Area), D 
(Data Memory Area) (see note 1), E (Extended Data Memory 
Area) (See notes 2 and 3.)
Setting unit
Set in words
Allocated words 
(default)
H1408 to H1535
Item
Contents
Allocated variables
Variables with TIMER set as the data type.
Applicable areas
T (Timer Area) Timer Flag (1 bit) or timer PVs (16 bits)
Allocated words 
(default)
T3072 to T4095 Timer Flag (1 bit) or timer PVs (16 bits)
Item
Contents
Allocated variables
Variables with COUNTER set as the data type.
Applicable areas
C (Counter Area) Counter Flag (1 bit) or counter PVs (16 bits)
Allocated words 
(default)
C3072 to C4095 Counter Flag (1 bit) or counter PVs (16 bits)