beautypg.com

On rio – Rockwell Automation GMLC Reference Manual User Manual

Page 404

background image

Publication GMLC-5.2 - November 1999

On RIO

367

On RIO

Use the On RIO block to:

Pause the current task until the selected RIO status condition is true.

Evaluate the status of RIO communications.

Pause the current task until the motion controller detects either a
block transfer read (BTR) or write (BTW) from the RIO scanner.

Evaluate whether motion controller detects a block transfer read or block
transfer write from the RIO scanner

The On RIO block is on the RIO Toolbar.

See Using the RIO Adapter Option chapter in this manual for information
on configuring RIO operation.

Wait for RIO Status

Use the On RIO block, with Wait for RIO Status selected, to check for a
specific RIO condition or fault. If other tasks are executing
(multitasking), the task that contains this block pauses while the other
tasks continue to execute. In this way, an On RIO block with Wait for RIO
selected in one task does not pause execution of any other tasks or hang
the task dispatcher. See RIO Status Conditions and the status descriptions,
below, for information on each specific status condition.

If RIO Status

The program flow branches to the top (true) node if the current RIO status
matches the selected status, and to the bottom (false) node if not. Use an
On RIO block, with If RIO Status selected, to check for a specific RIO
condition or fault.