ICPDAS
I-8092F Software User Manual
124
i8092_GET_R
Format:
DWORD
i8092_GET_R(
unsigned char
cardNo,
WORD
axis)
Function:
Get the range value from the global variable.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
Example:
//Get the range value.
i8092_GET_R(1, 0x1);
i8092_HLMTP_LEVEL
i8092_HLMTM_LEVEL
Format:
void
i8092_HLMTP_LEVEL(
unsigned char
cardNo,
WORD
axis,
WORD
nLevel)
void
i8092_HLMTM_LEVEL(
unsigned char
cardNo,
WORD
axis,
WORD
nLevel)
Function:
Set the logical level of +/- direction hardware limit input signal.
Parameters:
cardNo
is the board number.
axis
is the motion axis code, as shows in Table 2-1.
nLevel
is the active level, nLevel=0: Low active, nLevel =1: Hi active.
Other values are invalid.
Example
:
//Set the positive direction hardware limit as Low active for 2-axes.
i8092_HLMTP(1, 0xf, 0);