readBlocks and writeBlocks elements contain block elements that define the data required for a data group. readBlocks opens the read block(s) for a data group. writeBlocks opens the write block(s) for a data group.
This element is:
To learn about how this element relates to other elements in a CygNet device template file, see Template File Hierarchy.
Example
|
<BasicPoll niceName="Basic Poll Native Data Type"> <dgElements readOnly="true"> <ChkH2O desc="H2O Choke Position" regDef="1:0" type="r4"/> <ChkCO2 desc="CO2 Choke Position" regDef="1:1" type="r4"/> <FlowRate desc="Flow Rate" regDef="1:2" type="r4"/> <VlvCO2Cl desc="CO2 Valve Closed" regDef="2:0" type="ui1"/> <VlvCO2Op desc="CO2 Valve Open" regDef="2:1" type="ui2"/> <VlvH2OCl desc="H2O Valve Closed" regDef="2:2" type="ui2"/> <VlvH2OOp desc="H2O Valve Open" regDef="2:3" type="ui2"/> <VlvChkCl desc="Choke Closed" regDef="2:4" type="ui2"/> <VlvChkOp desc="Choke Open" regDef="2:5" type="ui2"/> </dgElements> <readBlocks> <block1 regNum="1156" regCnt="3"/> <block2 regNum="2064" regCnt="6"/> </readBlocks> </BasicPoll> |
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 |
|---|---|
|
regByteLen |
regByteLen specifies the length in bytes of each register returned from the device for the specified funcCode. This setting can change from section to section and from register to register in the device. Refer to field device documentation for these settings. Value:
|