Devices > Remote Devices > Device Template Files > Elements and Attributes > readBlocks, writeBlocks

readBlocks, writeBlocks

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

Attributes

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:
  • Must be a positive whole number.
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.