Undefined references – Rockwell Automation 20D-DL2-CKS1 Import/Export Project Components User Manual
Page 32
Chapter 1 Import and export logic components
During import configuration, connect each:
• Reference tag in the import routine to a program or controller-scoped tag in
the project.
• Reference routine in the import routine to a routine in the project.
• User-defined data type defining a reference tag in the import routine to a
user-defined data type in the project.
• Add-On Instruction in the import routine to an Add-On Instruction in the
project.
These tags, user-defined data types, and Add-On Instructions might exist in the
project, or they can be created when you import the routine.
• Tag_A is set to Create, so the imported logic referencing Tag_A references
the newly created Tag_A in the project.
Tag_B has its Final Name changed to Tag_D and is set to Use Existing, so it is
not created, and imported logic referencing Tag_B instead references existing
Tag_D.
• Routine_A has its Final Name changed to Routine_B, so imported JSRs to
Routine_A uses the existing Routine_B.
• AOI_1 is set to Overwrite an existing Add-On Instruction called AOI_1,
so not only do imported logic and tags use AOI_1, but also any existing
references to AOI_1 in the project now uses the new definition of AOI_1
from the imported routine.
• UDT_1 is set to Overwrite an existing user-defined data type called
UDT_2, so imported logic and tags use UDT_2 and the existing UDT_2 is
overwritten (except for the name) with the definition from UDT_1. Logic
and tags from the project now use the new definition of UDT_2.
Undefined references
In the Logix Designer editor, it is possible to create logic that references tag, user-
defined data type, or Add-On Instruction components that do not yet exist. These
are considered undefined references. If you export that logic, there is no
component definition to export for that undefined reference. On import, these
tags, user-defined data types, or Add-On Instructions appear with an Operation
of Undefined during Import Configuration unless the component exists in the
project (in which case the Operation is Use Existing). Similarly, when logic
references any type of component other than a tag, user-defined data type, user-
defined string type, or Add-On Instruction (for example, a routine that is
referenced by a JSR instruction), the definition for these referenced components
32
Rockwell Automation Publication 1756-PM019E-EN-E - October 2014