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.

• I8090_INIT_CARDDescription:This function is applied to reset the I-8090 counter values of three axes in a specificslot of LinPAC and set the modes of three counters.Syntax:[ C ]void I8090_INIT_CARD(unsigned char cardNo, unsigned char x_mode,unsigned char y_mode, unsigned char z_mode)Parameter:cardNo : [Input] Specify the LinPAC-8000 slot (Range: 1 to 8)x_mode : [Input] The X axis counter mode. Refer to the Remarks.y_mode : [Input] The Y axis counter mode. Refer to the Remarks.z_mode : [Input] The Z axis counter mode. Refer to the Remarks.Return Value:NoneExample:unsigned char slot=1;unsigned int address=0x0;I8090_REGISTRATION(slot, address);I8090_INIT_CARD(slot, ENC_QUADRANT, ENC_QUADRANT,ENC_QUADRANT);//The X, Y, Z axis encoder mode are ENC_QUADRANT mode.Remark:There are three modes for each axis of I-8090 :(1) ENC_QUADRANT(2) ENC_CW_CCW(3) ENC_PULSE_DIRLinPAC-8x4x SDK:204

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

Saved successfully!

Ooh no, something went wrong!