Commander SK Advanced User Guide
19
Issue Number: 9 www.controltechniques.com
Table 6-4 Slave response
FC16 Write multiple
Writes a contiguous array of registers. The slave imposes an upper limit on the number of registers which can be written. If this is exceeded the slave
will discard the request and the master will time out.
Table 6-5 Master request
Table 6-6 Slave response
It is not possible to write to 32 Bit parameters using FC16.
Byte
Description
0
Slave source node address
1
Function code 0x6
2
Register address MSB
3
Register address LSB
4
Register data MSB
5
Register data LSB
6
CRC LSB
7
CRC MSB
Byte
Description
0
Slave node address 1 through 247
0 is global
1
Function code 0x10
2
Start register address MSB
3
Start register address LSB
4
Number of 16bit registers MSB
5
Number of 16bit registers LSB
6
Length of register data to write (in bytes)
7
Register data 0 MSB
8
Register data 0 LSB
7+byte count CRC LSB
8+byte count CRC MSB
Byte
Description
0
Slave source node address
1
Function code 0x10
2
Start register address MSB
3
Start register address LSB
4
Number of 16bit registers written MSB
5
Number of 16bit registers written LSB
6
CRC LSB
7
CRC MSB
NOTE
Содержание 2202
Страница 199: ......
Страница 200: ...0472 0001 09 ...