VM600 networking manual MAVM600-NET/E 8 - 13
Edition 9 - February 2018
MPC4 card
SETTING UP A MODBUS CONNECTION (CPUM SW VERSION 067 OR EARLIER)
8.6.3 Analog values (registers)
Possible settings are:
• VAL Actual measured value
VAL is coded as a 16-bit signed value (see Figure 8-8) scaled as follows:
• 0 represents 0% of the full-scale defined in the FSD register
• 16383 (0x3FFF) represents 100% of the full-scale defined in the FSD register
• 49152 (0xC000) represents −100% of the full-scale defined in the FSD register
• FSD Full-scale value
• FSD is coded as a 16-bit unsigned value (see Figure 8-9).
Example 1:
A value of 10000 is returned with a full-scale defined as 10.
(The physical unit is mm/s, but this information is not available from Modbus.)
The corresponding mechanical value is then calculated as follows:
(10000 / 16383) x 10 = 6.10 mm/s.
Example 2:
A value of 50000 is returned with a full-scale defined as 20.
The corresponding mechanical value is then calculated as follows:
(50000 - 65535) / 16383 x 20 = −18.96 mm.
Figure 8-8: Signed 16-bit Integer
Sign MSB Value LSB
-
+
65535 0xFFFF
49152 0xC000
32767 0x7FFF
16383 0x3FFF
0 0x0000
-0
-FSD
+FSD
+0
Empty
Hexadecima
l
Example 2
(
mm
)
Exa
m
ple
1
(
mm
/s)
D
eci
mal
4
-4
0
0
Figure 8-9: Analog Values
10
-10
0
0