ProSoft Technology MVI56-AFC User Manual
Page 247
MVI56-AFC ♦ ControlLogix Platform
MVI56-AFC Sample Logic
Liquid and Gas Flow Computer
User Manual
ProSoft Technology, Inc.
Page 247 of 316
February 25, 2011
Example 2 - Read Net Accumulator Totalizer From Yesterday’s Archive (Meters
1 to 4) (assume orifice meters, gas product)
Perform the following steps:
This application only transfers 8 words (each totalizer occupies 2 words).
Because the number of words is less than 200, it means that only one Modbus
Gateway block will be used (AFC56.Modbus.Gateway[0])
1 Configure the AFC56.Modbus.BlockCount tag with a value of 1.
2 In order to identify the register addresses in the Primary Modbus Slave, refer
to the following spreadsheet that shows the addresses for the hourly and
daily archives:
Input Registers
Mete
r
Start Daily Archive
End Daily Archive
Start Hourly Archive End Hourly Archive
1
0
1059
1060
2499
2
2500
3559
3560
4999
3
5000
6059
6060
7499
4
7500
8559
8560
9999
5
10000
11059
11060
12499
6
12500
13559
13560
14999
7
15000
16059
16060
17499
8
17500
18559
18560
19999
9
20000
21059
21060
22499
10
22500
23559
23560
24999
11
25000
26059
26060
27499
12
27500
28559
28560
29999
13
30000
31059
31060
32499
14
32500
33559
33560
34999
15
35000
36059
36060
37499
16
37500
38559
38560
39999
Each archive occupies a 30-word block. For example, for meter 1:
Archive
Start Register
End Register
Yesterday
0
29
2 days ago
30
59
3 days ago
60
89
4 days ago
90
119
5 days ago
120
149
…
…