8
EA KIT129-6
Command table for the EA KIT129-6
Command
Codes
Note
Commands for terminal operation
Form feed FF (dec:12)
^L
Deletes the screen and sets the cursor at position (1,1)
Carriage return CR(13)
^M
Positions the cursor on the left at the beginning of the line
Line feed LF (dec:10)
^J
Positions the cursor in the line below the current one. If the cursor is in the last
line, positions it in the 1st line
Cursor on/off
ESC
Q
C
n1
n1=0: cursor is not visible; n1=1: cursor flashes (inverse 6/10s)
Position cursor
ESC
O
n1
n2
n1=column; n2=line; upper left origin is (1,1)
Set terminal font
ESC
F
T
n1
n1=1: sets font no. n1 (1..16) for terminal operation
Text output commands
Text mode
ESC
L
n1
pat
Mode n1: 1=set; 2=delete; 3=inverse 4=replace; 5=inverse replace;
pat: pattern no. 0..7
Set font
ESC
F
n1
n2
n3
Sets font with the number n1 (1..16); n2=X- n3=Y-zoom factor (1x..8x)
Output string
horizontally
ESC
Z
L
x1
y1
Text
...
NUL
Outputs a string (...) at x1,y1. ´NUL´ ($00)=end of string;
lines are separated by the character '|' ($7C, dec:124);
'L':= left justified at x1; 'Z':= centered at x1; 'R':= right justified at x1;
y1 is always the upper edge of the string
Z
R
Output string rotated
by
90° (vertically)
ESC
Z
O
x1
y1
Text
...
NUL
Outputs a string (...) rotated by 90° at x1,y1; ´NUL´ ($00)=end;
lines are separated by the character '|' ($7C, dec: 124);
'O':= top justified at y1; 'M':= vertically centered at y1; 'U':= bottom justified at y1;
x1 is always the right edge of the string
M
U
Drawing commands
Graphics mode
ESC
V
n1
Sets the drawing mode for the commands 'Set point', 'Draw straight line',
'Rectangle', 'Rouded rectangle' and 'Fill area with pattern'
n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace
Set point
ESC
P
x1
y1
Sets a pixel at position x1, y1
Draw straight line
ESC
G
x1
y1
x2
y2
Draws a straight line from x1,y1 to x2,y2
Continue straight line
ESC
W
x1
y1
Draws a straight line from the last end point to x1, y1
Rectangle commands
Draw rectangle
ESC
R
R
x1
y1
x2
y2
Draws a rectangle (frame) from x1,y1 to x2,y2
Draw rounded
rectangle
N
x1
y1
x2
y2
Draws a rectangle with rounded corners from x1,y1 to x2,y2
Delete area
L
x1
y1
x2
y2
Deletes an area from x1,y1 to x2,y2 (all pixels off)
Invert area
I
x1
y1
x2
y2
Inverts an area from x1,y1 to x2,y2 (inverts all pixels)
Fill area
S
x1
y1
x2
y2
Fills an area from x1,y1 to x2,y2 (all pixels on)
Fill area with pattern
M
x1
y1
x2
y2
pat Fills an area from x1,y1 to x2,y2 with the pattern pat (0..7)
Draw box
O
x1
y1
x2
y2
pat Draws a rectangle with the fill pattern pat (0..7); (always replace)
Draw rounded box
J
x1
y1
x2
y2
pat Draws a rectangle with the fill pattern pat (0..7); (always replace)
Bitmap image commands
Image from EEPROM
ESC
U
E
x1
y1
no
Loads an internal image with the number (0..255) from the EEPROM to x1,y1
Load image
L
x1
y1
data ...
Loads an image to x1,y1; see image structure for the data of the image
Send hard copy
H
x1
y1
x2
y2
Requests an image. Sends the width and height in pixels followed by the actual
image data via RS232
ALL COMMANDS AT A GLANCE
After power-on cursor flashes at the top left of display. It is ready for some commands. All received
characters will be displayed as ASCII codes (see page 7: Font 1..Font 5). Exceptions are: CR, LF, FF,
ESC. Line Feed is done by code ´LF´. After sreen is full, cursor will jump to top left corner again. Code
´FF´ (Formfeed) will clear display.
All other commands (place cursor, set font, graphic functions, ...) will be startet by ESCAPE-code (27dec.
/ $1B hex).