Radio Shack 26-1190A Hardware Manual page 21

Plotter printer. trs-80 micro computer system
Table of Contents

Advertisement

Input
Format
After
a
G
function
code
is
input,
X, Y, U, V,
I,
and
J
can be used
in
any
order.
Examples:
LPRINT
"G01
Y100
XI 00"
is
the
same
as
LPRINT"G01 X100Y100"
LPRINT "G02 V200 U200
J-
100
1-100"
equals
LPRINT "G02
1-100
U200 J-
100
V200"
The
absolute coordinate value
and
relative
value
may
be used
simultaneously.
However,
when
X
and
U, and
Y
and
V
are
used
simultaneously, only the
earlier
input
is
valid.
Examples:
LPRINT
"G00 XI
00
V-500"
LPRINT "G00U1
00
Y-500"
LPRINT "G00
XI 00 U500 Y200" U500
will
be
invalidated
LPRINT "G00 U200 V500 Y300" Y300
will
be
invalidated
Handling
of
Invalid
Codes
When
using
G00,
G01
,
G50, G90,
or
G91
:
Gmm
.
.
.
X(or U)
.
.
.
(12345)
.
.
Y(or V)
.
.
.
(12345)
.
.
.
CR
(1)
(2)
(3)
(4)
(5)
The
following
codes
are
ignored
when
input
in
positions
1
through
5
:
1
- - -
Codes
other than
G, X, Y, U, V, and
CR
2
&
4
Codes
other than +
,
-
digits,
and
CR
3
-
-
-
Codes
other than
X
(U),
Y, V,
digits,
and
CR
5
- - -
Codes
other than
Y
(V),
digits,
and
CR
Example:
LPRINT
"G01
AA X AA
2000
AA Y AA
1
500
AA"
is
the
same
as
LPRINT
"G01X2000Y
1500"
-20

Advertisement

Table of Contents
loading

Table of Contents