I-8091 User Manual
Version 2.0 04/2003
1 : REVERSE_DIR
(5) i8091_SET_MODE(unsigned char cardNo,
unsigned
char
modeX,
unsigned
char
modeY)
I-8091 card provide two kind output method.
cardNo : board number 0~19.
modeX : X axis output mode
modeY : Y axis output mode
0 : CW_CCW
CW/CCW mode
1 : PULSE_DIR
Pulse/Direction mode
CW
CCW
Pulse
Direction
Mode = 1 (PULSE_DIR)
Mode = 0 (CW_CCW)
Example:
i8091_SET_MODE(1,CW_CCW, PULSE_DIR);
(6) i8091_SET_SERVO_ON(unsigned char cardNo,
unsigned
char
sonX,
unsigned
char
sonY)
To turn servo motor into servo ON(OFF) state, or turn stepping motor into
hold ON(OFF) state.
cardNo : board number 0~19.
sonX : X axis servo/hold on switch
sonY : Y axis servo/hold on switch
1 : ON
0 : OFF
(7) i8091_SET_NC(unsigned char cardNo, unsigned char sw);
To set all of the following limit switches as N.C.(normal close) or
N.O.(normal open). If set as N.O., those limit switches are active low. If
http://www.icpdas.com
2-22
ICPDAS