ifm
Supplementary device manual Interface CANopen in the AS-i controllerE
Function
The fieldbus modules
82
Command 35, 16#23
– write 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
M
user ID
command number = 35 (16#23)
2
R
R
R
AS-i slave address
R
R
length to be sent
3
parameter string 1
parameter string 0
4…11
parameter string 2...17
12
parameter string 19
parameter string 18
13...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#0923
command number 16#23,
user ID changes to 9
2nd word: 16#0304
slave address 3,
4-byte parameter string to be sent
3rd word: 16#1AF4
1st word of the parameter string for slave 3
4th word: 16#5BB8
2nd word of the parameter string for slave 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#23
2
TG
R
AS-i slave address
F
R
R
number of bytes to be received
3...18
reserved
reserved
Example:
1st word: 16#0923
reflected command number = 16#23,
user ID changes to 9
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
NOTE
The number of the bytes to be sent must be divisible by 2 since the system always transmits only
multiples of 2 bytes in the S7.4 protocol.
The control bytes defined in profile 7.4 with follow and valid bits are completed automatically by the
system. Therefore, without segmentation, this command is limited to 20 bytes of parameter data.
Larger data volumes must be divided into several segments.