Programming Add-On (AOI) Sequence's

Add On Instructions (AOIs) refers to modules of code which are used repeatedly within a PLC. These can also be known as Function Blocks within some PLCs. An example of when a AOI may be used could be when programming a series of conveyors which are designed to run automatically. The programming for each physical section will be similar (like motor ramping, run-out timers etc) however the inputs and outputs will be different.

A programmer can use a AOI to save time writing specific code for each physical section of conveyor and program a module which can be deployed to multiple sections. This then standardises the functionality across all sections as well as making it easier to manage programming changes. Ideally, each AOI should be programmed in the same way as describe before using sequence programming. However, in some circumstances given the type of function (like indicator stack module) this will not be required.

Mode Selection Module

The following Add On Instruction (function block) is for converting and Manual / Auto sustained switched Inputs into a working index.


The mode layout for this block is as follows:

(0) Default – No mode selected.

(1) Manual Mode

(2) Auto Mode

image

==== MODE SELECTION MODULE ====

SECTION DESCRIPTION: The following mode is for converting a mode selection switch into working mode index value.

Script to be added...

image

Indicator Stack Translation Module

This Add On Instruction (function block) is for converting a Sequencing Index value into light stack outputs.


RED INDICATOR – System is Stopped and or has detected an Emergency Stop.

AMBER INDICATOR – System has stopped and requires operator intervention (for example refilling / restocking equipment consumables)

GREEN INDICATOR – System is running. Flashing denotes a change in state (Warm-up / Warm-down)

BLUE INDICATOR – System is in Standby and ready for use.

image

==== INDICATOR STACK TRANSLATION MODULE ====

SECTION DESCRIPTION: The following mode is for converting a Sequence Indexer into outputs which are linked to an Indicator Stack.

Script to be added...

RUNG DESCRIPTION: Red Indicator Flashing Programming

image

RUNG DESCRIPTION: Amber Indicator Flashing Programming

image

RUNG
DESCRIPTION
: Blue
Indicator Flashing Programming

image

RUNG DESCRIPTION: Green Indicator Flashing Programming

image

RUNG DESCRIPTION: Green Indicator Solid Programming

image

Indicator Push Button Translation Module

The following Add On Instruction (function block) is for linking a Sequence Index variable with the indicators on a Start / Stop / Reset button set.

START BUTTON – ...

STOP BUTTON – …

RESET BUTTON – …

image

==== INDICATOR BUTTON TRANSLATION MODULE ====

SECTION DESCRIPTION: The following mode is for converting a Sequence Indexer into outputs which are linked to Start / Stop / Reset Button Set

Script to be added...

RUNG DESCRIPTION: Start Indicator Flashing Programming

image

RUNG DESCRIPTION: Start Indicator Solid Programming

image

RUNG DESCRIPTION: Stop Indicator Flashing Programming

image

RUNG DESCRIPTION: Stop Indicator Solid Programming

image

RUNG
DESCRIPTION
: Reset
Indicator Flashing Programming

image

RUNG DESCRIPTION: Reset Indicator Solid Programming

image