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.

• i8091_SET_NCDescription:This function is used to set all of the following limit switches to N.C.(normally closed) orN.O.(normally open). If users set the “sw” parameter as N.O, then those limit switches areactive low. If users set the value as N.C, those limit switches are then “active high”. Theauto-protection system will automatically change the judgments, whatever it is, to N.O. orN.C.Limit switches: ORG1, LS11, LS14, ORG2, LS21, LS24, EMG.Syntax:[ C ]void i8091_SET_NC(unsigned char cardNo, unsigned char sw)Parameter:cardNO : [Input] The board number (0~19)sw : [Input] 0(NO) normally open (default), 1(YES) normally closed.Return Value:NoneExample:#define CARD1 1int slot=1;i8091_REGISTRATION(CARD1, slot);i8091_SET_NC(CARD1, NO, NO);Remark:This function can be applied on module: I-8091.LinPAC-8x4x SDK:217

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

Saved successfully!

Ooh no, something went wrong!