TITAN-SVX Software Manual
page 39
Rev 4.01
A.14.9. Homing
HMODE
and
HOMEX
are the commands used to perform the home search of the
motor.
Two other commands used in homing are the target speed
HSPD
and the
acceleration
ACC
commands.
Before any motion can be initiated, the motor must be in a servo-on state. Use
SVON
command to enable and turn on the servo of the motor.
STOPX
command is used to stop the motor in motion.
To set the homing mode to search in minus direction for the encoder index
Command:
@01:HMODE=9
Reply:
#01:HMODE=9
To turn the Servo On
Command:
@01:SVON
Reply:
#01:SVON=1
To Set the Target Speed
Command:
@01:HSPD=500
Reply:
#01:HSPD=500
To Set the Acceleration
Command:
@01:ACC=2000
Reply:
#01:ACC=2000
To home the motor in using the set homing mode
Command:
@01:HOMEX
Reply:
#01:HOMEX=1
To stop the motor
Command:
@01:STOPX
Reply:
#01:STOPX=1
To check the motor status
Command:
@01:MST
Reply:
#01:MST=0x5
To check the motor position value
Command:
@01:EX
Reply:
#01:EX=0