ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
160
For the slave list LPS (list of projected slaves)
% I
W 31. 92
Data area
Type of
access
Identification
Slave selection
––
I = input
W = word
31 = master 1
32 = master 2
92 = LPS of the slaves 1(A)…15(A)
93 =
LPS of the slaves 16(A)…31(A)
94 = LPS of the slaves 1B…15B
95 = LPS of the slaves 16B…31B
not used
Details
→ page
Slave lists
For the diagnosis of the AS-i system the controllere provides lists for every master:
LAS = list of active slaves
LDS = list of detected slaves
LPF = list of slaves with periphery fault
LPS = list of projected slaves
Each of the different slaves lists is stored in four words (word no. 0...3).
In the following table you will find the addresses of the four words in which the corresponding slave
lists are stored.
Word no.
Word address
for master 1: xx = 31
for master 2: xx = 32
LAS
LDS
LPF
LPS
0
%IWxx.80
%IWxx.84
%IWxx.88
%IWxx.92
1
%IWxx.81
%IWxx.85
%IWxx.89
%IWxx.93
2
%IWxx.82
%IWxx.86
%IWxx.90
%IWxx.94
3
%IWxx.83
%IWxx.87
%IWxx.91
%IWxx.95
The bit assignment of these words (i.e. to which bit the slave information is assigned) is shown below.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
Slave
0
15 (A) 14 (A) 13 (A) 12 (A) 11 (A) 10 (A) 9 (A)
8 (A)
7 (A)
6 (A)
5 (A)
4 (A)
3 (A)
2 (A)
1 (A)
0 *)
1
31 (A) 30 (A) 29 (A) 28 (A) 27 (A) 26 (A) 25 (A) 24 (A) 23 (A) 22 (A) 21 (A) 20 (A) 19 (A) 18 (A) 17 (A) 16 (A)
2
15 B 14 B 13 B 12 B 11 B 10 B
9 B
8 B
7 B
6 B
5 B
4 B
3 B
2 B
1 B
res
3
31 B 30 B 29 B 28 B 27 B 26 B 25 B 24 B 23 B 22 B 21 B 20 B 19 B 18 B 17 B 16 B
*) LAS and LPS have no slave 0, so these values are set to 0 by default!
Examples
:
Information about standard slave 16 is stored in word no. 1, bit no. 0.
Information about slave 28B is stored in word no. 3, bit no. 12.