beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 221

background image

10Ć19

10.2.3

Example of a MultiĆArray Instruction

When switch_1 becomes true and remains true,

the parameters are latched and checked. On

subsequent scans, two elements of the array

variables batch_1 and batch_2 are added

together.
The totals are stored in the elements of the

array variable batch_total.
The variable switch2 is set true when all the

elements of batch_1 and batch_2 have been

operated on. The variable fail is set true if an

error occurs.