Setting The Active Level Of The Hardware Limit Switches - ICP DAS USA I-8092F User Manual

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

Advertisement

Example:
i8092MF_SET_MAX_V(1, AXIS_XY, 200000L);
//The maximum speed for the X and Y axes of module 1 is 200KPPS.
//The resolution of the speed will be 200000/8000 = 25 PPS.

2.6 Setting the Active Level of the Hardware Limit Switches

void i8092MF_SET_HLMT(BYTE
Description:
This function sets the active logic level of the hardware limit switch inputs.
Parameters:
cardNo:
axis:
nFLEdge:
nRLEdge:
Return:
None
Example:
i8092MF_SET_HLMT(1, AXIS_XY, 0, 0);
//set all the trigger levels as low-active for all limit switches
//on module 1.
ICPDAS
cardNo,
BYTE
nRLEdge)
Module number
Axis or axes (Please refer to Table 2-1)
Active level setting for the forward limit switch.
0 = low active;
1 = high active
Active level setting for the reverse limit switch.
0 = low active;
1 = high active
WORD
BYTE
axis,
14
I-8092F Software User Manual
nFLEdge,

Advertisement

Table of Contents
loading

Table of Contents