HP 7470A Interfacing And Programming Manual page 19

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

Advertisement

INSTRUCTION
PARAMETER FIELD
MNEMONIC
(As REQUIRED)
(AS REQUIRED)
:-'—i
I
Sep X Sep X Sep Parameter Sep Parameter Sep Terminator
TTTI
T
OPTIONAL SEPARATORS
REQUIRED SEPARATOR
(0 OR MORE COMMAS
ANDIOR SPACES)
NOTE: The syntax implemented on the 7470 is extremely flexible and
differs from that used on other Hewlett—Packardplotters such as»the
HP 9872. Therefore, any software written for the 7470 which takes ad­
vantage of its less rigorous syntax will not be able to drive most other
HP plotters. If software is to be used with other HP-GL plotters, the
more rigorous syntax of the HP 9872 plotter should be used.
XXParameters (,Parameters) Terminator
INSTRUCTION:
2;
FORRS-232-C PLOTTERS
;OR LF FOR HP—IBOR
HP-IL PLOTTERS
OPTIONAL PARAMETERS
The 9872 syntax does not allow separators between the characters of
the mnemonic. One comma must separate parameters. Only; or LF
may be used as the terminator for HP—IB or HP—IL plotters, and only ;
may be used as the terminator for RS—232—C
plotters. In addition, pa­
rameters requiring integer format may not contain a decimal point or
decimal fraction. I
Some instructions have optional parameters which, when omitted,
assume a default value. In order to omit a parameter, all subsequent
parameters in the same instruction must be omitted. The only excep­
tion is the pen parameters in the HP-GL instruction, UC.
The label instruction, LB, is a special case; it must be terminated with
the label terminator character. This character defaults to the ASCII
end-of-text character, ETX, whose decimal equivalent is 3. The label
terminator may be changed from its default value using the define
terminator instruction, DT.
The parameter fields must be specified in the format defined by the
syntax of -each respective HP-GL instruction. The format can be of
three types:
1. Integer Format — a parameter in integer format between -32 768.0000
and +32 767.9999. Decimal fractions of parameters which must be
integers are truncated. If no sign is specified, the parameter is
assumed to be positive.
GETTING STARTED 1-7

Advertisement

Table of Contents
loading

Table of Contents