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

Page 58

Advertising
background image

Chapter 7 Additional considerations for tags

Topic

Consideration

Tag data

Imported tags that reference an Add-On Instruction or user-defined data type in the import
file may be affected if the Add-On Instruction or user-defined data type is not imported as
well. In this case, the imported data for the tag may be converted if the existing data
structure is different and tag data may be lost.
If an existing Add-On Instruction or user-defined data type is overwritten, project tag data
may be converted if the data structure is different and tag data may be lost.
If the data is not convertible, it is overwritten with the default values for the type. When
array dimensions are changed, existing array members retain their values and descriptions

and new members have the default values and description (usually 0 and no description).

Consumed tags

Consumed tags cannot be imported from an .l5x file. They are converted to base tags and a
warning appears in the Errors/Results Pane during initial parsing of the .l5x file.

Tag values while online

When importing into a controller while online, if existing tags are being overwritten by
imported tags, the tag values are not written to the controller. Tag values are written only to
the offline project. The tag values in the controller maintain their current values but other
tag attributes are written to the controller.
Values for tags that are created during import are written to the controller. However,
existing tag values are never overwritten in the online controller.

You can prevent tag values from being overwritten in the offline project by selecting
Preserve existing tag values in offline project on the Import Configuration dialog

box.

Tag values while offline

You can prevent tag values from being overwritten in the offline project by selecting
Preserve existing tag values in offline project on the Import Configuration dialog

box.

Tag attributes while online Tag attributes (for example, External Access, Constant, and Style) are written to the online

project and the offline project.
If existing tags are overwritten with new attributes that are incompatible with existing user
logic, the import is not allowed.

Tag scope

An import tag maintains the scope of the tag as it was when exported if the tag initially

collides with another scoped tag in the project. In that case, an attention (red) flag appears
on the tag indicating the scope collision. However, If you change the Final Name of a tag so
that it subsequently collides with a tag of another scope in the project, the imported tag is
changed to the scope of the existing tag.
You can resolve the attention flag that appears on initial collision due to a scope issue by
changing the Final Name to avoid the collision with that tag or, if the import component is
routine or rungs, you can change the scope of the import tag by right-clicking on the tag row
and selecting Toggle Tag Scope.

58

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

Advertising