Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming Bedienungsanleitung Seite 26

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 86
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 25
Chapter 2 Organize tags
Routines cannot access data that is at the local scope (local tag) of
another program.
You can reuse the tag name of a local tag in multiple programs.
For example, both Program_A and Program_B can have a local tag
named Tag_4.
You can also use program parameters to share data between programs as
an alternative to controller-scope tags. See Program parameter scope
on
page 27.
Avoid using the same name for both a controller tag and a local tag. Within a
program, you cannot reference a controller tag if a local tag of the same name exists
for that program.
Certain tags must be controller scope (controller tags).
If you want to use the tag Then assign this scope
In more than one program in the project Controller scope (controller tags)
In a Message (MSG) instruction
To produce or consume data
In any of the seven AXIS data types
To communicate with a PanelView terminal
None of the above Program scope (local tags)
26 Rockwell Automation Publication 1756-PM004E-EN-P - October 2014
Seitenansicht 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 85 86

Kommentare zu diesen Handbüchern

Keine Kommentare