Structure
Protocol ID
Data bytes
Unit ID
Function code
Starting register
Words to be written
Bytes to be written
Programming data to be written
Command example: 01000000000B0110203C00020400000003
Transaction ID
Protocol ID
Data bytes
Unit ID
Function code
Starting register
Command successfully sent
Response example: 0100000000060110203C0001
2.3 FLOATING POINT AS PER IEEE STANDARD
The basic format allows a IEEE standard floating-point number to be represented in a single 32 bit format, as
shown below:
where S is the sign bit, e' is the first part of the exponent and f is the decimal fraction placed next to 1. Internally
MODBUS RTU/ASCII, TCP
Example Byte
00
High
00
Low
00
High
00
Low
0B
-
01
-
10
-
20
High
3C
Low
00
High
02
Low
04
-
00
High
00
Low
00
High
03
Low
01
-
00
High
00
Low
00
High
00
Low
06
-
01
-
10
-
20
High
3C
Low
00
High
01
Low
N.n = (-1)
2
(1.f )
S
e'-127
55