
ICPDAS
I-8092F Software User Manual
125
i8092_SLMTP_MODE
i8092_SLMTM_MODE
Format:
void
i8092_SLMTP_MODE(
unsigned char
cardNo,
WORD
axis,
WORD
nMode)
void
i8092_SLMTM_MODE(
unsigned char
cardNo,
WORD
axis,
WORD
nMode)
Function:
Set the +/- direction software limit.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
nMode
n=0: Enable; n=1: Disable
Example:
//Enable the positive direction software limit for 2 axes.
i8092_SLMTP_LEVEL(1, 0x3, 0);
i8092_COMPARE_LP
Format:
void
i8092_COMPARE_LP (
unsigned char
cardNo,
WORD
axis)
Function:
The function selects the logical position counter (LP) as the comparing target of
COMP
+/-
registers.
Parameters:
cardNo
is the board number.
axis
is the motion axis code, as shows in Table 2-1,
Example:
//Set the comparing target to LP for all axes.
i8092_COMPARE_LP(1,
0x3);