beautypg.com

Matrix Orbital LCD/VFD Legacy User Manual

Page 21

background image

The change in address is immediate. This address is 0x50 by default, and is reset temporarily back to that

value when the ’manual over-ride’ jumper is used on power up.

5.1.9 Read module type (254 55)

This command will return, over the RS-232 interface, the model type value of the module. This command

will return a 1-byte hex value. Values for various modules at the time of this publication are as follows;

Table 10: Module Values

LCD0821 - 0x01

LCD2021 - 0x03

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

GLC24064 - 0x13

GLK24064-25 - 0x15

GLK12232-25 - 0x22

LK404-AT - 0x31

LK402-12 - 0x33

LK162-12- 0x34

LK204-25PC - 0x35

5.1.10 Set RS-232 port speed (254 57 [speed])

This command sets the RS-232 port to the specified [speed]. The change takes place immediately.

[speed] is a single byte specifying the desired port speed. Valid speeds are shown in the table below. The

speed can be manually reset to 19,200 baud in the event of an error during transmission (including transmit-

ting a value not listed below) by setting the ’manual over-ride’ jumper on the module during power up. This

command is ignored until this jumper is removed again.

Table 11: Speed Settings

Speed Value

Speed

FF Hex

1200 Baud

81 Hex

2400 Baud

20 Hex

9600 Baud

0F Hex

19 200 Baud

5.1.11 Set Serial Number (254 52 [byte1] [byte2]

Modules may be delivered with the serial number blank. In this case the user may set the desired 2 byte

serial number using this one time only command.

Upon the execution of this command, the module will echo these two bytes back over the RS-232 inter-

face. The serial number may be set only once. Any future attempt to execute this command will result in no

Matrix Orbital

LCD4041

18