9 home return mode, Home return mode – ADLINK PCI-8164 User Manual

Page 223

Advertising
background image

Function Library

211

6.9 Home Return Mode

@ Name

_8164_set_home_config – Set the configuration for home

return.

_8164_home_move – Perform a home return move.

_8164_escape_home – Escape home

_8164_home_search – Perform auto home search

@ Description

_8164_set_home_config:
Configures the home return mode, origin and 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 con-
trol.

_8164_home_move:
Causes the axis to perform a home return move according to the
_8164_set_home_config() function settings. The direction of

movement is determined by the sign of velocity parameter (svel,
mvel). Since the stopping condition of this function is determined
by the home_mode setting, you must take caution in selecting the
initial moving direction. You must also take caution when handling
conditions when the limit switch is touched or other conditions that
are possible causing the axis to stop. Executing v_stop() func-

tion during home_move() can also cause the axis to stop.
_8164_escape_home:
After homing, this function leaves the home switch.

_8164_home_search:
Starts home searching regardless of the location of axis. The
ORGoffset must be set to non-zero to previous miss operation.

Advertising