Example
Example read request for register E011
Request
Field Name
No. of Registers Lo
The contents of register E011
two-byte values 0898
06
(06
)
This function code is used to write a single holding register in a remote device.
dec
hex
The request PDU specifies the address of the register to be written. Registers are
Write Single Re-
addressed starting at zero. This means that the register that has been numbered
gister
as 1 will be addressed using 0.
The normal response is an echo of the request, which is returned after the regis-
ter contents are written.
Request
Function code
Register address
Register value
Response
Function code
Register address
Register value
Error
Error code
Exception code
Example
Example request for writing the value 898
(gas pre-flow).
Request
Field Name
Transaction Identifier Hi
Transaction Identifier Lo
Protocol Identifier Hi
Protocol Identifier Lo
Length Hi
Length Lo
Unit Identifier
Function code
hex
Response
Hex
Field Name
01
(gas pre-flow) are displayed in the form of the
hex
or 2200
.
hex
dec
1 byte
06
hex
2 bytes
0000
2 bytes
0000
1 byte
06
hex
2 bytes
0000
2 bytes
0000
1 byte
86
hex
1 byte
01 or 02 or 03 or 04
hex
Response
Hex
Field Name
00
Transaction Identifier Hi
01
Transaction Identifier Lo
00
Protocol Identifier Hi
00
Protocol Identifier Lo
00
Length Hi
06
Length Lo
00
Unit Identifier
06
Function code
Englisch (US)
(gas pre-flow).
to FFFF
hex
hex
or FFFF
hex
hex
to FFFF
hex
hex
or FFFF
hex
hex
(2200
) to register E011
dec
Hex
hex
Hex
00
01
00
00
00
06
00
06
69