EasyManua.ls Logo

Allen-Bradley 1756-L61 ControlLogix 5561 - Creating a User-defined Data Type

Allen-Bradley 1756-L61 ControlLogix 5561
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1756-PM004D-EN-P - September 2012 37
Organizing Tags Chapter 2
EXAMPLE
Two-dimension array
ATTENTION: A drill machine can drill one…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, a two-dimension array is used. The first subscript indicates the
hole that the value corresponds and the second subscript indications how many holes will be drilled (one…five).
In the Tags window, the elements are in the order depicted below.
42367
The rightmost dimension increments to its
maximum value then starts over.
This array contains a
two-dimensional grid of
elements,
six elements x six elements.
When the rightmost dimension starts over, the
dimension to the left increments by one.

Table of Contents

Related product manuals