Add-On Instructions

Use Add-On Instructions to create instructions for sets of commonly used logic, provide a common interface to this logic, and provide documentation for the instruction. Add-On Instructions include commonly used functions or device control.
Use an vAdd-On Instruction across multiple projects. Define the instructions, use instructions provided by another user, or copy instructions from another project. Once defined in a project, Add-On Instructions behave like built-in instructions in
FactoryTalk Design Studio
.
Add-On Instructions are not a high-level hierarchical design tool. Use programs with routines to contain code for the area or unit levels of your application.
Add-On Instructions can contain a maximum of 2 megabytes of data.
Add-On Instructions allow you to:
Reuse Code
  • Use Add-On Instructions to promote consistency between projects by reusing commonly used control algorithms.
  • Place the code for an algorithm to be used multiple times in a project or across multiple projects in an Add-On Instruction to make the code modular and easier to reuse.
Provide an understandable interface
  • Place complicated algorithms inside an Add-On Instruction, and then provide an interface that is easier to understand by making only essential parameters visible or required.
  • Reduce documentation development time by automatically generating instruction help.
Export and import an Add-On Instruction
  • Export an Add-On Instruction to an .L5X file to import the file into another project.
  • Copy and paste instructions within a project and between projects.
Simplify maintenance
Simplify code maintenance by viewing tag values relative to a specific instance of an Add-On Instruction.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.