
Operation
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-
IEI-01
37
7
These structures contain:
Other data types that are not used in the structures include:
7.2.2
Explanation of declaring the global variables:
For accessing communication RAM, global variables of data type
IEI_PLC_BMSTRUCT
are already declared for each option module slot in template "BM4_O_PLC01".
These are the following global variables (for example in PROPROG wt II):
_IEI_Ctrl_Slot_G
AT %MB3.2258000
: IEI_PLC_BMSTRUCT;
_IEI_Ctrl_Slot_H
AT %MB3.3258000
: IEI_PLC_BMSTRUCT;
_IEI_Ctrl_Slot_J
AT %MB3.4258000
: IEI_PLC_BMSTRUCT;
_IEI_Ctrl_Slot_K
AT %MB3.5258000
: IEI_PLC_BMSTRUCT;
_IEI_Ctrl_Slot_L
AT %MB3.6258000
: IEI_PLC_BMSTRUCT;
_IEI_Ctrl_Slot_M
AT %MB3.7258000
: IEI_PLC_BMSTRUCT;
If these variables are no longer in the PROPROG wt project, create – in dependence on
the slot (G to M) – the global variable
_IEI_Ctrl_Slot_G
(to
_IEI_Ctrl_Slot_M
) of
data type
IEI_PLC_BMSTRUCT.
At declaration of the global variables, this variable must be connected to the base address
of the BM4-O-IEI-01 option module.
Data type
Short designation
Number of bits
BYTE
b
8
WORD
w
16
DWORD (double word)
d
32
SINT (short integer)
si
8
DINT (double integer)
di
32
USINT (unsigned short integer)
us
8
UINT (unsigned integer)
u
16
UDINT (unsigned double integer)
ud
32
STRUCT
_ (underline)
-
ARRAY
a
-
Data type
Short designation
Number of bits
BOOL (bit)
x
1
TIME
t
-