User Manual
Chapter 6
Import and export Add-On Instructions
This chapter explains import and export of 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 are 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 select the
Include all referenced Add-On Instructions and User-Defined Types check
box during the export.
Add-On Instruction definition references can 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 can 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,
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. See
Export to separate files on
page 48.
You want to distribute an Add-On Instruction as one file Export to one file. See Export
to one file on page 49.
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.
Introduction
Create export files
Rockwell Automation Publication 1756-PM019E-EN-E - October 2014 47