Including an Add-On Instruction in a Routine

Follow this procedure when you want to use an Add-On Instruction in one of your routines.

1. Open the Add-On Instruction folder in the Controller Organizer and view the listed instructions.

If the instruction you want to use is not listed, you need to do one of the following:

· Create the instruction in your project.
· Copy and paste an instruction into your project.
· Get the file for an exported instruction definition and then import the instruction into your current project.

2. Open the routine that will use the instruction.
3. Click the Add-On tab on the instruction toolbar.
4. Click the desired Add-On Instruction, for example Simulation, and drag the instruction from the toolbar into the routine.


5. Define arguments for each Parameter on the instruction call.

The instruction appears as follows in each of the languages.

Ladder Diagram


Parameter WithDescription
Single question markThis is a required InOut parameter. Enter a tag.
Single and double question marksThis is a required Input or Output parameter. Enter a tag.
Double question marksThis is not a required parameter. You can either: · Leave as is and use the default value. · Enter a different value if it is an Input parameter.

Function Block Diagram


ItemDescription
Nub on the end of pinThis is a required Input or Output parameter. You must wire the pin to an IREF, OREF, connector, or another block to verify.
Single question markThis is a required InOut parameter. Enter a tag.
No nub on the end of pinThis is not a required parameter. You can either: · Leave as is and use the default value. · Enter a different value if it’s an Input parameter.

Structured Text


The instruction expects arguments for required parameters as listed in the instruction tooltip.


0 comments :