
Section 3 Command Descriptions
3.8
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
Digital232
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).
Example:
@
reset the
Digital232
C2G2
configure ports 1 & 2 as output
D4E6BZ
output hexadecimal '4E6B' to ports 1 & 2
R0
read data from the
Digital232
display shows 4E6B
F1 Format - ASCII Character
In the
F1
format, the data is coded and transmitted in ASCII Characters
with the four least significant bits of each ASCII character representing four
bits of data.
F1 Character Decimal
Equiv F1 Character Decimal Equiv
00 8 8
11 9 9
22 : 10
33 ; 11
44 < 12
55 = 13
66 > 14
77 ? 15
Komentáře k této Příručce