ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
163
For the master flags
% I W 31. 240
% I X 32. 241
.8
Data area
Type of
access
Identification
Word selection
Data bit no.
I = input
W = word
X = bit
31 = master 1
32 = master 2
240 = master flags word 1
241 = master flags word 2
If type of access = X:
0…15
Word address
for master 1: xx = 31
for master 2: xx = 32
Bits
Bit = TRUE means:
%IWxx.240
0
"No slave reset"
When executing the function "Config all" (via the menu or command channel of the
controllere) the slaves are NOT reset as described in the AS-i specificaiton.
1...15
Reserved
%IWxx.241
0
"Config OK"
There is no configuration error. The configuration of all AS-i slaves in the network
complies with the projection data.
1
"LDS.0"
One slave with the AS-i address 0 was detected on the master.
2
Reserved
3
Reserved
4
"Configuration_Active"
The controllere is in the configuration mode
5
"Normal_Operation_Active"
The AS-i master is in normal operation: it communicates with at least one slave.
6
"AS-i_Power_Fail"
AS-i voltage is too low
7
Reserved
8
"Periphery_OK"
None of the active AS-i slaves signals a periphery fault
9
"Auto_Address_Enable"
The mode "automatic addressing of the slaves" is activated on this master.
10...15
Reserved
Examples
:
To read the bit LDS.0 "slave 0 detected" for master 1, the address %IX31.241.1 is used; for master 2 the address %IX32.241.1
is used.