
Read Module Type Value
ASCII '7', Hex 37, Decimal 55
Syntax0xFE0x37
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:
Set RS - 232 Port Speed
ASCII '9', Hex 39, Decimal 57
Syntax0xFE0x39<speed>
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 LCD's 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 LCD can be manually reset to 19,200 baud in the event of an error during transmission (including trans-
mitting a value not listed below). Refer to the appendix for details.
Load New Start Up Screen
ASCII‘@’, Hex 40, Decimal 64
Syntax 0xFE 0x40<160 characters>
This command allows you to load a new start up screen. To execute this you must send a command prefix followed by
the character '@', followed by 160 characters to format the screen to your specifications. The characters on the
module should be formatted as shown in the diagram.
Set Contrast
ASCII 'P', Hex 50, Decimal 80
Syntax0xFE0x39<contrast>
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 <contrast>, where <contrast> 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 LCD modules will also differ slightly from each other in appearance. In addition, values for
optimal viewing while the LCD backlight is on may differ from values used when backlight is off.
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
Hex Value Speed
FF Hex 1200 baud
81 Hex 2400 baud
20 Hex 9600 baud
0F Hex 19200 baud
Character 1
----------------------------------------------
Character 40
Character 41
----------------------------------------------
Character 80
Character 81
----------------------------------------------
Character 120
Character 121
----------------------------------------------
Character 160
5