
Chapter 2 Organize tags
Example: Two-dimension array
A drill machine can drill one through five holes in a book. The machine requires a value for the position of each hole from the leading edge of the book. To organize
the values into configurations, use a two-dimension array. The first subscript indicates the hole that the value corresponds and the second subscript indicatates
how many holes are to be drilled one through five).
In the Tag Editor, the elements are in the order in the following graphic.
Item Description
The rightmost dimension increments to its maximum value then starts over.
When the rightmost dimension starts over, the dimension to the left increments by one.
This array contains a two-dimensional grid of elements, six elements by six elements.
36 Rockwell Automation Publication 1756-PM004E-EN-P - October 2014
Comentários a estes Manuais