beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 625

background image

Publication GMLC-5.2 - November 1999

588

Status Variables

Program Status

Program_status is an integer value representing the current state of the
application program in the motion controller. When used in an expression
in a GML Commander diagram, the Program_status variable always has
values of 1 indicating that the application program is running.

Ordinarily, you will use the Show Program Status block in the Online
Toolbar’s Select Direct Command window to check the Program_status
variable, rather than use this variable directly in an expression.

In the Tag Explorer select General System Variables, then select
Program_status in the Tag Window.

RIO Status

RIO_status is an integer value representing the present status of Remote I/
O communications. The color of the diagnostic LED, for the appropriate
channel on the front panel of the RIO option, also indicates RIO status.

In the Tag Explorer select General System Variables, then select
RIO_status in the Tag Window.

CNET Status

CNET_status is an integer value representing the present status of CNET
communications, as shown below.

Value

Description

LED Color

5

Program Mode

No Change

4

Non-Recoverable Fault

Red

3

Recoverable Error (Failing)

Flashing Red

2

Standby

Flashing Green

1

Offline

Off

0

Online

Green