14
EA KIT160-6
ESC
M
N/T/P
n1
Call macro
Calls the normal macro (
N
), touch macro (
T
) or port macro (
P
) with the number
n1
(0..255).
Example: $1B
$4D $4E $0F
The (normal) macro with the number 15 is executed.
ESC
M
A/J n1 n2 n3
Execute macros automatically
Calls the normal macros with the numbers
n1
to
n2
automatically every
n3
/10 seconds.
A
=cyclical call (e.g.
1,2,3,4,1,2,3,4, etc.);
J
=ping-pong call (e.g. 1,2,3,4,3,2,1,2,3,4, etc.).
Automatic execution is terminated:
- When a character is received from the RS-232 interface
- When a touch automatically executes a touch macro
- When an input change executes a port macro
Example: $1B
$4D $41 $01
$03
$05
The macros with the numbers 1, 2 and 3 are executed automatically with a break of 1/2 second.
ESC
N
H/V x1 y1 no Text...
NUL
Display menu
Defines and displays a menu with the current font. The background of the menu box is
automatically saved on the clipboard
(the previous contents of the clipboard are
lost)
:
H
=horizontal menu at
x1,y1
(upper left corner) or
V
=vertical menu (rotated 90°)
at
x1,y1
(upper right corner).
n1
=currently inverted item;
Text...
=string containing the
items. The individual items are separated by the character '|' (=$7C). The string must
be terminated with
NUL
= $00.
Example 1 - Horizontal menu:
$1B $4E $48 $02 $02 $01
$54 $65 $73 $74 $7C $53 $74 $6F $70 $7C $45 $6E $64 $00
Defines a horizontal menu containing the items "Test", "Stop" and "End" at position
2,2. The 1st item is inverted.
Example 2 - Vertical menu:
$1B $4E $56 $28 $01 $01
$54 $65 $73 $74 $7C $53 $74 $6F $70 $7C $45 $6E $64 $00
Defines a vertical menu containing the items "Test", "Stop" and "End" at position 40,1.
The 1st item is inverted.
ESC
N
N/P
Next/previous menu item
Inverts the next (
N
) or previous (
P
) menu item. If the last/first item is already inverted, the command is ignored.
Example: $1B
$4E $4E
The next menu item is inverted.
ESC
N
I
Invert menu box
Inverts the entire menu box.
Example: $1B
$4E $49
ESC
N
S
Terminate and send menu
Removes the menu from the display and restores the background. The currently selected item is sent as a number
(1..max. item) via the RS 232 interface.
Example: $1B
$4E $53
ESC
N
M
n1
Terminate menu and call macro
Removes the menu from the display and restores the background. If item 1 is selected, the (normal) macro with
the number
n1
is called, for item 2 the macro
n1
+1 etc.
Example: $1B
$4E $4D $0A
ESC
N
A
Cancel menu
Removes the menu from the display and restores the background.
Example: $1B
$4E $41