beautypg.com

ProSoft Technology MVI56-AFC User Manual

Page 227

background image

MVI56-AFC ♦ ControlLogix Platform

MVI56-AFC Sample Logic

Liquid and Gas Flow Computer

User Manual

ProSoft Technology, Inc.

Page 227 of 316

February 25, 2011

12.3.7 Meter Calculation Results

After the module has performed the AGA/API calculation, all results are moved to

the processor. The logic will move the calculation results to the controller tags

described in this section.
The calculation results will depend on the meter type and product group. So the

profile information (discussed before) is used to decide to which controller tag the

results will be copied to. The following options are used:

Meter Type

Product Group

Use this Controller Tag

Orifice

Gas

AFC56.Meters[x].Results.DifferentialGas

Orifice

Liquid

AFC56.Meters[x].Results.DifferentialLiquid

Pulse

Gas

AFC56.Meters[x].Results.PulseGas

Pulse

Liquid

AFC56.Meters[x].Results.PulseLiquid

The following shows a controller tag illustration from RSLogix5000:

This means that all you have to do is to identify where to copy the results (based

on the meter type and product group). The logic will automatically select the

correct controller tags.

Note: In order to configure each meter type and product group, refer to the AFC manager software
tool.

The following variables are used for each possible combination:

1) Meter Type = Differential & Product Group = Gas

Calculation
Result

Controller Tag

Data Type

Net Accumulator

AFC56.Meters[x].Results.DifferentialGas.Net_Accumulator

DINT

Net Flow Rate

AFC56.Meters[x].Results.DifferentialGas.Net_Flowrate

REAL

Gross Flow Rate

AFC56.Meters[x].Results.DifferentialGas.Gross_Flowrate

REAL

Fpv

AFC56.Meters[x].Results.DifferentialGas.Fpv

REAL

Cprime

AFC56.Meters[x].Results.DifferentialGas.Cprime

REAL

Where x can assume values between 0 and 15.
The following is an example for Meter 1:

This manual is related to the following products: