VK202-25 rev. 05
24
6.1.9 Read module type (254 55)
This command will return a 1 byte hex value, over the RS-232 interface only, 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
6.1.10 Set RS232 port speed (254 57 [speed])
This command sets the RS232 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 transmitting a value
not listed below) by setting the "manual override" jumper on the module during power up (see section 1.7).
This command is ignored until this jumper is removed again.
Speed Value
Speed
FF Hex
1200 baud
81 Hex
2400 baud
20 Hex
9600 baud
0F Hex
19200 baud
6.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 interface.
The serial number may be set only once. Any future attempt to execute this command will result in no
change and the module will return to the originally set serial number.
6.1.12 Read Serial Number (254 53)
This command will return a 2 byte value, over the RS-232 interface only, the serial number of the module as
it was previously stored.
electronic components distributor