8.4.3 Jumper
Setting:
Note:
user should remove R19, R20, R21, R22, R23 in the 7188XC first.
J1:
I/O expansion bus, connect to J1 of 7188XC
J2:
I/O expansion bus, connect to J2 of 7188XC
J7:
Two channels of isolated DI
TP0:
Original function on 7188XC
TP1:
Five channels of isolated DI
Jumper:
Select
TP0
or
TP1
function
TP0:
JP9 and JP8 closed
TP1:
JP9 and JP10 closed
8.4.4 Programming:
SetTo10Dir(1); XDI1=GetTo1();
// set to D/I & read D/I, channel_1
SetTi1Dir(1);
XDI2=GetTi1(); // set to D/I & read D/I, channel_2
SetDio9Dir(1); XDI3=GetDio9();
// set to D/I & read D/I, channel_3
SetDio14Dir(1); XDI4=GetDio14();
// set to D/I & read D/I, channel_4
SetDio4Dir(1); XDI5=GetDio4();
// set to D/I & read D/I, channel_5
SetTi0Dir(1);
XDI6=GetTi0(); // set to D/I & read D/I, channel_6
SetTo0Dir(1);
XDI7=GetTo0();
// set to D/I & read D/I, channel_7
I/O Expansion Bus for 7188X/7188E User’s Manual, Jan/2005 v1.5, 7PH-000-15---49