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_INTP_ARC02Description:This command generates an interpolation arc in the X-Y plane. The host willautomatically generate a trapezoidal speed profile of the X-axis and Y-axis via thestate-machine-type calculation method. The i8091_INTP_ARC02() only sets parametersinto the driver. <strong>User</strong>s can directly call the do { } while (i8091_INTP_STOP( ) !=READY)method to execute the computing entity.Syntax:[ C ]void i8091_INTP_ARC02(unsigned char cardNo, long x, long y, long R,unsigned char dir, unsigned int speed, unsigned char acc_mode)Parameter:cardNO : [Input] The board number (0~19)x : [Input] The center point of the circle relates to the present positiony : [Input] The center point of the circle relates to the present positionR : [Input] The radius of arcdir : [Input] The moving direction (0:CW, 1:CCW)R dir path of curveR>0 CW ‘B’R>0 CCW ‘C’R

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

Saved successfully!

Ooh no, something went wrong!