First, the controller generates a motion profile in accordance with the motion commands.
Second, the profiler generates pulses as prescribed by the motion profile. The pulses that are generated
by the motion profiler can be monitored by the command, RP (Reference Position). RP gives the
absolute value of the position as determined by the motion profiler. The command, DP, can be used to
set the value of the reference position. For example, DP 0, defines the reference position of the A axis
to be zero.
Third, the output of the motion profiler is filtered by the stepper smoothing filter. This filter adds a
delay in the output of the stepper motor pulses. The amount of delay depends on the parameter which
is specified by the command, KS. As mentioned earlier, there will always be some amount of stepper
motor smoothing. The default value for KS is 1.313 which corresponds to a time constant of 3.939
sample periods.
Fourth, the output of the stepper smoothing filter is buffered and is available for input to the stepper
motor driver. The pulses which are generated by the smoothing filter can be monitored by the
command, TD (Tell Dual). TD gives the absolute value of the position as determined by actual output
of the buffer. The command, DP sets the value of the step count register as well as the value of the
reference position. For example, DP 0, defines the reference position of the A axis to be zero.
Motion Profiler
Stepper Smoothing Filter
(Adds a Delay)
Output Buffer
Step Count Register (TD)
Reference Position (RP)
Output
(To Stepper Driver)
Figure 6.8 - Velocity Profiles of ABC
Motion Complete Trip point
When used in stepper mode, the MC command will hold up execution of the proceeding commands
until the controller has generated the same number of steps out of the step count register as specified in
the commanded position. The MC trip point (Motion Complete) is generally more useful than AM trip
point (After Motion) since the step pulses can be delayed from the commanded position due to stepper
motor smoothing.
Using an Encoder with Stepper Motors
An encoder may be used on a stepper motor to check the actual motor position with the commanded
position. If an encoder is used, it must be connected to the main encoder input.
NOTE:
The auxiliary encoder is not available while operating with stepper motors. The position of
the encoder can be interrogated by using the command, TP. The position value can be defined by
using the command, DE.
NOTE:
Closed loop operation with a stepper motor is not possible without special firmware. Contact
Galil for more information.
Command Summary - Stepper Motor Operation
command description
DE
Define Encoder Position (When using an encoder)
DP
Define Reference Position and Step Count Register
IT
Motion Profile Smoothing - Independent Time Constant
KS
Stepper Motor Smoothing
DMC-2X00
Chapter 6 Programming Motion
y
107
Summary of Contents for DMC-2010
Page 18: ...THIS PAGE LEFT BLANK INTENTIONALLY 8 Chapter 1 Overview DMC 2X00...
Page 48: ...THIS PAGE LEFT BLANK INTENTIONALLY 38 Chapter 2 Getting Started DMC 2X00...
Page 78: ...THIS PAGE LEFT BLANK INTENTIONALLY 68 Chapter 5 Command Basics DMC 2X00...
Page 180: ...THIS PAGE LEFT BLANK INTENTIONALLY 170 Chapter 7 Application Programming DMC 2X00...
Page 215: ...Dimensions for DMC 2x00 DMC 2X00 Appendices y 205...