The Output Factors Instruction, Of; The Output Identification Instruction; The Output Options Instruction, 0 - HP 7470A Interfacing And Programming Manual

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

Advertisement

;
)
)
)
)
)
)
)
)
)
• )
)
i
)
( )
: )
' )
< )
C )
< )
'
)
<
)
When an OE command is received, the plotter converts the last HP-GL
error to a positive integer in ASCII, which is output in the form:
error number [TERM]
The error number is defined as follows:
E r r o r
N u m b e r
0
1
2
3
4
5
6
7
8
Meaning
No error
Instruction not recognized
Wrong number of parameters
Out-of-range parameters, or illegal character
Not used
Unknown character set
Position overflow
Not used
Vector received while pinch wheels raised
[TERM] is the output terminator for the interface installed.
In an HP-IB or an HP-IL system after the carriage return has been
sent, and in an RS-232-C system after the output is complete, bit
position 5 of the status byte is cleared (if set), and the ERROR LED (if lit)
is turned off (unless there is an RS-232-C error which has not been
cleared by an ESC . E command).
You should note that anytime the plotter receives an unpaired alpha­
betic character, error 1 will be set. Thus, an alphabetic parameter or
three alphabetic characters in a row will generate error 1. When you
encounter error 1, look for a misplaced alphabetic character.
Once your plotting programs are debugged, you may want to remove
most output error instructions from your program to reduce your com­
puter's I/O operations and maximize plotting speed.
the Output Factors Instruction, OF
IHMHiiliilUltl The output factors instruction, OF, is used to output the
)
number of plotter units per millimetre in each axis.
)
H H M
This instruction enables the plotter to be used with software
\
which must know the size of a plotter unit.
E f f i E E l
OF
(terminator)
■a:«JI:VMIIIi;l No parameters are used. The instruction will execute
even if no terminator is received.
< )
i:
)
l(
,1B
I )
OBTAINING INFORMATION FROM THE PLOTTER
;
The plotter will always output the following:
40,40 [TERM]
These factors indicate that there are approximately 40 plotter um, D T
millimetre in the X-axis and in the Y-axis (0.025 mm/plotter m.
v
[TERM] is the output terminator for the interface installed.
The Output Identification Instruction, OI
DESCRIPTION
The output identification instruction, OI, is used to out­
put a plotter identifier.
This instruction is especially useful in a remote operating en­
vironment to determine which model plotter is on-line.
K l l i l L h l
OI
(terminator)
EXPLANATION
No parameters are used. The instruction will execute
even if no terminator is received.
The plotter will always output the following character string:
7470A [TERM]
[TERM] is the output terminator for the interface installed.
The Output Options Instruction, OO
EEM2MJ
The output options instruction, OO, is used to output
eight option parameters.
IIRiyj
This instruction is especially useful in a remote operating en­
vironment to determine which options are available in the plotter
which is on-line.
H ' l M t i l
OO
(terminator)
No parameters are used. The instruction will execute
even if no terminator is received.
The plotter will always output the appropriate combination of eight
integers in ASCII, separated by commas. The options included in the
plotter are indicated by a 1 as defined below.
0 , 1 , 0 , 0 , 1 , 0 , 0 , 0 [ T E R M ]
* - Indicates arcs and circle instructions are included (available
only w i t h R S - 2 3 2 - C plotters that have the Serial Prefix n u m b e r
2 3 0 8 A or higher).
Indicates pen select capability is included (available o n all plotters).
[TERM] is the output terminator for the interface installed.
OBTAINING INFORMATION FROM THE PLOTTER
7-7
I

Advertisement

Table of Contents
loading

Table of Contents