ProSoft Technology MVI56-AFC User Manual
Page 231
MVI56-AFC ♦ ControlLogix Platform
MVI56-AFC Sample Logic
Liquid and Gas Flow Computer
User Manual
ProSoft Technology, Inc.
Page 231 of 316
February 25, 2011
Write Hourly/Daily Archive
The sample ladder logic shows how to create hourly or daily archive. It is very
important to notice that the sample ladder automatically creates both archives,
depending on the configured End-of-day minute and End-of-hour minute
parameters entered in the AFC Manager. Most users will not need to generate
the archives from ladder logic.
In order to create archives from ladder logic, refer to the following data tags:
Command
Use this Controller Tag
Description
Enable
AFC56. MeterSignals.Enable
This value should be set as 1 in order to
enable the command. If this value is 0 the
module will ignore the commands from
the ladder
Select Meter
AFC56. MeterSignals.Meter
Select the meter number (1 to 16) for the
archive command
Write Daily
Archive
AFC56. MeterSignals.Signals.
Wr_Daily_Archive
If this bit is set to 1 the module will
generate a daily archive
Write Hourly
Archive
AFC56. MeterSignals.Signals.
Wr_Hrly_Archive
If this bit is set to 1 the module will
generate an hourly archive
12.3.9 Molar Analysis (For Gas Product Only)
If the application uses a chromatograph device to send the molar concentrations
to the module, the sample ladder may dynamically supply all molar
concentrations to the MVI56-AFC.
Initially, you should select (check) the "Selected" check boxes for all elements
using the AFC Manager (clicking on the Components button (version 2.05.000 or
later) or Analysis button (version 2.04.000 or older) at the Meter Configuration
window).
In order to write the molar concentration values from the ladder logic, you should
set the AFC56.Meters[x].Analysis.Enable bit to 1. Also select the stream to be
updated through AFC56.Meters[x].Analysis.Stream controller tag (select 0 for the
current active stream).
If you select other stream than the one selected, the new molar analysis will only
be visible through AFC Manager once that stream is later selected as the new
active one.
After that, any molar concentration configuration performed through AFC
Manager will be overwritten by the ladder logic.