Function Library 143
6.9 Home Return Mode
@ Name
_8102_set_home_config – Set the configuration for
home return.
_8102_home_move – Perform a home return move.
_8102_home_search – Perform auto home search
@ Description
_8102_set_home_config:
Configures the home return mode, origin & index signal(EZ) logic,
EZ count, and ERC output options for the home_move() function.
Refer to Section 4.1.8 for the setting of home_mode control.
_8102_home_move:
This function will cause the axis to perform a home return move
according to the _8102_set_home_config() function settings. The
direction of movement is determined by the sign of velocity param-
eter (svel, mvel). Since the stopping condition of this function is
determined by the home_mode setting, users should take care in
selecting the initial moving direction. Users should also take care
to handle conditions when the limit switch is touched or other con-
ditions that are possible causing the axis to stop. Executing
v_stop() function during home_move() can also cause the axis to
stop.
_8102_home_search:
This function is used to start home searching no matter the loca-
tion of axis. The ORGoffset must be set to non-zero to previous
miss operation.
@ Syntax
C/C++ (DOS, Windows 95/NT)
I16 _8102_set_home_config(I16 AxisNo, I16
home_mode, I16 org_logic, I16 ez_logic, I16
ez_count, I16 erc_out);
I16 _8102_home_move(I16 AxisNo, F64 StrVel, F64
MaxVel, F64 Tacc);