EA KIT160-6LWTP ELECTRONIC ASSEMBLY, EA KIT160-6LWTP Datasheet - Page 17

no-image

EA KIT160-6LWTP

Manufacturer Part Number
EA KIT160-6LWTP
Description
LCD Graphic Display Modules & Accessories Blue/White Contrast RS-232 Snap-In Kit
Manufacturer
ELECTRONIC ASSEMBLY
Datasheet

Specifications of EA KIT160-6LWTP

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ESC
Defines a touch key and labels it with the current font. H=horizontal or V=vertical labeling (rotated 90°). Several
touch fields can be grouped together to form a single touch key (f1=upper left touch field; f2=lower right touch field
of the new touch key). This touch key is assigned a return code with ret (1..255). When the touch key is touched,
the touch macro with the number ret is called or, if no touch macro is defined, this return code is sent via the
RS232. You use frm to define the format of the touch key (frm=0: don't draw anything;
frm=1: delete touch key; frm=2: delete touch key and draw with frame). text...=string
with the label (which is always centered on the touch key). The label can also have
more than one line; in this case, the lines are separated by the character '|' (=$7C).
The string must be concluded with NUL= $00. See example on page 3.
Example 1: Horizontal touch key:
$1B $54 $48 $01 $01 $41 $02 $54 $45 $53 $54 $00
Defines a horizontal touch key (field no. 1 only) with the return code 65='A'. The touch
key is drawn with a frame and labeled with the word 'TEST'.
Example 2: Vertical touch key:
$1B $54 $56 $02 $02 $42 $02 $54 $45 $53 $54 $00
Defines a vertical touch key (touch field no. 2 only) with the return code 66='B'. The
touch key is drawn with a frame and labeled with the word 'TEST'.
ESC
Assigns P (=ascending return code: 1..32) or R (=reset all touch fields) to all 32 touch fields. In the latter case all
touch fields receive the return code 0 (i.e. they are deactivated).
Example: $1B
All touch fields are deactivated by this command and no longer recognized.
ESC
These commands set the automatic response of the touch panel to touching. Both responses can be activated
simultaneously.
I=automatic inversion when the touch key is touched (n1=0: off or n1=1: on)
S=automatic signal tone when the touch key is touched (n1=0: off or n1=1: on)
Example: $1B
After this command the tone sounds when a touch key is touched.
ESC
This command manually inverts the touch key with the return code ret.
Example: $1B
Inverts the touch key from the above example with the return code 65='A'.
ESC
This command sets the (touch) key query:
n1=0: Switches the key query off - no touch macros or manual key query possible.
n1=1: Activates the key query - keystrokes trigger touch macros or are sent via RS232.
n1=2: Activates the key query - keystrokes trigger touch macros; must be queried manually.
Example: $1B
Activates the (touch) key query. The keystrokes are not sent automatically via RS232; they have to be requested
manually by means of the command ESC T W.
ESC
Sends the return code of the currently depressed touch key at the RS232.
Example: $1B
T
T
T
T
T
T
H/V f1 f2
P/R
$54 $52
I/S n1
$54 $49 $01
M ret
$54 $4D $41
A
$54 $41 $02
W
$54 $57
n1
ret frm text...
NUL
Query touch key manually
Invert touch key manually
Preset/reset touch fields
(Touch) key query on/off
EA KIT160-6
Touch key response
Define touch key
17

Related parts for EA KIT160-6LWTP