ICP DAS USA I-8091 2-axis stepping/servo Simple motion commands, unsigned char AXIS, long pulseN

Models: 3-axis encoder card, 2-axis stepping/servo I-8090 3-axis encoder card I-8091 2-axis stepping/servo

1 69
Download 69 pages 14.6 Kb
Page 54
Image 54
3.1.3 Simple motion commands

I-8091 User Manual

Version 1.0 06/2001

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);

http://www.icpdas.com

2-25

ICPDAS

Page 54
Image 54
ICP DAS USA I-8091 2-axis stepping/servo user manual Simple motion commands, 12 i8091LSPORGunsigned char cardNo