Setting The Servo Driver (On/Off) - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

Return:
None
Example:
i8092MF_SET_ENCODER(1, AXIS_XY, 0, 0, 0);
//set the encoder input type as A quad B; the division is 1;
//and the Z phase is low active.
void
i8092MF_SET_EN_DIR(BYTE cardNo, WORD axis, BYTE nDir)
Description:
This function sets the encoder input direction.
Parameters:
cardNo:
axis:
nDir:
Return:
None
Example:
i8092MF_SET_EN_DIR(1, AXIS_XY, 0);
//set the encoder input direction to positive direction;

2.12 Setting the Servo Driver (ON/OFF)

void i8092_SERVO_ON(BYTE
Description:
This function outputs a DO signal (ENABLE) to enable the motor driver.
Parameters:
cardNo:
axis:
Return:
None
Example:
i8092_SERVO_ON(1, AXIS_XY);
//enables all drivers on module 1.
ICPDAS
Module number
Axis or axes (Please refer to Table 2-1)
Encoder input direction: 0=positive dir; 1= negative dir
cardNo,
Module number
Axis or axes (Please refer to Table 2-1)
WORD
axis)
18
I-8092F Software User Manual

Advertisement

Table of Contents
loading

Table of Contents