Setting The Motion Stop Method When Limit Switch Is Sensed; Setting The Trigger Level Of The Nhome Sensor - ICP DAS USA I-8092F User Manual

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

Advertisement

2.7 Setting the Motion Stop Method When Limit Switch Is
Sensed
void
i8092MF_LIMITSTOP_MODE
Description:
This function sets the motion stop mode of the axes when the
corresponding limit switches are detected.
Parameters:
cardNo:
axis:
nMode:
Return:
None
Example:
i8092MF_LIMITSTOP_MODE(1, AXIS_X, 0);
//set X axis to stop immediately if any limit switch on X axis is triggered.

2.8 Setting the Trigger Level of the NHOME Sensor

void i8092MF_SET_NHOME(BYTE
Description:
This function sets the trigger level of the near home sensor (NHOME).
Parameters:
cardNo:
axis:
nNHEdge:
Return:
None
Example:
i8092MF_SET_NHOME(1, AXIS_XY, 0);
//set the trigger level of NHOME of X and Y axes on module 1 to be active low.
ICPDAS
(BYTE
Module number
Axis or axes (Please refer to Table 2-1)
0: stop immediately; 1: decelerating to stop
cardNo,
Module number
Axis or axes (Please refer to Table 2-1)
Active level setting for the near home sensor.
0 = low active;
WORD
cardNo,
WORD
BYTE
axis,
1 = high active
15
I-8092F Software User Manual
BYTE
axis,
nMode)
nNHEdge)

Advertisement

Table of Contents
loading

Table of Contents