beautypg.com

8 general purpose output, Led indicators – Matrix Orbital GLK19264A-7T-1U User Manual

Page 40

background image

Command Summary

35

6.8 General Purpose Output

8.1 General Purpose
Output On

Dec
Hex
ASCII

254 87

FE 57

■ W

Number
Number
Number

v8.0

Turns the specified GPO on, sourcing current from an output of five volts.

Number

Byte

GPO to be turned on.


8.2 General Purpose
Output Off

Dec
Hex
ASCII

254 86

FE 56

■ V

Number
Number
Number

v8.0

Turns the specified GPO off, sinking current to an output of zero volts.

Number

Byte

GPO to be turned off.


8.3 Set Start Up
GPO State

Dec
Hex
ASCII

254 195

FE C3

■ ├

Number State
Number State
Number State

v8.0

Sets and saves the start up state of the specified GPO in non volatile memory. Changes will be seen on start up.

Number

Byte

GPO to be controlled.

State

Byte

1 for on or 0 for off.

LED Indicators

The GLK19264A-7T-1U has 6 General Purpose Outputs which control 3 bi-colour LEDs. Red, green, and
orange-yellow colours can be created using these software controlled GPOs. Odd numbered GPOs
control red while even numbers switch the green aspects of the LEDs, as shown in the table below.

Table 29: LED Output

Colour GPO

O

GPO

E

Yellow

0

0

Green

0

1

Red

1

0

Off

1

1

8.4 Set LED
Indicators

Dec
Hex
ASCII

254 90

FE 5A

■ Z

Number Colour
Number Colour
Number Colour

v8.0

Immediately sets the state of the specified LED indicator to a specific colour. Temporary unless remember is on.

Number

Byte

LED indicator to be controlled.

Colour

Byte

LED colour state as below.

Table 30: LED Indicator Colour

State

Colour

Off

0

Green

1

Red

2

Yellow

3