ProSoft Technology MVI56-AFC User Manual
Page 220
MVI56-AFC Sample Logic
MVI56-AFC ♦ ControlLogix Platform
User Manual
Liquid and Gas Flow Computer
Page 220 of 316
ProSoft Technology, Inc.
February 25, 2011
12.3 ControlLogix Sample Logic Details
This section shows how you can extract important information from the sample
logic without requiring you to know the details of how the sample logic actually
works. For most applications it will be enough to refer only to the controller tags
in order to perform the tasks.
12.3.1 Enable/Disable Status
Each meter run will only perform flow calculation while it is enabled. However,
you cannot change a meter type, product group or units while the meter is
enabled. In order to accomplish this, you have to disable the meter, change
meter type, product or units and then enable the meter again. The meters can be
enabled or disabled from logic or AFC Manager.
The logic constantly reads each meter enable/disable status from the MVI56-
AFC.
Refer to AFC56.EnableStatus data structure for each meter status. Each variable
should be interpreted as:
AFC56.EnableStatus.Meterx = 0 => Meter x is Disabled
AFC56.EnableStatus.Meterx = 1 => Meter x is Enabled
In the previous example, Meter 1 and Meter 2 are enabled. All other meters are
disabled.
12.3.2 Disable Meter
Each meter can be disabled through logic. Refer to the AFC56.DisableMeter data
structure. Toggle each AFC56.DisableMeter.Meterx controller tag in order to
command the meter to be enabled.