
ICPDAS
I-8092F Software User Manual
165
i8092_HOME _PCLR
Format
:
void
i8092_HOME_PCLR(
unsigned char
cardNo,
WORD
axis,
WORD
nType)
Function
:
Clear the logic position and real position counter at termination home search.
Parameters
:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
nType
=0, disable;
nType
=1, enable.
Example
:
//Enable the PCLR (WR7/D8) condition.
i8092_HOME_PCLR(1,
0xf,
0);
i8092_HOME _START
Format
:
void
i8092_HOME_START(
unsigned char
cardNo,
WORD
axis)
Function
:
Start execution of automatic home search.
Parameters
:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
Example
:
//Start home search operation.
i8092_HOME_START(1,
0xf);