10 home return mode – ADLINK PCI-8154 User Manual

Page 176

Advertising
background image

166

Function Library

6.10 Home Return Mode

@ Name

_8154_set_home_config

– Set the configuration for home

return move motion

_8154_home_move

– Perform a home return move.

_8154_home_search

– Perform an auto search home

@ Description

_8154_set_home_config

Configures the home return mode, origin(ORG) and index sig-
nal(EZ) logic, EZ count, and ERC output options for the
home_move() function. Refer to section 4.2.10 for the setting
of home_mode control.

_8154_home_move

This function will cause the axis to perform a home return move
according to the _8164_set_home_config() function set-
tings. The direction of movement is determined by the sign of
velocity parameter (MaxVel). 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 conditions that are possible causing the
axis to stop. For more detail description, see section 4.2.10

_8154_home_search

This function will cause the axis to perform a home-search
move according to the _8164_set_home_config() function
settings. The direction of movement is determined by the sign
of velocity parameter (MaxVel). 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 conditions that are possible causing the
axis to stop. For more detail description, see section 4.2.11

Advertising