78
•
Chapter 6 Programming Motion
DMC-1000
The smoothing parameters, x,y,z,w and n are numbers between 0 and 16 and determine the degree of
filtering. The minimum value of 1 implies no filtering, resulting in trapezoidal velocity profiles.
Larger values of the smoothing parameters imply heavier filtering and smoother moves.
Note that KS is valid only for step motors.
Homing
The Find Edge (FE) and Home (HM) instructions may be used to home the motor to a mechanical
reference. This reference is connected to the Home input line. The HM command initializes the motor
to the encoder index pulse in addition to the Home input. The configure command (CN) is used to
define the polarity of the home input.
The Find Edge (FE) instruction is useful for initializing the motor to a home switch. The home switch
is connected to the Homing Input. When the Find Edge command and Begin is used, the motor will
accelerate up to the slew speed and slew until a transition is detected on the Homing line. The motor
will then decelerate to a stop. A high deceleration value must be input before the find edge command
is issued for the motor to decelerate rapidly after sensing the home switch. The velocity profile
generated is shown in Fig. 6.7.
The Home (HM) command can be used to position the motor on the index pulse after the home switch
is detected. This allows for finer positioning on initialization. The command sequence HM and BG
causes the following sequence of events to occur.
Upon begin, motor accelerates to the slew speed. The direction of its
motion is determined by the state of the homing input. A zero (GND)
will cause the motor to start in the forward direction; +5V will cause it
to start in the reverse direction. The CN command is used to define the
polarity of the home input.
Upon detecting the home switch changing state, the motor begins
decelerating to a stop.
The motor then traverses very slowly back until the home switch toggles
again.
The motor then traverses forward until the encoder index pulse is detected.
The DMC-1000 defines the home position (0) as the position at which the
index was detected.
Example:
Instruction Interpretation
#HOME Label
AC 1000000
Acceleration Rate
DC 1000000
Deceleration Rate
SP 5000
Speed for Home Search
HM X
Home X
BG X
Begin Motion
AM X
After Complete
MG "AT HOME"
Send Message
EN End
#EDGE Label
AC 2000000
Acceleration rate
DC 2000000
Deceleration rate
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com