9
EA KIT160-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..16) to the new
user 'value'
Keyboard/touch panel commands
Define touch key with
horizontal label
ESC
T
H
f1
f2
Ret
code
Form
Text
...
NUL
Groups touch fields f1 to f2 (diametrically opposite corner fields)
together to 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 ($00) = 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..60)
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)
Menu/pop-up commands
Define menu with
horizontal items
ESC
N
H
x1
y1
no
Text
...
NUL
Draws a menu from the corner x1,y1 (horizontal menu = upper left corner;
vertical menu = upper right corner) using the current font.
no:= currently inverted item (e.g.: 1 = 1st item)
Text:= string with the menu items. The items are separated by the character '|'
($7C,dec:124), e.g. "Item1|Item2|Item3"
The background of the menu is automatically saved to the clipboard.
If a menu is already defined, it is automatically canceled and removed
Define menu with
vertical items (rotated
by 90°)
V
Invert menu box
I
Inverts the entire menu box. Useful for negative display
Next item
N
Inverts the next item or remains at the end
Previous item
P
Inverts the previous item or remains at the beginning
Menu end/send
S
Removes the menu from the display and replaces it with the clipboard
contents. The current item is sent as a number (1..n) (0=no menu displayed)
Menu end/macro
M
no
Removes the menu from the display and replaces it with the contents of the
clipboard. Macro 'no' is called for item 1; macro no+1 for item 2, and so on
Menu end/cancel
A
Removes the menu from the display and replaces it with the contents of the
clipboard
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)
Port commands
Write output port
ESC
Y
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)
LED backlit on/off
L
n1
LED backlit n1=0: off, n1=1: on; n1=2: invert; n1=3..255 n1/10 sec. on