Introduction, Export considerations, Import considerations – Rockwell Automation 20D-DL2-CKS1 Import/Export Project Components User Manual

Page 45: Chapter 5, Additional considerations for, User-defined types, Additional considerations for user-defined types

Advertising
background image

Chapter 5

Additional considerations for user-defined types

This chapter explains import and export of user-defined data types and user-

defined string types.

A user-defined type or user-defined string type can be exported to an .l5x file.

The export file may also include any Add-On Instructions, user-defined data

types, and user-defined string types referenced by the exported user-defined type.

The definitions for the referenced Add-On Instructions and data types are
exported to the .l5x file if they exist in the project and if Include all referenced

Add-On Instructions and User-Defined Types is selected during export.

You can also export User-Defined data type references when a program, routine,

set of rungs, or Add-On Instruction is exported.

When importing a user-defined type, you configure how the referenced

components are imported during import configuration. By default, referenced

components that collide with project components are not imported.

User-defined types cannot overwrite Add-On Instructions. User-defined types

and Add-On Instructions must have unique names.

The following are considerations when importing a user-defined type.

Topic

Consideration

Tag data

Imported tags that reference a user-defined data type in the import file may be affected
if the user-defined data type is not imported. In this case, the imported data of the tag
may be converted if the existing data structure is different, and tag data may be lost.
If an existing User-Defined data type is overwritten, project tag data may be converted if
the data structure is different and tag data may be lost.

Data type modification while
online

A User-Defined data type that is referenced in the project may not be overwritten. If the
existing User-Defined data type is not referenced, it may be overwritten while online.

Final Name change

If the Final Name of a user-defined type reference is modified during import
configuration, all logic, tags, Add-On Instructions, and other user-defined types in the
import that reference the user-defined type are updated to reference the new name. The
edit date of any Add-On Instructions that references the user-defined type is updated.

For considerations for referenced Add-On Instructions that may be imported

with the user-defined type see

Import and export Add-On Instructions on page 47

and

Import and export Add-On Instructions on page 47

.

Introduction

Export considerations

Import considerations

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

45

Advertising