Setting The Servo Alarm Function - ICP DAS USA I-8092F User Manual

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

Advertisement

void i8092_SERVO_OFF(BYTE
Description:
This function outputs a DO signal (ENABLE) to disable the motor driver.
Parameters:
cardNo:
axis:
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
Description:
This function sets the ALARM input signal related parameters.
Parameters:
cardNo:
axis:
nMode:
nAEdge:
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.
ICPDAS
cardNo,
Module number
Axis or axes (Please refer to Table 2-1)
cardNo,
BYTE
nAEdge)
Module number
Axis or axes (Please refer to Table 2-1)
Mode: 0 = disable ALARM function;
1 = enable ALARM function
Sets the trigger level
0 = low active;
1 = high active
WORD
axis)
WORD
BYTE
axis,
19
I-8092F Software User Manual
nMode,

Advertisement

Table of Contents
loading

Table of Contents