
15
string in displaying area. “Page 0” is a demo page to show:
1. Display the string and move it back / forth and up/ down
2. A loop to interrogate the key pressing status
User can press “Alt” +” F10” so that it will loop between F1 and F10.
“Alt” + “0” can be pressed to stop the looping. “Page 1” and “Page 2”
are a list of strings to send out data and major commands.
LCM-100 Command
LCM-100 is and intelligent device which will display those data
received from RS232 port and reply key pressing status to polling
command from RS232 port. There are command and data from
RS232 port. To distinguish between data and commands, the
LCD/key-pad Module recognizes a command prefix, 254 (Hex 0FE).
The byte following “254” will be processed as a command. For
example, to clear the screen, send the command prefix (254) followed
by the LCD clear-screen code (1). The valid data range is as following
table shows.
Valid data range Displayed characters
0 ~ 7 Customized icon 0~7
8 ~ 57 (30 ~ 39 Hex) 0 ~ 9
65 ~ 90 (41 ~ 5A Hex) A ~ Z
97 ~ 122 (61 ~7A Hex) A ~ z
Other ASCII characters { } , / + - [ ] ….etc.
To get the key pressing status, a “read key” command can be issued
to this module which will check the key-pressing status and reply
accordingly. The following are the command and corresponding
Decimal/Hex value:
Functions/commands Decimal/Hex Remark
Clear screen 1/01
Home curso
2/02
Blank display (retaining data) 8/08
Hide cursor & display blanked characters 12/0C
urn on (blinking block cursor) 13/0D
Show underline curso
14/0E
Move cursor 1 character left 16/10
Move cursor 1 character right 20/14
Scroll 1 character left 24/18
Comentarios a estos manuales