
CommandSyntax
Programming
3 --- 1 0
The argument of a command may be inone of several forms. The individual
descriptions ofeach command tell which argument types to use with that
command.
Block Arguments
One OA 5000 command utilizes a block argument form:
Symbol Meaning
<Block> A block of data bytes, defined below
<NZDig> A non-zero digitcharacter, in the range 1 --- 9
<Dig> A digit character,in the range 0 --- 9
<DChar> A character with the binary equivalentof 0 through
FF hexadecimal(0 through 255 decimal)
The block argument is in the followingformat:
H<Block> ::= #<NZDig><Dig>[<Dig>. . .][<DChar>. . .]
<NZDig> specifies the number of <Dig> elementsthat follow. Taken togeth-
er,the <Dig> elements form a decimal integer that specifies how many
<DChar> elements follow.
BLRN #222(binary data - 22 bytes)
BlockHeader
SpecifiesNumber of
LengthDigits that Follow
SpecifiesData Length
BlockArgument
Figure 3-4: Block Argument Example
The block argument can also take the followingformat:
H<Block> ::= #0[<DChar>. . .]<EOI>
Under IEEE Std 488.2 this is also a validform for block arguments. If this
form is used, the last byte ofthe block must have EOI asserted. Conse-
quently,this must be the last or only command. Although the OA 5000
accepts this format, it willnever respond to a query with this format.
Numeric Arguments
Many OA 5000 commands requirenumeric arguments. This manual repre-
sents these arguments as follows:
Argument Types