A
LIEN
R
EADER
P
ROTOCOL
C
HAPTER
4
R
EADER
I
NTERFACE
G
UIDE
D
OC
. C
ONTROL
# 8101938-000 R
EV
05
50
InitExternalOutput Examples
Command
Response
>set InitExternalOutput = 7
(0111
binary
= #1, 2, 3 high, #4 low)
InitExternalOutput = 7
Command
Response
>get InitExternalOutput
InitExternalOutput = 7
InvertExternalInput
9800 | 9780 | 8780 | 9640 |
9774
In the default configuration, a high voltage applied to an externa input results in
an external input reading of "1", or "on". Depending on the electronics of the
connected device, a high voltage applied to the pin may actually be the result of
the device being "inactivate" instead of "activate". To accommodate this case and
avoid possible confusion when examining bitmaps of external input states,
turning on InvertExternalInput reverses the "sense" of all the external inputs,
effectively resulting an external input value to be "1" when the pin voltage is
driven low, and vice versa..
Valid command values are ON and OFF.
The default setting is OFF.
InvertExternalInput Examples
Command
Response
>get ExternalInput
ExternalInput = 0
Command
Response
>set InvertExternalInput = ON
InvertExternalInput = ON
Command
Response
>get InvertExternalInput
InvertExternalInput = ON
Command
Response
>get ExternalInput
ExternalInput = 15
(inverted value - inputs haven't changed)
InvertExternalOutput
9800 | 9780 | 8780 | 9640 |
9774
In the default configuration, setting an external output to "1", or "on", causes the
voltage on that output pin to go high. Depending on the electronics of the
connected device, a high voltage on the pin may cause that device to "activate"
or vice versa. To accommodate this case and avoid possible confusion when
specifying bitmaps of desired external output states, turning on
InvertExternalOutput reverses the "sense" of all the external outputs, effectively
causing to pin voltage to go high when the external output is set to "0", and vice
versa.
Valid command values are ON and OFF.
The default setting is OFF.
When ON, the inversion of output states is applied both in setting and
getting the pin states. It is therefore a transparent change, unless test the
voltage on the output pins.
Содержание ALR-8780
Страница 8: ......