ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
152
12.6
Overview PLC addresses
The PLC addesses (IEC addresses) consist of several elements in the indicated order:
Start character
%
The definition of an address starts with "%"
Data type
I
Inputs (of sensors) are defined by an "I" for input
Q
Outputs (of actuators) are defined by a "Q" for output
M
Flags are defined by an "M"
Data length
X
Bit information is defined by an "X"
B
Bytes (= 8 bits) are defined by a "B"
W
Words (= 2 bytes = 16 bits) are defined by a "W"
Identification
(m)
Indication of the AS-i master
Slave address
(s)
Indication of the slave address
12.6.1
Example pushbutton module
An AS-i pushbutton module AC2088 is connected to the master 1 as slave 6B. At which addresses are
the pushbuttons and indicators accessible in the PLC program?
The data sheet specifies: AS-i profile = S-B.A.E
Assignment
LED red
LED green
Pushbutton
red
Pushbutton
green
Data bit
D0
D1
D2
D3
This results in the following addresses for the PLC program in the controllere:
AS-i
Pushbutton
Indicator
green
%IX11.6.3
%QX11.6.1
red
%IX11.6.2
%QX11.6.0
The following pages will show examples of IEC addresses in the PLC of the controllere.