beautypg.com

Matrix Orbital LK202-25 Legacy User Manual

Page 7

background image

Read Module Type Value
ASCII '7', Hex 37, Decimal 55
Syntax 0xFE 0x37

To read the module type value, send a command prefix followed by the character '7'. This command will return, over the
RS-232 interface, the model type value of the module. Values for various modules at the time of this publication are as
follows:

LCD0821 – 0x01

LCD2021 – 0x03

LCD1641 – 0x04

LCD2041 – 0x05

LCD4021 – 0x06

LCD4041 – 0x07

LK202-25 – 0x08

LK204-25 – 0x09

LK404-55 – 0x0A

VFD2021 – 0x0B

VFD2041 – 0x0C

VFD4021 – 0x0D

VK202-25 – 0x0E

VK204-25 – 0x0F

GLC12232 – 0x10

GLC12864 – 0x11

GLC128128 – 0x12

GLC24064 – 0x13

GLK12864-25 – 0x14

GLK24064-25 – 0x15

GLK128128-25 – 0x21

GLK12232-25 – 0x22

LK404-AT – 0x31

VFD1621 – 0x32

LK402-12 – 0x33

LK162-12 – 0x34

LK204-25PC - 0x35

Set RS - 232 Port Speed
ASCII '9', Hex 39, Decimal 57
Syntax 0xFE 0x39

To set the RS-232 port speed, send a command prefix followed by the character '9', followed by a value defining the desired
speed. This command sets the LK's RS-232 port to the specified . The change takes place immediately. is a single
byte specifying the desired port speed. Valid speeds are shown in the table below. The LK can be manually reset to 19,200
baud in the event of an error during transmission (including transmitting a value not listed below).

Hex Value

Speed

FF Hex

1200 baud

81 Hex

2400 baud

20 Hex

9600 baud

0F Hex

19200 baud

Load New Start Up Screen
ASCII ‘@’, Hex 40, Decimal 64
Syntax 0xFE 0x40<20 characters>

To load a new start up screen the user must send a command prefix followed by the character ‘@’ followed by 40 characters.
Defining the screen of the LK. Example:

Set Contrast
ASCII 'P', Hex 50, Decimal 80
Syntax 0xFE 0x39

To set the contrast of the display, send a command prefix followed by the character 'P', followed by a hex value defining the
contrast. This command sets the display's contrast to , where is a value between 0x00 and 0xFF (between 0 and 255). Lower
values cause “on” elements in the display area to appear lighter, while higher values cause “on” elements to appear darker.
Lighting conditions will affect the actual value used for optimal viewing. Individual LK modules will also differ slightly
from each other in appearance. In addition, values for optimal viewing while the LK backlight is on may differ from values
used when backlight is off.