ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
165
12.6.3
Examples for addressing
Slave
Selection
Parameters
Address examples
Binary single or
A slave
All 4 bits in
one byte
Output byte of slave 22 on master 1
%QB1.22
Input byte of slave 6A on master 2
%IB2.6
Individual bit
Bit 3 (input) of slave 24 on master 2
%IX2.24.3
Bit 0 (output) of slave 8 on master 1
%QX1.8.0
Binary B slaves
All 4 bits in
one byte
Output byte of slave 22B on master 1
%QB11.22
Input byte of slave 6B on master 2
%IB12.6
Individual bit
Bit 3 (input) of slave 24B on master 2
%IX12.24.3
Bit 0 (output) of slave 8B on master 1
%QX11.8.0
Analogue
slaves
All 16 bits in
one channel
(word)
Analogue input in 3rd channel of slave 31 on
master 1
%IW21.31.2
Analogue input in 1st channel of slave 31A on
master 1
%IW21.31.0
Analogue input in 1st channel of slave 31B on
master 1
%IW21.31.2
Analogue output from 4th channel of slave 17
on master 2
%QW22.17.3
Analogue output from 2nd channel of slave
17B on master 2
%QW22.17.3
Status
(channel 5)
Status of slave 31(A) on master 2
%IW22.31.4
Status of slave 31B on master 2
%IW22.31.4
Flags
Complete
flag wod
Flag word 21 (remanent)
%MW21
Individual
byte
Flag byte 162 (not remanent)
%MB162
Individual bit Bit 8 from flag word 21 (remanent)
%MX21.8