beautypg.com

ProSoft Technology MVI56-AFC User Manual

Page 226

background image

MVI56-AFC Sample Logic

MVI56-AFC ♦ ControlLogix Platform

User Manual

Liquid and Gas Flow Computer

Page 226 of 316

ProSoft Technology, Inc.

February 25, 2011

4) Meter Type = Linear & Product Group = Liquid

Process Input

Controller Tag

Data Type

Water Percent

AFC56.Meters[x].Variables.LinearLiquid.Water_Percent

INT

Temperature

AFC56.Meters[x].Variables.LinearLiquid.Temperature

REAL

Pressure

AFC56.Meters[x].Variables.LinearLiquid.Pressure

REAL

Pulse Count

AFC56.Meters[x].Variables.LinearLiquid.Meter_Pulses

DINT

Density

AFC56.Meters[x].Variables.LinearLiquid.Density

REAL

Pulse Frequency

AFC56.Meters[x].Variables.LinearLiquid.Pulse_Frequency

REAL

Where x can assume values between 0 and 15.

The following illustration shows an example for Meter 1:

Important: The sample logic is configured considering the input variables with floating point format
(default from AFC Manager). However, if Scaled Integer or 4 to 20 mA formats are used, change
the meter variables format from floating point (REAL) to 32-bit long integer (DINT) in the logic.

The AFC56.Meters[0].Variables.BID is the function block ID for each meter. This

value is automatically calculated by the logic, so do not force any value to this

controller tag.

This manual is related to the following products: