
Section 4 Serial Controller
4.9
Numeric parameters (those that are given as numbers) are decimal
unless preceded by &H in which case they are considered to be
hexadecimal or by % in which case they are considered to be binary. Thus
100 is decimal 100, &H64 is hexadecimal 64 (decimal 100), %00000100
is binary (decimal 4), &HFF is decimal 255, and OFF is invalid because F
is not a valid decimal digit. The only exception to the rule is the IEEE 488
bus addresses, both primary and secondary, must be specified as two digit
decimal numbers. Hexadecimal bus address are not allowed. When
specifying binary numbers, eight digits must follow the % sign.
Several of the commands require additional or optional parameters
and keywords. These are further described with each command, but
discussion of the more common ones follow. If no optional parameters
are specified with a command that requires them, the command will be
treated as invalid.
4.11.2.1 Bus Addressing
pri-addr
A two digit primary device IEEE 488 bus address
in the range of
00
to
30
.
sec-addr
An optional two digit secondary IEEE 488 bus
device address in the range of
00
to
31
.
addr
An IEEE 488 bus address. A numeric primary
address optionally followed by a secondary
address. Thus,
addr
is of the form...
{pri-
addr[sec-addr]}
where pri-addr
is a two digit primary IEEE
488 bus device address from
00
through
30
and
sec-addr
is a two digit secondary IEEE 488 bus
device address from
00
through
31
. Numeric
addresses must be given as two digit decimal
numbers, e.g.
05
for address
5
, and
1601
for
primary address
16
, secondary address
1
Comentarios a estos manuales