User Manual
DOUT16B-2 Digital Output Module User Manual Page 10 of 13
5.2.3. FUNCTION CODE 05H
Slave address is 64H (decimal 100), starting address is one status of 64H (decimal 100). Set 64H unit
as 1.
Table 7 Example Status Data Address
Address
Data(Hex)
64H
1
Illustration: Hex value FF00 forced status is 1. 0000H is forced as 0. Other values are illegal and do not
affect the status.
Table 8 Function Code 05H Master Request Example
Request
Bytes
Example (Hex)
Slave address
1
64 Send to the slave 64H
Function code
1
05 Forced status
Starting address
2
00 Starting address is 0064H
64
Data
2
FF Set status as 1
00
CRC code
2
C4 CRC code which calculated by master.
10
Table 9 Function Code 05H Slave Response Example
Response
Bytes
Example (Hex)
Slave address
1
64 Send to the slave 64H
Function code
1
05 Forced status
Starting address
2
00 Starting address is 0064H
64
Data
2
FF Set status as 1
00
CRC code
2
C4 CRC code which calculated by master.
10