Some of the benefits of using AOIs are:
- Reuse of coding to promote consistency between projects by reusing commonly used control algorithms.
- Maintenance troubleshooting friendly for technicians to understand by providing an easier to understand interface for complicated algorithms inside of an Add-On Instruction.
-Easily copy and paste between projects.
- Protect intellectual property when using proprietary code using source protection to prevent other programmers from visually viewing or changing your code.
- Track revisions and you can add an instruction signature preventing the instruction from being edited.
Once an AOI has been defined in a project, the instruction would behave similarly to the built-in instructions available in the Logix 5000 application. They will appear on the instruction toolbar for easy access.
Let’s begin to create a simple AOI that will convert Celsius to Fahrenheit and Kelvin temperature.
We will use all of the steps required in developing an AOI.
- The equation to convert Celsius to Fahrenheit is: (°C * 1.8) + 32
- The Equation to convert Celsius to Kelvin is: °C + 273.15
- The Eq...
1. Select “Create - New Project”.
2. Select “Studio 5000 Logix Emulate Controller” for the controller type. Call the program Name: “RealParsAOI”.
3. We use the “Studio 5000 Logix Emulate” software, a virtual PLC running on the PC, to download and run and test our AOI program. AOI development is...
We will create the “Input-Output” parameter tags.
- Let’s define an input tag as “Celsius”. Celsius will be configured as a REAL data type and as a Float style tag. The default value will be 0. The Required and Visibility column checkboxes will be checked because the tags are requiring an argume...