The Output Pi And P2 Instruction, Op - HP 7470A Interfacing And Programming Manual

Graphic plotter
Hide thumbs Also See for HP 7470A:
Table of Contents

Advertisement

)
netting P I and P2 Manually
)
P2 moves when Pi is moved manually. If you want P2 to be at a
specific location, set PI first and then P2. If you want to establish an
area of a certain size onto which the parameters of a scale instruction
will be mapped, you may set P2 in the desired location relative to the
current PI, and then move P i . P2 will move to a corresponding location
so that both the X- and Y-distances between PI and P2 remain con­
stant. If such a move means the new location of P2 will be beyond the
plotting area, either or both coordinates of P2 are set to the plotting
limits. In this case, the size of the rectangle established by PI and P2
will, of course, not remain the same. A detailed description, including
illustrations, is contained in the HP 7470 Operator's Manual.
)
)
)
;
)
)
>
To set PI or P2 manually:
1. Move the pen to the desired location using the front panel arrow
buttons.
2. Press
ENTER
simultaneously with P1 or P2. If
ENTER
is not held down,
the pen will merely move to PI or P2 and no change in the location
)
of PI or P2 will occur.
)
3. Check the new locations of the scaling points by pressing P1; then
\
press P2.
'he Input P I and P2 Instruction, IP
DESCRIPTION
The input PI and P2 instruction, IP, provides the
means to relocate PI and P2 through program control.
lifilxi
The IP instruction is often used to ensure that a plot is always
the same size, especially when the user and programmer are not the
same person. It establishes program control of plot size and label direc­
tion. This instruction can also be used to move the scaling points P I
and P2 from their default or current locations; to give mirror images of
vectors and labels; to change the size of a user unit, thus reducing or
enlarging an image; to change the size or direction of labels when
relative character size or direction is in effect; and to set PI and P2
back to their default locations.
EEEQ //•
Plx,Pl
y
(, P2x,P2
y
) (terminator)
or
(terminator)
'A
( )
IP
EXPLANATION
The new coordinates of Pi and P2 are specified in the
order shown above and must be in absolute plotter units. Parameters
should be ^ 0 and within the maximum plotting area. This means
0 < X sj 10 30Q when the paper switch is set to us; 0 s$ X < 10 900 if the
paper switch is set to A4; and 0 «S Y ^ 7650 for either setting.
ESTABLISHING BOUNDARIES AND UNITS
3
3
-a
B S 3
Negative parameters greater than or equal to - 3 2 768 will be set to zero.
Parameters outside the maximum plotting area (determined by the set­
ting of the paper switch) but less than 32 767 will be set to the limits of
the plotting area. Parameters less than -32 768 or greater than 32 767
will cause error 3 and the coordinates of PI and P2 will not change.
An IP command without parameters will default PI and P2 to the
values 250,279,10 250,7479 regardless of the paper switch setting.
Upon receipt of a valid IP command, bit position 1 of the output status
word is set true (1).
Upon power on, front-panel reset, or execution of an IN or DF com­
mand, the character size is set relative (SR) to the locations of PI a n d
P2. Unless a n SI command has been entered as part of the program,
the character size will be directly affected by the IP command.
The following HP-GL command relocates the scaling points P I and P 2
to the positions shown in the figure.
" I P 3 0 0 0 , 2 0 0 0 , 5 0 0 0 , 5 0 0 0 ; "
#
P 2
(50005000)
P1
(3000,2000)
The Output PI and P2 Instruction, OP
The output PI and P2 instruction, OP, provides t h e
means to make the current coordinates of P I and P2 available for
output.
ESTABLISHING BOUNDARIES AND UNITS 2-5

Advertisement

Table of Contents
loading

Table of Contents