EasyManuals Logo

Allen-Bradley Logix5000 Programming Manual

Allen-Bradley Logix5000
92 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
Page #36 background imageLoading...
Page #36 background image
36 Publication 1756-PM004C-EN-P - October 2009
Chapter 2 Organize Tags
EXAMPLE
Two-dimension array
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.
Subscript of Second Dimension Description
012345
Subscript
of First
Dimension
0
1 1.5 2.5 1.25 1.25 1.25 Position of first hole from leading edge of book
2 8.0 5.5 3.5 3.5 Position of second hole from leading edge of book
3 9.75 7.5 5.5 Position of third hole from leading edge of book
4 9.75 7.5 Position of fourth hole from leading edge of book
5 9.75 Position of fifth hole from leading edge of book
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

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals