EM58 – HS58 - HM58 MODBUS TCP/IP
[2F][F0] = value of register 2, 2F F0 hex = 12272 dec
06 Write Single Register
FC = 06 (0006 hex)
This function code is used to WRITE a single Holding Register (4X Reference
Addresses) in a remote device. The Request PDU specifies the address of the
register to be written. Registers are addressed starting at zero. Therefore register
numbered 1 is addressed as 0.
The normal response is an echo of the request, returned after the register
contents have been written.
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
0006 hex
Register address
2 bytes
0000 hex to FFFF hex
Register value
2 bytes
0000 hex to FFFF hex
Response PDU
Function code
1 byte
0006 hex
Register address
2 bytes
0000 hex to FFFF hex
Register value
2 bytes
0000 hex to FFFF hex
Exception Response PDU
Error code
1 byte
0086 hex (=0006 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 43 of 104
Summary of Contents for EMC58 MT
Page 101: ...This page intentionally left blank ...
Page 102: ...This page intentionally left blank ...