
RDAG12-8 Manual
Examples:
Program even bits as outputs, and odd bits as inputs.
SEND:
MAA[CR]
RECEIVE:
[CR]
Program bits 0-3 as input, and bits 4-7 as output.
SEND:
MF0[CR]
RECEIVE:
[CR]
Read Digital Inputs
I
Read 7 bits
In
Read bit number n
These commands read the digital input bits from the Pod. All byte responses are sent
most-significant nibble first.
Examples:
Read ALL 7 bits.
SEND:
I[CR]
RECEIVE:
FF[CR]
Read only bit 2.
SEND:
I2[CR]
RECEIVE:
1[CR]
Write Digital Outputs
Oxx
Write to all 7 digital output bits. (Port 0)
Ox±
Set bit x hi or low
These commands write outputs to digital bits. Any attempt to write to a bit configured as an input
will fail. Writing to a byte or word wherein some bits are input and some are output will cause the
output latches to change to the new value, but the bits which are inputs will not output the value
until/unless they are placed in output mode. Single bit commands will return an error (4) if an
attempt is made to write to a bit configured as an input.
Writing a "one" (+) to a bit asserts the pull-down for that bit. Writing a "zero" (-) de-asserts the
pull-down. Therefore, if the factory d5V pull-up is installed, writing a one will cause zero
volts to be at the connector, and writing a zero will cause +5 volts to be asserted.
Examples:
Write a one to bit 6 (set output to zero volts, assert the pull-down).
SEND:
O6+[CR]
RECEIVE:
[CR]
Page 3-6
Manual MRDAG12-8H.Bc2
Содержание E-RDAG12-8
Страница 11: ...RDAG12 8 Manual Figure 1 1 RDAG12 8 Block Diagram Page 1 6 Manual MRDAG12 8H Bc2 ...
Страница 12: ...Figure 1 2 RDAG12 8 Hole Spacing Diagram Page 1 7 Manual MRDAG12 8H Bc2 ...
Страница 21: ...Figure 2 1 Simplified Schematic for Voltage and Current Sink Outputs Page 2 9 Manual MRDAG12 8H Bc2 ...
Страница 35: ...RDAG12 8 Manual Page A 4 Manual MRDAG12 8H Bc2 ...