|
<< Click to Display Table of Contents >>
Block Operations |
For a good performance on data communication, it is advisable to perform readings with the largest possible number of points in the same area. When these points are separated into individual Tags, then a single operation occurs for each Tag, while as a Block a single operation occurs for all Tags.
To do so, users must notice that the address indicated by the parameters is the initial address, and each Element corresponds to a single memory position that is multiple, according to a basic type relative to a reinterpreted type.
If the basic data type is Bit and it is configured to be displayed as a Bit, each Element represents a bit with their position incrementing 1 (one) by 1 (one). For example, for Y100 on a Block with 3 (three) Elements, the first Element is equal to Y100, the second Element is equal to Y101, and the third Element is equal to Y102.
However, if the basic data type is Bit and it is configured to be displayed as a Word, each Element represents 16 bits with their position incrementing 16 by 16. For example, for X0 on a Block with 3 (three) Elements, the first Element is equal to X0, the second Element is equal to X16, and the third Element is equal to X32.