ICP DAS USA 3-axis encoder card, 2-axis stepping/servo Computer Hardware User Manual


 
I-8091 User Manual Version 1.0 06/2001
http://www.icpdas.com 2-25 ICPDAS
3.1.3 Simple motion commands
(12) i8091_LSP_ORG(unsigned char cardNo,
unsigned char DIR, unsigned char AXIS)
Low speed move , and stop when
ORG1/ORG2
limit switch is touched.
cardNo : board number 0~19.
ORG
Low speed
Example:
i8091_LSP_ORG(1, CCW, X_axis);
i8091_LSP_ORG(1, CCW, Y_axis);
(13) i8091_HSP_ORG(unsigned char cardNo, unsigned char DIR,
unsigned char AXIS)
High speed move , and stop when
ORG1/ORG2
limit switch is touched.
cardNo : board number 0~19.
ORG
high speed
Example:
i8091_HSP_ORG(1, CCW, X_axis);
i8091_HSP_ORG(1, CCW, Y_axis);
(14) i8091_LSP_PULSE_MOVE(unsigned char cardNo,
unsigned char AXIS, long pulseN)
Low speed move #pulseN
cardNo : board number 0~19.
#pulseN
Example:
i8091_LSP_PULSE_MOVE(1, X_axis, 20000);