User Manual
DOUT16B-2 Digital Output Module User Manual Page 11 of 13
5.2.4. FUNCTION CODE 06H
Slave address is 64H (decimal 100), set one point content of starting address 64H (decimal 100) as
0001H.
Table 10 Function Code 06H Master Request Example
Request
Bytes
Example (Hex)
Slave address
1
64 Send to the slave 64H
Function code
1
06 Write single register
Starting address
2
00 Starting address is 0064H
64
Data
2
00 Set 1 point data (total 2 bytes)
01
CRC code
2
00 CRC code which calculated by master.
20
Table 11 Function Code 06H Slave Response Example
Response
Bytes
Example (Hex)
Slave address
1
64 Send to the slave 64H
Function code
1
06 Write single register
Starting address
2
00 Starting address is 0064H
64
Data
2
00 Set 1 point data (total 2 bytes)
01
CRC code
2
00 CRC code which calculated by master.
20