
ICPDAS
I-8092F Software User Manual
41
5.4 Starting the Homing Sequence
void
i8092MF_HOME _START(
BYTE
cardNo
,
WORD
axis
)
Description:
This function starts the home search of assigned axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
Return:
None
Example:
i8092MF_ HOME_START(1, AXIS_X);
//start the automatic homing sequence for the X axis on module 1.
5.5 Waiting for the Homing sequence to be Completed
BYTE
i8092MF _HOME_WAIT(
BYTE
cardNo
,
WORD
axis
)
Description:
This function assigns commands to be performed while waiting for the
automatic home search of all assigned axes to be completed.
Parameters:
cardNo
:
Module number
axis
:
Axis axes (Please refer to Table 2-1)
Return:
YES
The Homing sequence has been completed.
NO
The Homing sequence is not complete.
Example:
if
(i8092MF_HOME_WAIT(1, AXIS_X) == NO)
{
//perform some actions here if the X axis on module 1 has not completed
//its homing sequence.
}