Reading serial number info etc

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
scsmith
LCD?
Posts: 3
Joined: Tue Dec 11, 2001 4:00 pm

Post by scsmith »

Hi, I'm using an LK204-25 with Linux, however I don't get an error message when I attempt to open the port and communicate with the LCD when it's powered down.

I was hoping to be able to read something back from the module to indicate it is alive and well, when I found the following commands in a manual on this site. I've tried reading the revision numbers, but don't get anything back. I know the polling code should work because I get a response from the keypad.

My question is, are the following command codes supported on this module, or is there any other way of returning some data back without the intervention of a user?

Thanks

7.1.13 Read Version Number 254 54)
7.1.9 Read module type (254 55)
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

scsmith
LCD?
Posts: 3
Joined: Tue Dec 11, 2001 4:00 pm

Post by scsmith »

PS I found this table of information in the command list for the GLK12232-25, which seems to imply it works for my LK204-25.

Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3003
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

The LK204-25 will not respond with a type number because it is not in it. The type number gets stored in the memory chip and the LCD does not have one at this time. So then asked the type, the LCD should respond with a ff.



_________________
Henry J.
Technical Support
Matrix Orbital

<font size=-1>[ This Message was edited by: Henry on 2001-12-12 10:45 ]</font>

scsmith
LCD?
Posts: 3
Joined: Tue Dec 11, 2001 4:00 pm

Post by scsmith »

Thanks, any return value is fine for automatic checking that the module is responding properly. I'll try this again, but I'm sure I got no data back at all.

Post Reply