Superblock Reading (Grouping) |
Top Previous Next |
Starting with version 2.01, this Driver supports a Superblock Reading feature. This feature is supported by E3 and Elipse Power, and it can be enabled via Driver's EnableReadGrouping property in Organizer. When this property is configured in True, users do not need to worry about block resizing. With this feature, it is possible (and usually recommended) to create applications with only simple Tags (PLC Tags in Elipse SCADA) without performance issues, because group optimization on readings is automatically performed during communication. The next figure displays the configuration of the EnableReadGrouping property in E3 or Elipse Power. ![]() EnableReadGrouping property Elipse SCADA does not support Superblocks. The behavior when reading Tags in Elipse SCADA is identical to E3 and Elipse Power when the EnableReadGrouping property is configured as False. In both cases, this Driver relies on Automatic Block Partition, and it can divide blocks with sizes larger than protocol limits into smaller blocks during communication. In these cases, users must consider that grouping when defining application Tags, as seen later on this topic.
Identifying Devices that do not Support Automatic Grouping (Superblocks)Superblock algorithm considers all limits and addressing spaces defined by standard Modbus protocol. For devices that implement Modbus protocol with small variations, some additional advanced configurations may be necessary to use this Superblock feature, if its usage appears viable. In these cases, it is necessary to disable automatic grouping (the EnableReadGrouping property configured as False), and then perform a manual grouping. The following conditions may prevent using Superblocks, or may require additional advanced configurations: ·Devices that define maximum limits for block sizes lower than protocol's standard limit (a limit of 253 bytes for PDU). Solution: Configure the Customize Max. PDU Size option, on Modbus tab
·Devices with discontinuities (undefined address intervals inserted between valid intervals) on the register map. Solution: Once it is impossible to inform to the Superblock algorithm which intervals cannot be inserted in blocks, usually it is not possible to use Superblocks. Disable Superblocks (the EnableReadGrouping property configured as False) and manually group all Tags ·Devices that do not support block readings. Solution: Disable Superblocks (the EnableReadGrouping property configured as False) and define simple Tags ·Devices that only allow defining blocks in pre-determined addresses and with fixed sizes. Solution: Disable Superblocks (the EnableReadGrouping property configured as False) and define simple Tags (PLC Tags in Elipse SCADA) or Blocks according to device's specification
Manual GroupingUsually, the larger the grouping of variables in blocks, the less reading requests are needed to complete a scan cycle of application Tags, thus increasing Tag's update speed. For this reason, if it is not possible use automatic grouping (Superblocks), it is preferable to create Block Tags containing as many variables as possible, instead of creating simple Tags (PLC Tags in Elipse SCADA). Notice that, due to Automatic Block Partition feature, there is no need to prevent exceeding protocol's maximum limits, as long as a device supports protocol's default maximum limits. If this device does not support these limits, but defines fixed limits, valid for all supported Modbus functions, users must configure the Customize Max. PDU Size option, on Modbus tab. If a device supports different limits for each supported function, automatic partitioning can be also unfeasible. In these cases, an application developer must also consider device's limits, and define blocks respecting these limits. For a manual grouping, using User-Defined Types can increase possibilities of grouping, by allowing to gather on a single Block Tag variables from the same addressing space, that is, a single Modbus function, but with different data types (the defined structure may have elements with different data types). For more tips, please check topic Optimization Tips. The article KB-23112 in Elipse Knowledgebase presents a summary of questions related to Tag grouping and block resizing in Modbus Driver, discussed here and on other topics. |