Allen-Bradley 1756-L61 ControlLogix 5561 Programming Manual page 39

Logix5000 series
Hide thumbs Also See for 1756-L61 ControlLogix 5561:
Table of Contents

Advertisement

Organizing Tags
Chapter 2
Two-dimension array
EXAMPLE
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).
Subscript of
First
Dimension
In the Tags window, the elements are in the order depicted below.
Subscript of Second Dimension
0
1
2
0
1
1.5
2.5
2
8.0
3
4
5
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.
Rockwell Automation Publication 1756-PM004D-EN-P - September 2012
Description
3
4
5
1.25
1.25
1.25
Position of first hole from leading edge of book
5.5
3.5
3.5
Position of second hole from leading edge of book
9.75
7.5
5.5
Position of third hole from leading edge of book
9.75
7.5
Position of fourth hole from leading edge of book
9.75
Position of fifth hole from leading edge of book
This array contains a
two-dimensional grid of
elements,
six elements x six elements.
42367
37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents