beautypg.com

On axis – Rockwell Automation GMLC Reference Manual User Manual

Page 337

background image

Publication GMLC-5.2 - November 1999

300

I/O and Event Blocks

Turbo controllers).

The Axis selected, above (e.g., for AXIS1 on a 1394L controller,
only the Registration, Encoder Loss, and Marker State selections
apply).

On Axis

Use the On Axis block to execute the following commands:

Wait for Axis pauses program flow until the status of a selected axis
or interpolator is true.

If Axis monitors the status of a selected axis or interpolator. Program
flow branches to the top (true) node if the selected axis or interpolator
status matches the actual status, and to the bottom (false) node if the
selected status does not match the actual status.

The On Axis block resides in the Main Palette.

Wait for Axis and Multitasking

If more than one task is executing (multitasking), the Wait for Axis
command halts the task containing this block, while the other tasks
continue to execute. In this way, including this block in one task does not
interrupt the execution of any other task, or hang the task dispatcher.

If Axis and Multitasking

If more than one task is executing (multitasking), you can use the If Axis
command in one task to evaluate the status of an axis or interpolator
whose motion was initiated by another task, even if Wait for Completion
is selected in the block that initiated the motion.