9 home return mode, Home return mode – ADLINK PCI-8102 User Manual
Page 151

140
Function Library
SVacc: Specified velocity interval in which S-curve acceleration is
performed.
Note: SVacc = 0, for pure S-Curve. For more details, see
section 4.2.4
SVdec: specified velocity interval in which S-curve deceleration is
performed.
Note: SVdec = 0, for pure S-Curve. For more details, see
section 4.2.4
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: