Rockwell Automation 20D-DL2-CKS1 Import/Export Project Components User Manual

Page 40

Advertising
background image

Chapter 2 Additional considerations for rungs

Topic

Consideration

Tag scope

When you export rungs from a program or equipment phase and import them into an Add-
On Instruction routine, any referenced controller-scoped or program-scoped tags are
converted on import. The tag is converted to a local tag unless local scoped is not allowed
(for example, a Motion Group tag cannot be a local tag), in which case the tag is converted
to an InOut parameter.
When you export rungs from an Add-On Instruction routine and import them into a routine
in a program or equipment phase, the referenced parameters and local tags are converted
on import. The parameter or local tag are converted to a program-scoped or phase-scoped
tag unless it is not allowed (for example, a Motion Group tag cannot be a program-scoped
tag), in which case it is converted to a controller-scoped tag.

For considerations for referenced user-defined types, Add-On Instructions, and

tags that may be imported with the rungs, see:

Additional considerations for user-defined types on page 47
Chapter 6, Import and export Add-On Instructions on page 49
Additional considerations for tags on page 59

40

Rockwell Automation Publication 1756-PM019E-EN-E - October 2014

Advertising