![ICP DAS USA PDS-700 Series Скачать руководство пользователя страница 111](http://html1.mh-extra.com/html/icp-das-usa/pds-700-series/pds-700-series_user-manual_3598284111.webp)
- 111 -
// DO program demo on a PC client
void CManual1Dlg::OnOpen_Com()
{
Open_Com(3,115200,8,0,1);
//COM Port: 3, Baud Rate:115200, Data Bit:8, Parity Bit: 0, Stop Bit: 1
}
void CManual1Dlg::OnClose_Com()
{
Close_Com(3); }
void CManual1Dlg::OnDigital_Out()
{
iRet=DCON_Write_DO(3,1,-1,4,iDO_value,0,100);
//COM Port: 3, Address: 1, Slot: -1, total channel count:4, DO data,
//Checksum: disabled, Timeout: 100 (ms)
}
The functions in the General DCON API kit can be used to access the I/O lines on the
PDS series module:
Categorization
Dll and lib used
Call condition
Starting function:
Open_Com()
Uart.dll
Uart.lib
Called once when the program starts.
I/O functions
DCON_Write_DO()
DCON_Write_DO_Bit()
DCON_Read_DIO()
dcon_pc.dll
dcon_pc.lib
Calls the I/O functions for requirements
Communication
Send_Receive_Cmd()
Uart.dll
Uart.lib
Calls the communication functions for
requirements
Ending function
Close_Com()
Uart.dll
Uart.lib
Called once before the program exits.
Содержание 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...