Anda di halaman 1dari 2


Rockwell Software RSLogix 5000 Add-On Instructions (AOI) allow you to create custom instructions that augment the robust set of built-in capabilities already provided by the Logix Control Platform. Providing a basis for object-oriented programming methodology, the code is encapsulated into pre-validated modules for easy reuse. You can then create standardized libraries that can both reduce project development time and provide consistency to reduce equipment startup and training expense. Increased Time Savings Encapsulate your most commonly used logic as a set of reusable instructions to save time. Increased Consistency Reuse your instructions to promote consistency and lessen errors. Improved Troubleshooting Simplify troubleshooting with context views that help you visualize the logic for a specific instance of use. Improved Protection Limit access to the instructions to stop unwanted changes with view only or no access status. Reduced development time Automatically generated on-line help reduces documentation development time.



RSLogix 5000 Version 16 introduces the concept of reusable code objects called Add-On Instructions (AOI). Add-On Instructions allow you to encapsulate your most commonly used logic as sets of reusable instructions, similar to the built-in instructions currently in the Logix Control Platform. By reusing sets of commonly used instructions throughout your projects, youll save time and increase consistency since commonly-used algorithms work identically regardless of who is implementing the project. Add-On Instructions may be created using the standard Ladder, Function Block Diagram, and Structured Text editors available in RSLogix 5000, Version 16 and later. Once created, they may then be used in any of the RSLogix 5000 editing languages without additional effort.

Each Add-On Instruction can be individually exported and imported to move between projects or to be distributed to other users. Once imported into a project, an Add-On Instruction can be used anywhere in the project. When you apply a parameter change, RSLogix 5000 will automatically supply a warning dialog and listing of instruction locations allowing you to check to ensure that the new updates will execute correctly at each location. Changes to the instruction code will automatically be reflected throughout the project and a change history will indicate who originally created the instruction and who made the last change. Online troubleshooting of your Add-On Instructions is simplified by the provision of data context views so you can visualize the logic for a specific instance of use. This makes run-time monitoring and debugging much easier. In addition, users of your instructions can also get the help they need for successful implementation by using the automatically generated instruction help. Add-On Instructions also offer source protection. You can limit a user of your instruction to read only access or allow no access to the internal logic and local parameters used by the instruction. This stops unwanted changes to your instruction and protects your intellectual property. If an Add-On Instruction is protected, the contents will be encoded if you do not have the password key on your computer. The ability to create and use Add-On Instructions is available with the RSLogix 5000 Version 16 release. No additional software or license is required to take advantage of this powerful new feature.


1. Define the instruction name and pick a programming language

2. Define the input and output parameters and local variables

3. Create logic for your new instruction

4. Use the new instruction in any of the RSLogix 5000 programming languages

Publication 9324-PP004A-EN-P November 2006

Copyright 2006 Rockwell Automation, Inc. All Rights Reserved. Printed in USA.