ProSoft Technology PTQ-AFC User Manual
Page 191
![background image](https://www.manualsdir.com/files/866175/content/doc191.png)
PTQ-AFC ♦ Modicon Quantum Platform
Backplane Communication
Liquid and Gas Flow Computer for Hydrocarbon Products
User Manual
ProSoft Technology, Inc.
Page 191 of 259
June 23, 2011
Templates
The following templates are available to help get the Concept project started.
These templates use the data types and variables defined in the previous
sections.
Templates
Description
CLOCK.RDF
Sets/Reads the PTQ-AFC wallclock
ENMTRS.RDF
Enable/Disable meters
GATEWAY.RDF
Modbus Gateway
M1ARCHDG.RDF
Meter 1 Archive for Differential/Gas application
MASTER.RDF
Modbus Master
MDIFFLIQ.RDF
Meter Process (Differential/Liquid)
MDIFGAS.RDF
Meter Process (Differential/Gas)
MLINGAS.RDF
Meter Process (Linear/Gas)
MLINLIQ.RDF
Meter Process (Linear/Liquid)
MOLARx.RDF
Molar Analysis (1=meters 1 and 2, and so on)
MSIGNALS.RDF
Meter Signals
PASSTHRU.RDF
Modbus Pass-thru
The following is an example for the template that displays the process variables
and calculation results for differential meter with gas product:
Sample Program
You may refer to the sample structured text program WALLCLOCK.ST to update
the module’s wallclock after powerup. After power up the module will not perform
time-of-day scheduled operations until it receives a valid wallclock value (date
and time) from the Quantum processor. During this, the module will set the
following register from the Supervisory Input block to 1 until it receives the
walllclock from the Quantum:
Offset
Description
Type
26
Power up
Status