ifm
Supplementary device manual Interface CANopen in the AS-i controllerE
Function
The fieldbus modules
81
Command 34, 16#22
– read parameter string of an AS-i slave with profile S-7.4
Request from the host >> controllerE:
Word no.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
R
S = 0
M
user ID
command number = 34 (16#22)
2
R
R
R
AS-i slave address
R
R
length to be sent (here = 0)
3…18
not used
not used
Bit S in the first word signals the receiver that a large data packet is transmitted in several partial sequences:
S = 1: data transmission not yet completed, at least one more packet follows.
S = 0: data transmission completed.
Example:
1st word: 16#0822
command number 16#22,
user ID changes to 8
2nd word: 16#0300
slave address 3
Response controllerE >> host:
Word no.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
E = 0
S
M
user ID
reflected command number = 16#22
2
TG
R
AS-i slave address
F
R
R
number of bytes to be received
3
parameter string 1
parameter string 0
4…16
parameter string 2…27
17
parameter string 29
parameter string 28
18
reserved
reserved
Example:
1st word: 16#0822
reflected command number = 16#22,
user ID changes to 8
2nd word: 16#0604
slave address shifted 1 bit to the left = 6,
4-byte parameter string
or:
2nd word: 16#8604
the most significant bit changes after every execution
3rd word: 16#1234
1st word of the parameters string of slave 3
4th word: 16#5678
2nd word of the parameters string of slave 3
NOTE
The control bytes defined in profile 7.4 with follow and valid bits are filtered out by the system.