
Section 3 Command Descriptions
3.11
Format Fn
The
Format
command determines the method by which input and output data will
be described. Six data formats are available.
F0
ASCII Hexadecimal (4 bits per character)
F1
ASCII Character (4 bits per character )
F2
ASCII Binary (1 bit per character)
F3
ASCII Decimal (8 bits per number)
F4
Binary (each byte represents 8 bits)
F5
High Speed Binary (each byte represents 8 bits)
F0 Format- ASCII Hexadecimal
In the default
F0
format, the data is described in ASCII hexadecimal, with each
character having a value from 0 thru 9 or A thru F. Each ASCII character describes 4
bits of data.
F0 Character Decimal Equiv
F0 Character Decimal Equiv
00 8 8
11 9 9
22 A 10
33 B 11
44 C 12
55 D 13
66 E 14
77 F 15
Data received for output to the digital ports must be contained within a prefix (
D
)
and a suffix (
Z
). If the amount of data sent is less than the number of bits programmed as
outputs, the least-significant bits will contain the data sent and the most-significant bits
will be cleared to logic zero. If the data sent is greater than the number of bits
programmed for output or selected by the
Pn
command, the
Digital488
will generate a
conflict error and ignore the entire command string. The
Data Strobe
output is pulse for
approximately 50 microseconds after new data is output on the selected port(s).
Kommentare zu diesen Handbüchern