beautypg.com

General purpose output, 6 general purpose output – Matrix Orbital GLK24064-16-1U User Manual

Page 30

background image

25

5.9 Initialize a
Strip Chart

Dec
Hex
ASCII

254 106

FE 6A

■ j

ID X1 Position Y1 Position X2 Position Y2 Position
ID X1 Position Y1 Position X2 Position Y2 Position
ID X1 Position Y1 Position X2 Position Y2 Position

Designate a portion of the screen for horizontal scrolling. Can be used to create scrolling graphs or marquee text.

ID

1 byte, unique chart identification number, between 0 and 6

X1 Position

1 byte, leftmost coordinate, value between 0 and 239

Y1 Position

1 byte, topmost coordinate, value between 0 and 63

X2 Position

1 byte, rightmost coordinate, must be separated from 0 by a multiple of eight

Y2 Position

1 byte, bottommost coordinate, value between 0 and 63



5.10 Shift a
Strip Chart

Dec
Hex
ASCII

254 107

FE 6B

■ k

Direction & ID
Direction & ID
Direction & ID

Shift a designated strip chart area eight bits left or right. All text and fonts within the area are shifted.

Direction & ID

1 byte, MSB is direction, 0 for left or 1 for right, remaining bits indicate chart number

Table 24: Strip Chart Shift Example

Direction

ID

Byte Value

Description

0

000 0001

01

1

Shift chart 1 left

1

000 0001

81

129

Shift chart 1 right

5.6 General Purpose Output

6.1 General Purpose
Output Off

Dec
Hex
ASCII

254 86

FE 56

■ V

Number
Number
Number

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

Number

1 byte, GPO to be turned off, value between 1 and 6


6.2 General Purpose
Output On

Dec
Hex
ASCII

254 87

FE 57

■ W

Number
Number
Number

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

Number

1 byte, GPO to be turned on, value between 1 and 6


6.3 Set Start Up
GPO State

Dec
Hex

254 195

FE C3

Number State
Number State

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

Number

1 byte, GPO to be controlled, value between 1 and 6

State

1 byte, 1 for on or 0 for off