13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• DIO_DI_8Description:This function is used to obtain 8-bit data from DIO modules. These modules run 8digital input and 8 digital output channels simultaneously. The 0~7 bits of intput data, aremapped onto the 0~7 iutput channels for their specific DIO modules respectively.Syntax:Unsigned char DIO_DI_8(int slot)[ C ]Parameter:slot :[Input] the slot number where the I/O module is plugged into.Return Value:Input dataExample:int slot=1;unsigned char data;data=DIO_DI_8(slot);// The I-8054W is plugged in slot 1 of LinPAC-8000 and has inputs in// channel 0 and 1.// Returned value: data=0xfCRemark:This function can be applied in modules: I-8054W, I-8055W and I-8063W.LinPAC-8x4x SDK:76

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

Saved successfully!

Ooh no, something went wrong!