
Version 1.0 06/2001 |
1: REVERSE_DIR
(5)i8091_SET_MODE(unsigned char cardNo, unsigned char modeX,
| unsigned char modeY) | |
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
Mode = 0 (CW_CCW)
CCW
Pulse
Mode = 1 (PULSE_DIR)
Direction
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 | ICPDAS |