Chapter 5 Protocols of Various Services
33
(d) Examples
Request frame
Response frame
Classification
HEX
Classification
HEX
Function code
0x10
Function code
0x01
Start address (Upper byte)
0x00
Start address (Upper byte)
0x00
Start address (Lower byte)
0x01
Start address (Lower byte)
0x01
Number of output (Upper byte) 0x00
Number of output (Upper byte) 0x00
Number of output (Lower byte) 0x02
Number of output (Lower byte) 0x02
Number of bytes
0x04
Output value (Upper byte)
0x00
Output value (Lower byte)
0x0A
Output value (Upper byte)
0x01
Output value (Lower byte)
0x02
[Table 5-44] Function code 0x10 frame examples