beautypg.com

Repeat loop – Rockwell Automation GMLC Reference Manual User Manual

Page 365

background image

Publication GMLC-5.2 - November 1999

328

I/O and Event Blocks

Checking for Any Fault on a Specific Axis

When you select Any Fault Specific Axis, program flow branches to the
top (true) node if any of the faults shown in the previous table are active
on the selected axis.

Checking for Specific Faults on an Axis

When you select Specific Fault, program flow branches to the top (true)
node only if the fault, selected from the Fault drop-down menu, is active
on the selected axis.

Checking for an AxisLink General fault

When you select AxisLink General Fault, program flow branches to the
top (true) node if an AxisLink general fault has occurred.

Repeat Loop

The Repeat Loop block repeats the sequence of blocks looping from its
bottom output node to its input node the specified number of times. After
executing this sequence of blocks the specified number of times, program
flow branches to the output node at the top of the block.

The Repeat Loop block resides on the Main Palette.

Up to 1 billion (1,000,000,000) repeats may be specified.

The example diagram below homes an axis and then moves it repeatedly
by an incremental distance a specified number of times.