ifm
Supplementary device manual Interface CANopen in the AS-i controllerE
Function
The fieldbus modules
36
5.3.10
Module 9
– analogue multiplexed input
Data content
Analogue input data of the slaves of the AS-i masters 1 + 2
Note
The data of analogue input slaves with the following AS-i slave addresses can be read directly
via the modules 14 (master 1) (
→ Seite
) and 16 (master 2) (→ page
1...31 (setting 4 channels per slave),
1...31 (setting 1 channel per slave).
Change of the setting "Channels per slave" (→ page
So, module 9 only has to be used if the data cannot directly be read via the modules 14 or 16.
Direction of data
Bidirectional (2 words = 4 bytes in both directions)
Module settings
Value range
0 / 1
0
module is deactivated
1
module is activated (details → data interpretation)
Data interpretation
Using module 9, analogue input data of an AS-i slave with any AS-i address can be retrieved.
The information which channel of which AS-i slave on which master is to be read must be given
to the controllerE via the fieldbus interface. The controllerE replies to such a request with a
copy of the request data and the corresponding analogue value. As a result, only one specific
analogue value can be transmitted at a time by module 9. This process is called multiplexing.
Syntax:
Requirement: 4 bytes from the fieldbus interface to the controllerE
PDO x
Bit
7
6
5
4
3
2
1
0
byte n
0
0
0
0
0
0
C
C
byte n+1
M
M
X
S
S
S
S
S
byte n+2
not used
byte n+3
not used
CC
channel number (0...3) corresponds to the effective channel designations 1...4
(labelling on the unit)
MM
master number (1 or 2)
X
0 = single or A slave
1 = B slave
SSSSS
5 bit slave number (1…31)
j
ControllerE response: 4 bytes from the controllerE to the fieldbus interface
Bytes n and n+1: copy of the request
PDO x
Bit
7
6
5
4
3
2
1
0
byte n
E
E
E
E
0
0
C
C
byte n+1
M
M
X
S
S
S
S
S
byte n+2
analogue value (low byte)
byte n+3
analogue value (high byte)
E
4
= the selected channel is invalid (NOT valid flag),
E
5
= channel overflow (overflow flag),
E
6
= reserved,
E
7
= data exchange error with the slave (NOT transfer valid flag).