
ICPDAS
I-8092F Software User Manual
19
void
i8092_SERVO_OFF(
BYTE
cardNo
,
WORD
axis
)
Description:
This function outputs a DO signal (ENABLE) to disable the motor driver.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
Return:
None
Example:
i8092_SERVO_OFF(1,
AXIS_XY);
//disables all drivers on module 1.
2.13 Setting the SERVO ALARM Function
void
i8092MF_SET_ALARM(
BYTE
cardNo
,
WORD
axis
,
BYTE
nMode
,
BYTE
nAEdge
)
Description:
This function sets the ALARM input signal related parameters.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
nMode
:
Mode: 0 = disable ALARM function;
1 = enable ALARM function
nAEdge
:
Sets the trigger level
0 = low active; 1 = high active
Return:
None
Example:
i8092MF_SET_ALARM(1, AXIS_XY, 1, 0);
//enable the ALARM for X and Y axes on module 1 and set them
//as low-active.