PDS Series User Manual ( V1.4, Oct. 2009) ----- 116
DCON_Read_DIO ()
Description: This function reads the DO and DI lines status.
Syntax: DCON_Read_DIO(
unsigned
char
cComPort,
short
iAddress,
short
iSlot,
short
iDI_TotalCh,
short
iDO_TotalCh,
short
iCheckSum,
short
iTimeOut,
unsigned
long
* lDI_Value,
unsigned
long
* lDO_Value,
char
* cDI_BitValue,
char
* cDO_BitValue);
Return:
0
no error
Others error codes
Input Parameter:
cComPort
COM Port number, 1 ~ 255
iAddress
Module address, 1 for the PDS series module
iSlot
–1 for the PDS
iDI_TotalCh
total DI channel count on the PDS series module
iDO_TotalCh
total DO channel count on the PDS series module
iCheckSum
0: disabled or 1: enabled
iTimeout
Timeout setting, normal = 100, unit: ms
iDI_Value
read digital input data
iDO_Value
read digital output data
cDI_BitValue
read digital input data, Boolean array format
cDO_BitValue
read digital output data, Boolean array format
Summary of Contents for PDS-700 Series
Page 56: ...PDS Series User Manual V1 4 Oct 2009 56 PDSM 782 D PPDSM 782 D Pin Assignments...
Page 58: ...PDS Series User Manual V1 4 Oct 2009 58 PDS 700 IP67...
Page 59: ...PDS Series User Manual V1 4 Oct 2009 59...
Page 60: ...PDS Series User Manual V1 4 Oct 2009 60...
Page 61: ...PDS Series User Manual V1 4 Oct 2009 61 DS 712 PPDS 712 MTCP Pin Assignments E1 10 100 Base TX...
Page 62: ...PDS Series User Manual V1 4 Oct 2009 62 DS 715 PPDS 715 MTCP Pin Assignments E1 10 100 Base TX...
Page 64: ...PDS Series User Manual V1 4 Oct 2009 64 Digital Output...
Page 66: ...PDS Series User Manual V1 4 Oct 2009 66 PDSM 700 PPDSM 700 MTCP...
Page 67: ...PDS Series User Manual V1 4 Oct 2009 67 PPDS 700 IP67...
Page 68: ...PDS Series User Manual V1 4 Oct 2009 68...
Page 69: ...PDS Series User Manual V1 4 Oct 2009 69 Din Rail Mounting Stack Mounting...
Page 91: ...PDS Series User Manual V1 4 Oct 2009 91...
Page 147: ...147 Init Mode Short INIT and GND PDSM 700 D PPDSM 700 D MTCP Run Mode Open INIT...
Page 152: ...PDS Series User Manual V1 4 Oct 2009 152 Example...