Datasheet
9
EA KIT129-6
Bar graph commands
Define bar graph
ESC B
R
L
O
U
no x1 y1 x2 y2 sv ev pat
Defines a bar graph to the left (L), right (R), top (O) or bottom (
U
with the number no (1..16). x1,y1,x2,y2 define the rectangle
enclosing the bar graph. sv,ev are the values for 0% and 100%.
pat=pattern (0..7)
Draw bar graph no
value
Sets the bar graph with the number no (1..2) to the new user
'value'
Keyboard/touch panel commands
Define touch key with
horizontal label
ESC T
H
f1 f2
Ret
code
For
Text
...
NUL
Groups touch fields f1 to f2 (diametrically opposite corner fields) together t
o
form a touch key with the return value ´Ret. code´ (=1..255) (Ret. code=0
means the touch key is inactive).
´Form´: Draws touch key (=0 nothing; =1 delete; =2 with frame)
´Text´: Positions a string on the touch key (centered) using the current font;
lines are separated by the character '|' ($7C, dec: 124); NUL character ($0
0
= end of string
Define touch key with
vertical label (rotated
by 90°)
V
(P)reset touch keys
P Activates all touch keys in ascending order (fields with code 1..15)
R Deactivates all touch keys (all fields with code 0)
Touch key response
I n1
n1=0: Touch key is not inverted when touched
n1=1: Touch key is automatically inverted when touched
S n1
n1=0: No tone sounds when (touch) key is touched
n1=1: Tone sounds briefly when (touch) key is touched
Invert touch key M n1 The touch key assigned the return code n1 is inverted manually
Query key manually W Sends the currently depressed (touch) key at the RS-232/RS-422 interface
Key query on/off A n1
The keyboard query is n1=0:deactivated;
n1=1:activated, keystrokes are sent automatically;
n1=2:activated, keystrokes are not sent (query with ESC T W)
Control/definition commands
Automatic flashing
area
(cursor function)
ESC Q
D x1 y1 x2 y2 Defines a flashing area from x1,y1 to x2,y2; activates the flashing function
Z n1 Sets the flashing time n1= 1..15 in 1/10s; 0=deactivates the flashing function
C n1
Automatically flashing area as cursor for terminal operation
n1=0: deactivates flashing function; n1=1: activates flashing function (inverse,
6/10s)
Select/deselect ESC K
S add Activates the kit with the address n1 (n1=255: all)
D add Deactivates the kit with the address n1 (n1=255: all)
A add Assigns a new address (add) (in the power-on macro, for example)
Wait (pause) ESC X n1 Wait n1 tenths of a second before the next command is executed
Buzzer on/off
ESC
J n1 n1=0:tone off; n1=1:tone on; n1=2..255:for n1 1/10s long on
Send bytes ESC S num data ...
Sends num (1..255; 0=256) bytes at the RS-232/RS-422 interface;
data ... = num bytes (e.g. control of an external serial printer)
Reset display ESC D R Resets and re-initializes the display controller
Port commands
Define as In- or Ouput
ESC Y
M n1
n1=0: I/O1..8 set to input (=default after power-on / reset)
n1=1..8: n1 I/O-lines will be set to output (beginning at I/O8 downwards)
Write output port W n1 n2
n1=0: Sets all 8 output ports in accordance with n2 (=8-bit binary value)
n1=1..8: Resets (n2=0), sets (n2=1) or inverts (n2=2) output port n1
Read input port R n1
n1=0: Reads in all 8 input ports as 8-bit binary value
n1=1..8: Reads in input port <n1> (1=high level=5V, 0=low level=0V)
Port scan on/off A n1 Deactivates (n1=0) or activates (n1=1) automatic scanning of the input port
Input port inverse I n1 Evaluates the input port (n1=0: normal; n1=1: inverted)
Switch backlight on/off L n1
CFL/LED backlight n1=0: off; n1=1: on; n1=2: invert;
n1=3..255: backlight for n1/10 sec. switched on and then automat. turn off
Macro commands
Execute macro
ESC M
N n1 Calls the (normal) macro with the number n1 (max. 7 levels)
Execute touch macro T n1 Calls the touch macro with the number n1 (max. 7 levels)
Execute port macro P n1 Calls the port macro with the number n1 (max. 7 levels)
Macros autom. cyclical A n1 n2 n3 Processes macros n1..n2 automatically cyclically; n3=pause in 1/10s
Macros autom.
ping-pong
J n1 n2 n3 Processes macros n1..n2..n1 automatically (ping-pong); n3=pause in 1/10s
Display commands (which apply to the whole display)
Delete display
ESC D
L Deletes the contents of the display (all pixels off)
Invert display
I Inverts the contents of the display (inverts all pixels)
Fill display S Fills the contents of the display (all pixels on)
Switch display off A
Makes the contents of the display invisible, but they remain there and further
commands are possible
Switch display on
E Makes the contents of the display visible again










