
To create a New AOI, right click on the “Add-On Instructions” Folder in the Controller Organizer and select “New Add-On Instruction”. However, if planned accordingly, this isn’t a problem, but rather a deterrent for anyone to modify your code on a live PLC. This is one of the major drawbacks of AOIs. However, you do need to work in an Offline program in order to create or modify them. Getting started with AOIs is fairly straightforward. Building an Add-On Instruction in RSLogix / Studio 5000 As you gain experience as a PLC programmer, you’ll recognize cases which could benefit from an AOI and others which won’t. The biggest mistake I see programmers make is converting all their code into an AOI, nesting multiple AOIs and utilizing AOIs for basic logic.

The goal of the AOI here would be to simplify your code into fewer rungs and to make it easier to program.

An Add-On Instruction or AOI is basically a function which is defined by the programmer and works in the same manner as the one provided by Rockwell.īuilding AOIs is not complicated but does require a good understanding of PLC programming. They give a programmer the ability to define custom instructions in order to maximize code reusability and simplify development. Add-On Instructions play a critical role in PLC programming.
