
Technical Manual
7-44
Examples
Example 1: Setting ‘Level 1 Value’ to 123.5 (Writing to float value register).
1. Make sure that the previous command was not 251. Set command byte (00) to 0 if
previous command was 251.
2. Set number of registers (2) to write in byte 01.
3. Set start address (46010) in bytes 02 and 03.
See ‘7 Communication – Modbus protocol – General registers’.
4. Set the following four bytes (04 – 07) to the value to write (123.5).
5. Enter the command (251) in byte 00.
Byte
Description
Dec
Hex
00
Command
251
FB
01
Number of registers to write
2
02
02 – 03
Start address
46010
B3 6A
04 – 07
Value to write in register 1 and 2
123.5
42 F7 00 00
08 – 15
Write registers 3 – 6.
Example 2: Setting ‘Level 14 value’ to 123.5 (Writing to integer value register).
1. Make sure that the previous command was not 251. Set command byte (00) to 0 if
previous command was 251.
2. Set number of registers (3) to write in byte 01.
3. Set start address (42049) in bytes 02 and 03.
See ‘7 Communication – Modbus protocol – General registers’.
4. Set the following four bytes (04 – 07) to the value to write (123.50) i.e. 12350 and
two decimals.
5. Set bytes 08 and 09 to number of decimals. In this example is 2 decimals used.
6. Enter the command (251) in byte 00.
Byte
Description
Dec
Hex
00
Command
251
FB
01
Number of registers to write
3
03
02 – 03
Start address
42049
A4 41
04 – 07
Value to write in register 1 and 2
12350
00 00 30 3E
08 – 09
Value to write to register 3
2
00 02
10 – 15
Write registers 4 – 6.
Summary of Contents for G4-DT
Page 2: ......
Page 18: ...Technical Manual 1 14 ...
Page 36: ...Technical Manual 2 18 ...
Page 45: ...G4 Multi Channel Force Instrument 4 5 ...
Page 76: ...Technical Manual 4 36 ...
Page 82: ...Technical Manual 5 6 ...
Page 92: ...Technical Manual 6 10 ...
Page 138: ...Technical Manual 7 46 ...
Page 158: ...Technical Manual 8 20 ...
Page 164: ...Technical Manual 9 6 ...
Page 170: ......
Page 171: ...G4 Multi Channel Force Instrument Appendix 1 ...
Page 172: ...Technical Manual ...
Page 173: ......