
ICPDAS
I-8092F Software User Manual
14
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
cardNo
,
WORD
axis
,
BYTE
nFLEdge
,
BYTE
nRLEdge
)
Description:
This function sets the active logic level of the hardware limit switch inputs.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
nFLEdge
: Active level setting for the forward limit switch.
0 = low active; 1 = high active
nRLEdge
: Active level setting for the reverse limit switch.
0 = low active; 1 = high active
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.