Setting The Fb Instance Areas - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Procedures
3-2-6

Setting the FB Instance Areas

1,2,3...
Note
128
The areas where addresses for variables used in function blocks are allocated
can be set. These areas are called the function block instance areas.
1. Select the instance in the Ladder Section Window or in the global symbol
table, and then select Function Block Memory - Function Block Memo-
ry Allocation from the PLC Menu.
The Function Block Memory Allocation Dialog shown below will appear.
2. Set the FB instance areas.
Non-retained area
Retained area
Timer area
Counter area
The non-retained and retained areas are set in words. The timer and
counter areas are set by time and counter numbers.
The default values are as follows:
FB Instance
Area
Start Address
Non Retain
H512 (See
(See notes 1
note 2.)
and 3.)
Retain (See
H1408 (See
note 1.)
note 2.)
Timers
T3072
Counters
C3072
(1) Bit data can be accessed even if the DM or EM Area is specified for the
non-retained area or retained area.
(2) The Function Block Holding Area words are allocated in H512 to H1535.
These words cannot be specified in instruction operands in the user pro-
gram. These words can also not be specified in the internal variable's AT
settings.
(3) Words H512 to H1535 are contained in the Holding Area, but the ad-
dresses set as non-retained will be cleared when the power is turned
OFF and ON again or when operation is started.
(4) To prevent overlapping of instance area addresses and addresses used
in the program, set H512 to H1535 (Function Block Holding Area words)
for the non-retained area and retained area. If another area is set, the ad-
dresses may overlap with addresses that are used in the user program.
If the addresses in the function block instance areas overlap with any of
the addresses used in the user program, an error will occur when compil-
ing. This error will also occur when a program is downloaded, edited on-
line, or checked by the user.
First
Last
Size
address
address
Default value
End Address
Size
H1407 (See
896
note 2.)
H1535 (See
128
note 2.)
T4095
1024
C4095
1024
Section 3-2
Applicable memory
areas
CIO, WR, HR, DM, EM
HR, DM, EM
TIM
CNT

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents

Save PDF