Element scope definitions
These rules define the scope of
FactoryTalk Design Studio
elements.Controller application tags and parameters
Controller application tags and parameters are accessible to the entire controller application in which they are defined. They can be used by all routines defined within one controller application. In other words, the data in controller tags or parameters are available to every task, program, and routine within the controller application.
Controller application tags and parameters are not directly accessible to programs and
routines within
System Object
s. You must use parameter connections to pass
the tag or parameter values between them. Programs
Program defined in a controller application: tags and parameters are accessible exclusively by the routines within an individual program within the same controller application. This means that program tags and parameters can have the same name in more than one program, allowing programs to be copied and reused more easily.
Program defined in a
System Object
: tags and parameters are accessible by
the routines defined in the program. System Object
instances can access the
program tags and parameters to provide System Object
instance specific data
values. Routines
Routine defined in a controller application: tags/parameters are only accessible to the routine. The JSR instruction is used to pass data in and out of the routine parameters.
Routine defined in a
System Object
: tags/parameters are only accessible to
the routine. System Object
instances can access the routine tags/parameters
to provide System Object
instance specific data values. Provide Feedback