Radio Shack 26-1190A Hardware Manual page 16

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

Advertisement

Example:
LPRINT
"G01 XI 000 Yl 200"
(1000, 1200)
Current point
G02
Function:
Draws
an
arc
in
a
clockwise
direction
between
the current point
and
the point
specified
by
the
X
and
Y
axes.
The
center
of
the
arc
is
specified
by
I
and
J,
which
show
the
coordinate distance
of
the current point
on
the
X
axis
and
Y
axis
to the center point.
Format:
G02 Xnn Ynn
Imm
Jmm
Example
:
LPRINT "G02 X600 Y200
1200
J346"
(400,
546)
Current point
Center
(200,
200)
1=300
(600,
200)
The
value
of
I
is
the distance
on
the
X
axis
from
the current point to the center
point.
The
value
of
J
is
the distance
on
the
Y
axis
from
the current point to the center
point.
One
complete
circle
is
drawn by
specifying
only
I
and/or
J.
Example:
LPRINT
"G02
1200
J200"
LPRINT "G02
1200"
200
LPRINT "G02J200"
Current point
Current point
-15-

Advertisement

Table of Contents
loading

Table of Contents