Register value - high part
0x00
Register value - high part
0x00
Register value - low part
0x03
Register value - low part
0x03
Table 10: Exemplery record of one memory register
Record of many binary outputs (code 15) - Function that allows, with one message, to record many
subsequently addressed binary outputs. An attempt to record a non-existing binary output leads to an error
message
Example: 20 – 29 outputs record
Request
Response
Field name
Hex
Field name
Hex
Function code
0x0F
Function code
0x0F
Register address - high part
0x00
Register address - high part
0x00
Register address - low part
0x13
Register address - low part
0x13
Number of binary outputs - high part
0x00
Number of binary outputs - high part
0x00
Number of binary outputs - low part
0x0A
Number of binary outputs - low part
0x0A
Bytes
0x02
27 – 20 output status
0xCD
29 – 28 output status
0x01
Table 11: Exemplary record of many binary registers
Input No,
27 26
25
24 23
22
21 20
-
-
-
-
-
-
29 28
Value read
Hex
0xCD
0x01
Bit
1
1
0
0
1
1
0
1
0
0
0
0
0
0
0
1
Input status
ON ON OFF OFF ON ON OFF ON -
-
-
-
-
-
OFF ON
Table 12: Interpretation of binary output statuses
Record of many memory registers (code 16) - The function allows, with one message, to read many
subsequently addressed binary output reads. The attempt to read the non-existing binary output leads to error
message.
Example: Register 256-257 read
Request
Response
Field name
Hex
Field name
Hex
Function code
0x10
Function code
0x10
Register address - high part
0x00
Register address - high part
0x00
6