4.11 Using Digital Input and Digital output
The I-7188XC(D) provides two DI channels and three DO channels. The
SetDo1High()
,
SetDo1Low()
,
SetDo2High()
,
SetDo2Low()
,
SetDo3High()
and
SetDo3Low()
functions can be used to control the
three DO channels, and the
GetDi2()
and
GetDi3()
function can be
used to read the states of the two DI channels.
For DI and DO wiring information, please refer to
Section 1.4.6 DI and
DO Wire Connection
.
The wiring for a DI/DO application is as follows:
X3
X2
X1
DO3
DO2
DO1
DI3
DI2
INIT*
D2+
D2-
Vs+
GND
Current Limit Resistor
Load current <= 100mA
Inductive load
or
Conductive load
Relay Contact
or
TTL/CMOS
or
Open Collector
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
67
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...