ifm
Supplementary device manual Interface CANopen in the AS-i controllerE
Function
The fieldbus modules
30
5.3.1
Module 1
– digital input master 1(A)
Data content
Binary input data of the digital single or A slave of AS-i master 1
Direction of data
Data from the controllerE to the fieldbus interface
Module settings
Value range
0…16 [bytes]
0
module is deactivated
1…16
module is activated (details → data interpretation)
Data interpretation
In each transmitted byte, the digital signals of 2 AS-i slaves can be transmitted. The position of
the data in this memory range depends on the AS-i address of the corresponding slave.
Therefore the value to be set is based on the highest AS-i slave address of the used digital
input slaves and not on the number of used slaves. The following table shows the allocation of
AS-i slave addresses to the module settings. Given that the AS-i slave address 0 is not
available for cyclical data exchange, this range is used for the transmission of status
information of the AS-i master.
Setting value [byte]
AS-i slave addresses
1
0 (status master
)
1
2
2
3
3
4
5
4
6
7
5
8
9
6
10
11
7
12
13
8
14
15
9
16
17
10
18
19
11
20
21
12
22
23
13
24
25
14
26
27
15
28
29
16
30
31
Bit
7
6
5
4
3
2
1
0
Status information AS-i master
Bit 7
Bit 6
Bit 5
Bit 4
reserved
configuration error in
the AS-i circuit or AS-i
voltage too low
AS-i master is offline
(AS-i data invalid)
peripheral fault in the
AS-i circuit
Examples for module 1
Task 1:
The digital input signals of the AS-i slaves 1...3 are to be transmitted. To do so, to which value
must module 1 be set at least?
Solution:
The highest used AS-i slave address is 3. According to the table, the data of the AS-i slave 3 are
stored
in byte 2
of the module. Therefore, module 1 must be at least set to the value
2
.
Task 2:
The digital input signals of the AS-i slaves 2, 13 and 28 are to be transmitted. To do so, to which
value must module 1 be set at least? Where can the data of slave 13 be found?
Solution:
The highest used AS-i slave address is 28. According to the table, the data of the AS-i slave 28
are stored
in byte 15
of the module. Therefore module 1 must be at least set to the value
15
.
The data of slave 13 are stored in byte 7 in the bits 0...3.