For some EIEs, FMS and FMS Legacy mapping is hard coded within the device driver. For other EIEs, FMS and FMS Legacy mapping must be defined in special sections of a device template file. The sections are known as fmsMaps and gmrMaps. These sections associate device data with FMS and FMS Legacy items that depend on referenced data group elements, registers, or constants for information. The FMS and FMS Legacy data items in turn supply the associated FMS service with needed data.
This element is:
To learn about how this element relates to other elements in a CygNet device template file, see Template File Hierarchy.
See also EFM Data Items and EFM Data Groups.
Example
|
<fmsMaps> <alarmItems> <eFMS_ALARM_TYPE_DP deid="DP"> <when andOr="or"> <CalcMethF value="0"/> <CalcMethF value="1"/> </when> </eFMS_ALARM_TYPE_DP> <eFMS_ALARM_TYPE_SP deid="SP"/> </alarmItems> <batchItems> <eFMS_BATCH_IS_CLOSED value="1"/> <eFMS_BATCH_TYPE value="1"/> <eFMS_BATCH_ID deid="BatchId"/> <eFMS_BATCH_NUMBER deid="SeqNum"/> <eFMS_BATCH_PRODUCT_NUMBER deid="ProductNum"/> <eFMS_BATCH_PRODUCT_NAME deid="ProductId"/> <eFMS_BATCH_METER_FACTOR deid="AvgMFac"/> </batchItems> <configItems> <eFMS_CFG_METER_TYPE deid="RunType" mapVal="FmsMeterType"/> <eFMS_CFG_CONTRACT_HOUR deid="ContHr"/> <eFMS_CFG_CALC_METHOD_PRIMARY deid="M2530Raw mapVal="FmsMethodO"> <when andOr="or"> <RunType op="LE" value="1"/> </when> </eFMS_CFG_CALC_METHOD_PRIMARY> </configItems> <eventItems> <eFMS_DEVICE_EVENT_TYPE_DATE regNum="6076"/> <eFMS_DEVICE_EVENT_TYPE_TIME regNum="6077"/> </eventItems> <histItems> <eFMS_PV_DIFF_PRESSURE deid="DP"> <when andOr="and"> <RunType op="NE" value="2"/> <RunType op="NE" value="3"/> </when> </eFMS_PV_DIFF_PRESSURE> <eFMS_PV_LINE_PRESSURE deid="SP"/> </histItems> <productItems> <eFMS_LIQUID_PRODUCT_NAME deid="Name"/> <eFMS_LIQUID_PRODUCT_BASE_DENSITY_OVERRIDE deid="Density"/> <eFMS_LIQUID_PRODUCT_COMPRESSIBILITY_FACTOR deid="FFact"/> <eFMS_LIQUID_PRODUCT_BASE_TEMPERATURE deid="Temp"/> <eFMS_LIQUID_PRODUCT_MOLE_OR_MASS_PERCENT deid="Prop"/> <eFMS_LIQUID_PRODUCT_METER_FACTOR index="1" deid="MFact1"/> </productItems> <ticketItems> <eFMS_TICKET_DEVICE_TYPE value="eFMS_TICKET_DEVICE_TYPE_METER"/> <eFMS_TICKET_NAME deid="ProductId"/> <eFMS_TICKET_PRODUCT_INDEX deid="ProductNum"/> <eFMS_TICKET_METERED_METER_FACTOR deid="AvgMFac"/> <eFMS_TICKET_METERED_CPL_FACTOR deid="AvgCPL"/> <eFMS_TICKET_METERED_DENSITY deid="AvgDensity"/> </ticketItems> </fmsMaps> |
The following table lists and describes attributes generally applicable to this element. However, not all of the attributes listed here are applicable to all EIEs. Additionally, some attributes are required for use in every device template file of a certain EIE, but others may be used on a case-by-case or device-by-device basis, depending on your specific needs. All attributes in templates are case sensitive; but the case sensitivity of attribute values is based on context.
Note: Occasionally, device template files for different EIEs use attributes of the same name that do different things. Efforts are made in this document to highlight cases where an attribute by one name does different things in different EIEs.
| Attribute | Description |
|---|---|
| N/A | None apply at this time. |