ZFC
ZFC K03/0522
page 35
The variables that consist of a multiple register must always read/write in 1
single action!
Refer to the illustration:
For this example, it is assumed that the variable accumulated total has 3 registers
(words) with address 566, 567 and 568. When a transmission is done, register
566, which acts as the MSW, arrives first with bit 15 which is the MSB of the
lowest addressed word, but is also the MSB (bit 47) of the complete variable that
represents the Accumulated total.
Although most Modbus Masters will support variables that span 2 registers,
variables spanning more registers sometimes require you to manually calculate
the resulting value.
For additional information regarding using your Modbus device, please read
the’General Modbus Communication Protocol’ on homepage
www.modbus.org
.
Runtime variables
PDU
ADDRESS
REGISTER
VARIABLE
RUN TIME
NO.
REGISTERS
R/W
TYPE
VALUE / REMARKS
[d] 1596
[h] 0x63C
41597
temperature
corrected differential
flow rate
2 r
uint32
0…9999999
Representation: unit, time, decimals depending
on variables 48, 49, 50
[d] 566
[h] 0x236
40567
temperature
corrected differential
total
3 r*
uint48
0…9999999999
Representation: unit, decimals
depending on variables 32, 33
[d] 560
[h] 0x230
40561
temperature
corrected differential
accumulated total
3 r
uint48
0…99999999999999
Representation: unit, decimals
depending on variables 32, 33
[d] 572 [h]
0x23C
40573
Flow rate-A
2 r
uint32
0…9999999
Representation: unit, time, decimals depending
on variables 48, 49, 50
[d] 588 [h]
0x24C
40589
Flow rate-B
2 r
uint32
0…9999999
Representation: unit, time, decimals depending
on variables 48, 49, 50
[d] 212 [h]
0x0D4
40213
Temperature-A
1 r
uint16
0…9999999
[d] 218
[h] 0x0DA
40219
Temperature-B
1 r
uint16
0…9999999