beautypg.com

Status leds – Rockwell Automation GMLC Reference Manual User Manual

Page 624

background image

Publication GMLC-5.2 - November1999

587

Status LEDs

Three general purpose status LEDs are provided on the front panel of the
motion controller. Labeled STATUS 0, STATUS 1, and STATUS 2, these
LEDs indicate the results of the power-up diagnostics, performed
whenever power is applied. After the power-up diagnostics, the three
status LEDs can be used for any desired purpose.

Status_LEDs is a mathematical variable used to turn the status LEDs ON
and OFF. By using an Equation block to assign an integer value from 0 to
7 to the Status_LEDs variable, you can turn ON or OFF each of the LEDs
in combination, as follows:

You can also use the Status_LEDs variable in an expression to determine
the current state of the three status LEDs. This lets you make decisions
based on the state of the status LEDs.

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

Status_LEDs
Value

Status0

Status1

Status2

0

OFF

OFF

OFF

1

ON

OFF

OFF

2

OFF

ON

OFF

3

ON

ON

OFF

4

OFF

OFFF

ON

5

ON

OFF

ON

6

OFF

ON

ON

7

ON

ON

ON