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.

• I8090_RESET_ENCODERDescription:This function is used to reset the counter value to be zero for the selected axis on thespecified encoder card.Syntax:[ C ]void I8090_RESET_ENCODER(unsigned char cardNo, unsigned char axis)Parameter:cardNo : [Input] Specify the LinPAC-8000 slot (Range: 1 to 8)axis : [Input] The selected axis. 1: X_axis; 2: Y_axis; 3: Z_axisReturn Value:NoneExample:unsigned char slot=1;unsigned int address=0x0;I8090_REGISTRATION(slot, address);I8090_INIT_CARD(slot, ENC_QUADRANT, ENC_QUADRANT,ENC_QUADRANT);I8090_RESET_ENCODER(slot, X_axis); //Set X-axis counter value to be zero.Remark:This function can be applied on module: I-8090.LinPAC-8x4x SDK:206

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

Saved successfully!

Ooh no, something went wrong!