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_DO_8Description:This function is used to output 8-bit data to DIO modules. These modules run 8 digitalinput channels and 8 digital output channels simultaneously. The 0~7 bits of output dataare mapped onto the 0~7 output channels for their specific DIO modules respectively.Syntax:[ C ]void DIO_DO_8(int slot, unsigned char data)Parameter:slot :data :[Input] the slot number where the I/O module is plugged into.[Input] output data.Return Value:NoneExample:int slot=1;unsigned char data=3;DIO_DO_8(slot, data);// The I-8054 card is plugged in slot 1 of LinPAC-8000 and can turn on channels 0// and 1.// It not only outputs a value, but also shows 16LEDs.Remark:This function can be applied in modules: I-8054W, I-8055W, and I-8063W.LinPAC-8x4x SDK:74

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

Saved successfully!

Ooh no, something went wrong!