beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 421

background image

Publication GMLC-5.2 - November 1999

384

CNET Blocks

Pause execution of the current task at this block until CNET
communications attains a specified CNET status condition (Wait for
CNET Status Type).

Branch program flow from this block, depending upon whether a
selected CNET status is true or false (If CNET Type).

The On CNET Status block is on the CNET Palette.

Wait for CNET Status Type

Select Wait for CNET to pause execution of the application program until
the occurrence of a CNET status condition. When you select Wait for
CNET, the block has a single exit node.

Wait for CNET halts execution of the current task until the specified
CNET status (Online, Offline, Failing, or CNET fault) is true. If other
blocks are executing (multitasking), only the task that contains this block
pauses, while other tasks continue to execute. In this way, a Wait for
CNET type block in one task does not halt execution of any other tasks, or
hang the task dispatcher.

Online

Online status (CNET_status = 0) indicates normal CNET operation. The
LED for the channel actively being used for CNET communications is
solid green.

Offline

Offline status (CNET_status = 1) can indicate a number of different
conditions such as: no power, the CNET plug card is conducting a self
test.

Failing

Failing status (CNET_status = 2) indicates that the CNET plug card is
experiencing temporary errors.

Fault

Fault status (CNET_status = 3) indicates that a CNET fault has occurred
(i.e., CNET_fault = 1).