4 text commands – Matrix Orbital PK202-25 User Manual

Page 39

Advertising
background image

Table 21: Example of an ASCII Table

The letter

A

has a value of

65 Decimal or

41 Hex

The letter

A

has a value of

97 Decimal or

61 Hex

The number

0

has a value of

48 Decimal or

30 Hex

The number

9

has a value of

57 Decimal or

39 Hex

This gives rise to the possibility of confusion when parameters are being set on the display. For example,

the GPO ON and OFF commands use a number to indicate which GPO is being controlled. We’re told

that acceptable values are 1 to 6.

All such parameters must use numeric values (i.e., the actual byte

values). If we send the ASCII number 0 by mistake it will actually give the value 48 decimal (30 hex) to the

parameter, which is wrong.

In the tables given in the following sections ASCII characters are shown as ‘A’, with single quotes.

8.4 Text Commands

Syntax in the tables below are given in hex, decimal, and decimal with ASCII.

Table 22: Text Commands

Command

Syntax

Default

Notes

Auto line wrap on

FE 43

254 67

254 ’C’

On

R

Enables

line

wrapping

(not

word wrap).

Auto line wrap off

FE 44

254 68

254 ’D’

On

R

Disables

line

wrapping.

Auto scroll on

FE 51

254 81

254 ’Q’

Off

R

Enables scroll at

bottom of screen.

Text will push

display up one

line to make room

for new line.

Auto scroll off

FE 52

254 82

254 ’R’

Off

R

Disables

auto

scroll. Text will

wrap to top left

and

overwrite

existing text

Matrix Orbital

PK202-25

35

Advertising