Importing an add-on instruction, Import considerations – Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual
Page 94

Chapter 4
Importing and Exporting Add-On Instructions
3. In the File name box, type a name for the file.
4. Select the Include referenced Add-On Instructions and User-Defined
Types check box.
5. Click Export.
This exports the selected Add-On Instruction and all the referenced instructions
into the same export file. This file can be used to distribute an Add-On
Instruction. When the exported Add-On Instruction is imported into the project,
the referenced instructions are imported as well in one step.
You can import an Add-On Instruction that was exported from another Logix
Designer project. When importing an Add-On Instruction, the parameters, local
tags, and routines are imported as part of the Add-On Instruction. Once the
project has the Add-On Instruction, you can use it in your programs.
Import considerations
Editing an L5K or L5X File
The EditedDate attribute of an Add-On Instruction must be updated if the Add-On Instruction is modified
by editing an L5K or L5X file. If Logix Designer application detects edits to the Add-On Instruction, but the
’Edited Date’ attribute is the same, the Add-On Instruction will not be imported.
When importing Add-On Instructions directly or as references, consider these
guidelines
Topic
Consideration
Tag Data
Imported tags that reference an Add-On Instruction in the import file may be affected if the Add-On Instruction is not
imported as well. In this case, the imported tag’s data may be converted if the existing Add-On Instruction’s data
structure is different and tag data may be lost.
If an existing Add-On Instruction is overwritten, project tag data may be converted if the Add-On Instruction’s data
structure is different and tag data may be lost.
See
for more information.
Logic
Imported logic that references the Add-On Instruction in the import file may be affected if the Add-On Instruction is not
imported. If an existing Add-On Instruction is used for the imported logic reference and the parameter list of the Add-On
Instruction in the project is different, the project may not verify or it may verify but not work as expected.
If an existing Add-On Instruction is overwritten, logic in the project that references the Add-On Instruction may be
affected. The project may not verify or may verify but not work as expected.
See
for more information.
Add-On Instructions While Online
An Add-On Instruction cannot be overwritten during import while online with the controller, though a new Add-On
Instruction may be created while online.
Final Name Change
If the Final Name of an Add-On Instruction is modified during import configuration, the edit date of the imported Add-On
Instruction will be updated. In addition, all logic, tags, User-Defined Data Types, and other Add-On Instructions in the
import file that reference the Add-On Instruction will be updated to reference the new name. As a result, the edit date of
any Add-On Instruction that references the Add-On Instruction will be updated.
Add-On Instructions that have been sealed with an instruction signature cannot be renamed during import.
Importing an Add-On
Instruction
94
Rockwell Automation Publication 1756-PM010F-EN-P - October 2014