PCD7.D250
Commands by the serial interface
26/770 E1
(D25-06-E.DOC)
SAIA-Burgess Electronics Ltd.
Page 6-5
6.2 Cursor control
Cursor up/down/left/right
The cursor can be moved one place up, down, left or right with a single-
character command. If the cursor is moved off the display, it wraps
around automatically.
Command
ASCII
Decimal
Hex
Cursor up
CTRL+K
11
0B
Cursor down
CTRL+E
5
05
Cursor left
CTRL+H
8
08
Cursor right
CTRL+F
6
06
Cursor positioning
Apart from the cursor address code (16 dec. or 10H), this function also
requires X and Y addresses to position the cursor. Add an offset of 32
dec. or 20H to both addresses. If either of the addresses is incorrect, the
cursor is not moved. The address ranges for modes 8 x 40 and 4 x 20 are
correspondingly different:
Code
X
<
32>
<
33>
<
34>
<
35>
<
36>
<
37>
<
38>
<
39>
<
40>
<
41>
<
42>
<
43>
<
44>
<
45>
<
46>
<
47>
<
48>
<
49>
<
50>
<
51>
<
52>
<
53>
<
54>
<
55>
<
56>
. . .
<
70>
<
71>
Y
Code
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
. . .
39 40
<32> 1 X
. . .
<33> 2
X
. . .
<34> 3
. . .
<35> 4
X
. . .
<36> 5
. . .
<37> 6
. . .
X
<38> 7
. . .
<39> 8
. . .
Example (sequence:
16 dec., Code X, Code Y
):
Cursor position
Decimal command
Hex command
Column 1, Line 1
Column 4, Line 2
Column 16, Line 4
Column 39, Line 6
16 32 32
16 35 33
16 47 35
16 70 37
10 20 20
10 23 21
10 2F 23
10 46 25
Note:
To place the cursor in x-pos. 36 (equal ASCII $), please enter in
each PCD text <36><36>.
Example:
TEXT xxxx
„... 16 36 36 34 ...“
x-pos y-pos