
Technical Manual
7-24
Data representation
Data sent to and from the instrument uses 16 bit holding registers (40XXX) and can
use different formats for flexibility.
Integer
Unsigned integer (1 modbus register)
Values stored in one modbus register as an unsigned integer
(16 bit number without decimals).
Scaled integer (2 modbus reg 1 modbus register = 3 modbus registers)
Values stored in a special 3 register format. The first two registers are used as
a 32 bit long integer value (with sign) and the third register is holding the number of
decimals in the value.
Example: 12345678 (32 bit number) in the two first registers and 3 in the third register
gives the value: 12345.678.
Register
Hex
Decimal Description
1
00BC
188
The 16 most significant bits in the value.
2
614E
24910
The 16 least significant bits in the value.
3
0003
3
The number of decimals.
Calculations in decimal numbers:
First multiply the most significant register with 2
16
(65536) and add
the least significant register to the value.
188 * 2
16
+ 24910 = 12345678
Now divide the number to get the right number of decimals. The decimal register was
set to 3 in this example, which gives the value 10
3
= 1000 to divide with.
12345678 / 1000 = 12345.678
Содержание G4-DT
Страница 1: ...G4 Multi Channel Force Instrument Program version 101 1 0 0 Technical Manual PM DT HE types GB ...
Страница 2: ......
Страница 18: ...Technical Manual 1 14 ...
Страница 36: ...Technical Manual 2 18 ...
Страница 45: ...G4 Multi Channel Force Instrument 4 5 ...
Страница 76: ...Technical Manual 4 36 ...
Страница 82: ...Technical Manual 5 6 ...
Страница 92: ...Technical Manual 6 10 ...
Страница 138: ...Technical Manual 7 46 ...
Страница 158: ...Technical Manual 8 20 ...
Страница 164: ...Technical Manual 9 6 ...
Страница 170: ......
Страница 171: ...G4 Multi Channel Force Instrument Appendix 1 ...
Страница 172: ...Technical Manual ...
Страница 173: ......