Exception Codes; Modbus Rtu/Ascii - Algodue ELETTRONICA UPM209 Manual Del Usuario

Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

the exponent is 8 bits in length and the stored fraction is 23 bits long.
A round to nearest method is applied to the calculated value of floating point.
The floating-point format is shown as follows:
where:
Sign
Exponent
Fraction
Total
Exponent
Min e'
Max e'
Bias
NOTE. Fractions (decimals) are always shown while the leading 1 (hidden bit) is not stored.
EXAMPLE OF CONVERSION OF VALUE SHOWN WITH FLOATING POINT
Value read with floating point:
45AACC00(
)
16
Value converted in binary format:
010001011 01010101100110000000000 (
exponent
sign
sign = 0
exponent = 10001011(
2
fraction = 01010101100110000000000(
= 2804736 (
N.n = (-1)
2
(1+f ) =
S
e'-127
= (-1)
2
(1.334350585) =
0
139-127
= (+1) (4096) (1.334350585) =
= 5465.5

3. EXCEPTION CODES

When the slave (instrument) receives a not-valid query or command, an error response is sent. The error
response structure is following described according to the used communication protocol (RTU/ASCII or TCP).

3.1 MODBUS RTU/ASCII

In this section, the table describes the error response structure following to a not-valid query or command.
56
======================
| S | e + 127 |
======================
31
30
bit length
1
8
23 + (1)
m = 32 + (1)
0
255
127
)
2
fraction
) = 139(
)
10
) / 8388608 (
2
) / 8388608 (
) = 0.334350585 (
10
10
f
|
23 22
0 <—
bit number
) =
10
)
10
MODBUS RTU/ASCII, TCP

Publicidad

Capítulos

Tabla de contenido
loading

Tabla de contenido