GN-9289 User Manual
Page 34 of (70)
G-series GN-9289 Modbus TCP_UDP Rev. 1.01.docx
8.2.
Supported MODBUS Function Codes
Function Description
Write a number of output bits
Write a number of output words
Read/Write Multiple registers
Read a number of input words /Write a number of output words
- Refer to MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1a
8.2.1.
1 (0x01) Read Coils
This function code is used to read from 1 to 2000 contiguous status of coils in a remote device. The Request
PDU specifies the starting address, i.e. the address of the first coil specified, and the number of coils. In the
PDU Coils are addressed starting at zero. Therefore coils numbered 1-16 are addressed as 0-15. The coils
in the response message are packed as one coil per bit of the data field. Status is indicated as 1= ON and
0= OFF.
Request
Starting Address Lo 0x00
Response
In case of address 0x1015~0x1000 output bit value: 10101010_01010101.