AD-4411
32
10.3.1. Example message for coil
The following is an example of executing a tare (data address 000202).
Master -> Slave
0x01 05 00 C9 FF 00 5C 04
Slave address
0x01
Set 0x0A (=rS F-09: Slave address 10).
Function code
0x05
Set 0x05, which is a request to write the data address
000001~065535 (coil).
Data address
0x00 C9 The Modbus protocol specifies that the starting data address be set
to the value of the coil data address minus 000001, so set 0x00C9
(= 000202 – 000001).
Write data
0xFF 00 Set 0xFF 00 (= ON).
CRC
0x5C 04 An error-checking field is based on a CRC method.
Slave -> Master
0x01 05 00 C9 FF 00 5C 04
Slave address
0x01
In this example, the sent message is echoed back as is.
Function code
0x05
Data address
0x00 C9
Write data
0xFF 00
CRC
0x5C 04
Summary of Contents for AD-4411
Page 1: ...1WMPD4004595 ...