TM 5-6675-323-14
Table 3-10. PLOTTER PROGRAMMING LANGUAGE - Cont
Statement Identification and Use
Program
Statement
Statement Syntax, Explanation, and Input Instructions
F o l l o w i n g e x a m p l e p r o g r a m p l o t s v a l u e s o f f u n c t i o n Y = X2 .
p l t - Cont
0:
pclr
1:
s c l -10, 10, -10, 100
2:
fxd 0
3:
xax 0, 1, -10, 10, 1
4:
yax 0, 10, -10, 100, 1
5:
-10-X
p l t X,X 2; if
6:
(X + 1 → X ) <=10;
jmp 0
pen
7:
8:
end
pen #
PEN. Allows selections of desired pen colors via program.
Syntax:
p e n # (Pen front panel stall no.)
W h e n pen # statement is executed, pen arm
raises pen it is
currently holding (if any) and returns it to
empty pen storage
position.
If a valid pen position number
is specified (1-4),
pen in that position is taken and pen arm
returns to its last
location on platen.
P a r a m e t e r value of 0 or no parameter directs pen arm to return
pen it is currently using to empty storage position without
t a k i n g new pen.
If specified pen position is empty or if all of pen positions
are full and there is pen in arm, then no operation occurs.
3-84