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 #29 background imageLoading...
Page #29 background image
Publication 1756-PM004C-EN-P - October 2009 29
Organize Tags Chapter 2
Scope
When you create a tag, you define it as either a controller tag (global data) or a
program tag for a specific program (local data).
A Logix5000 controller lets you divide your application into multiple
programs, each with its own data. There is no need to manage conflicting tag
names between programs. This makes it easier to reuse both code and tag
names in multiple programs.
Controller tags
(Global data)
Task
Program
Project
Other routines
Main routine
I/O data
Program tags
(Local data)
System-shared data
Controller tags (Global data)
Program_A
Other routines
Main routine
Tag_4
Tag_5
Program tags
(Local data)
Tag_1
Tag_2
Program_B
Other routines
Main routine
Tag_4
Tag_5
Program tags
(Local data)
Data at the program scope is isolated from other programs.
Routines cannot access data that is at the program scope of another program.
You can reuse the tag name of a program-scoped tag in multiple programs.
For example, both Program_A and Program_B can have a program tag named Tag_4.
Data
All programs have access to
data that is at the controller
scope.

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