- 113 -
Send_Receive_Cmd ()
Description: This function sends a DCON command string and receives the response.
Syntax: Send_Receive_Cmd(
unsigned
char
cPort,
char
szCmd[],
char
szResult[],
WORD wTimeOut,
WORD wChksum,
WORD *wT)
Return:
0
no error
Others error codes
Parameters:
cPort
COM Port number (1 ~ 255)
szCmd[]
the send string, 1024 bytes maximum, without a zero (0x0D) character
szResult[]
the result string recevied, 1024 bytes maximum, with one zero or 0x0D
terminal character
wTimeOut
timeout for receiving the result string. Unit: ms
wChksum
0 ==> add one 0x0D byte to the end of the szCmd
<>0 ==> add two check sum bytes and one 0x0D byte to the end of the
szCmd
*wT
return a reference number to identify the performance
Содержание PDS-700 Series
Страница 56: ...PDS Series User Manual V1 4 Oct 2009 56 PDSM 782 D PPDSM 782 D Pin Assignments...
Страница 58: ...PDS Series User Manual V1 4 Oct 2009 58 PDS 700 IP67...
Страница 59: ...PDS Series User Manual V1 4 Oct 2009 59...
Страница 60: ...PDS Series User Manual V1 4 Oct 2009 60...
Страница 61: ...PDS Series User Manual V1 4 Oct 2009 61 DS 712 PPDS 712 MTCP Pin Assignments E1 10 100 Base TX...
Страница 62: ...PDS Series User Manual V1 4 Oct 2009 62 DS 715 PPDS 715 MTCP Pin Assignments E1 10 100 Base TX...
Страница 64: ...PDS Series User Manual V1 4 Oct 2009 64 Digital Output...
Страница 66: ...PDS Series User Manual V1 4 Oct 2009 66 PDSM 700 PPDSM 700 MTCP...
Страница 67: ...PDS Series User Manual V1 4 Oct 2009 67 PPDS 700 IP67...
Страница 68: ...PDS Series User Manual V1 4 Oct 2009 68...
Страница 69: ...PDS Series User Manual V1 4 Oct 2009 69 Din Rail Mounting Stack Mounting...
Страница 91: ...PDS Series User Manual V1 4 Oct 2009 91...
Страница 146: ...PDS Series User Manual V1 4 Oct 2009 146 9 2 Regulate Init Normal Mode PDS 700 D PPDS 700 D MTCP DS 700 PDS 782 D 25...
Страница 147: ...147 Init Mode Short INIT and GND PDSM 700 D PPDSM 700 D MTCP Run Mode Open INIT...
Страница 148: ...PDS Series User Manual V1 4 Oct 2009 148 PPDS 700 IP67 Run Mode Open INIT Init Mode Short INIT and GND...
Страница 152: ...PDS Series User Manual V1 4 Oct 2009 152 Example...
Страница 176: ...PDS Series User Manual V1 4 Oct 2009 176...