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 #35 background imageLoading...
Page #35 background image
Publication 1756-PM004C-EN-P - October 2009 35
Organize Tags Chapter 2
The following example compares a structure to an array.
This is a tag that uses the Timer structure (data type).
Tag Name Data Type
Timer_1
TIMER
Timer_1.PRE
DINT
Timer_1.ACC
DINT
Timer_1.EN
BOOL
Timer_1.TT
BOOL
Timer_1.DN
BOOL
+
+
This is a tag that uses an array of the Timer data type.
Tag Name Data Type
Timers
TIMER[3]
Timer[0]
TIMER
Timer[1]
TIMER
Timer[2]
TIMER
+
+
+
EXAMPLE
Single-dimension array
In this example, a single timer instruction times the duration of several steps. Each step requires a
different preset value. Because all the values are the same data type (DINTs) an array is used.
42367
To expand an array and
display its elements, click
the + sign.
To collapse an array and
hide its elements, click
the sign.
This array contains six
elements of the DINT
data type.
Six DINTs
Elements of
Timer_Presets

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