13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

wBuf[0] = m_port;wBuf[1] = m_address;wBuf[2] = 0x7050;wBuf[3] = m_checksum;wBuf[4] = m_timeout;wBuf[6] = 0;ClearDigitalInLatch(wBuf, fBuf, szSend, szReceive);Close_Com(COM3);Remark:• DigitalInCounterReadDescription:This function is used to obtain the counter event value of the channel number of digitalinput module.Syntax:[ C ]WORD DigitalInCounterRead(WORD wBuf[], float fBuf[], char szSend[],char szReceive[])Parameter:wBuf: WORD Input/Output argument talbewBuf[0] : [Input] COM port number, from 1 to 255wBuf[1] : [Input] Module address, form 0x00 to 0xFFwBuf[2] : [Input] Module ID, 0x7041/44/50/51/52/53/55/58/60/63/65wBuf[3] : [Input] 0= Checksum disable; 1= Checksum enablewBuf[4] : [Input] Timeout setting , normal=100 msecondwBuf[5] : : [Input] The digital input Channel No.LinPAC-8x4x SDK:95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!