EM58 – HS58 - HM58 MODBUS TCP/IP
[00][0A] = value set in the register
16 Write Multiple Registers
FC = 16 (0010 hex)
This function code is used to WRITE a block of contiguous Holding Registers (4X
Reference Addresses, 1 to 123 registers) in a remote device.
The values to be written are specified in the request data field. Data is packed as
two bytes per register.
The normal response returns the function code, starting address and quantity of
written registers.
For the complete list of the holding registers accessible using the
function code please refer to the “7.1.1 Holding Register
parameters” section on page 51.
Request PDU
Function code
1 byte
0010 hex
Starting address
2 bytes
0000 hex to FFFF hex
Quantity of registers
2 bytes
0001 hex to 007B hex
Byte count
1 byte
2 x
N*
Registers value
N*
x 2 bytes
value
*N = Quantity of registers
Response PDU
Function code
1 byte
0010 hex
Starting address
2 bytes
0000 hex to FFFF hex
Quantity of registers
2 bytes
1 to 123 (007B hex)
Exception Response PDU
Error code
1 byte
0090 hex (= 0010 hex +
0080 hex)
Exception code
1 byte
01 or 02 or 03 or 04
MAN EM58_HS58_HM58 MT E 1.1.odt
MODBUS® TCP/IP interface 45 of 104
Содержание EMC58 MT
Страница 101: ...This page intentionally left blank ...
Страница 102: ...This page intentionally left blank ...
Страница 103: ...This page intentionally left blank ...