Importing and exporting add-on instructions, Creating an export file, Chapter 4 – Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual
Page 91: Exporting to separate files, Importing and exporting, Add-on instructions

Chapter 4
Importing and Exporting Add-On Instructions
When you export an Add-On Instruction, the exported Add-On Instruction
includes all of its parameters, local tags, and routines. These will be imported with
the Add-On Instruction automatically.
Optionally, you can include any nested Add-On Instructions or User-Defined
Data Types that are referenced by the exported Add-On Instruction. Referenced
Add-On Instructions and data types are exported to the L5X file if you check
‘Include all referenced Add-On Instructions and User-Defined Types’ during the
export.
Add-On Instruction definition references may also be exported when a program,
routine, set of rungs, or User-Defined Data Type is exported.
Tip:
If an Add-On Instruction uses Message (MSG) instruction and InOut parameters of type MESSAGE, you may
wish to export a rung containing the Add-On Instruction to include the MESSAGE tags. This captures the
message configuration data, such as type and path.
In deciding how to manage your Add-On Instruction definitions in export files,
you need to consider your goals in storing the definitions.
If
Then
You want to store many Add-On Instructions that share a set of common
Add-On Instructions or User-Defined Data Types in a common location
Export to separate files as described on
You want to distribute an Add-On Instruction as one file
Export to a single file as described on page
You want to manage each Add-On Instruction as a standalone instruction
You want to preserve the instruction signature on your Add-On Instruction
Tip:
Add-On Instructions with instruction signatures are encrypted upon export to prevent modifications to the
export file.
Exporting to separate files
If you want to store many Add-On Instructions that share a set of common
Add-On Instructions or User-Defined Data Types in a common location, you
may want to export each Add-On Instruction and User-Defined Data Types to
separate files without including references.
Creating an export file
Rock well Automati on Publication 1756- PM010F-EN-P - Oct ober 2014
91