Rockwell Automation AutoMax Enhanced Ladder Editor User Manual
Page 82

EĆ2
БББББББББ
Б
БББББББ
Б
БББББББББ
If a parallel branch
contains:
ББББББББББББ
Б
ББББББББББ
Б
ББББББББББББ
The instructions are executed as follows:
БББББББББ
Б
БББББББ
Б
Б
БББББББ
Б
БББББББББ
relay input instructions
using simple variables
The logic is executed starting at the last parallel
branch and going up the branches until a true
row is encountered. Once a true row is
encountered, any branches remaining above
the true branch will not be executed.
БББББББББ
Б
БББББББ
Б
Б
БББББББ
Б
БББББББББ
relay input instructions,
bitĆindexed integer or
double integer variables, or
elementĆindexed array
variables
All parallel branches are executed, starting with
the last branch and working up the parallel
branches.
Branching technique #2:
Connecting a logical sequence of instructions composed of inputs and an
output in parallel to a rung
How the branches are executed:
Parallel branches made up of a sequence of instructions composed of inputs
and an output are executed as follows:
D Each branch is fully executed before the main rung
D Multiple parallel branches are executed from the bottom up
Branching technique #3:
Connecting one or more coils parallel to a rung
How the branches are executed:
Parallel branches comprised of coils are executed as follows:
D Logic preceding the branched coil is executed, followed by the branched
coils. The bottom coil of the branch is executed first and the top coil of the
branch is executed last.
D Once the branched coils have been executed, the remaining logic of the
main rung is executed.
Programming Techniques
The relay output instructions (coils) and the outputs of block instructions are set
when the instruction is executed. Therefore, if a variable is used as an input and
as an output within the same program, you can use a more recent value for the
input if the output instruction is executed first. For example, the variable motor_1