![Galil DMC-4040 Скачать руководство пользователя страница 126](http://html1.mh-extra.com/html/galil/dmc-4040/dmc-4040_user-manual_3282915126.webp)
Stepper Position Maintenance Mode (SPM)
The Galil controller can be set into the Stepper Position Maintenance (SPM) mode to handle the event of stepper
motor position error. The mode looks at position feedback from the main encoder and compares it to the
commanded step pulses. The position information is used to determine if there is any significant difference between
the commanded and the actual motor positions. If such error is detected, it is updated into a command value for
operator use. In addition, the SPM mode can be used as a method to correct for friction at the end of a
microstepping move. This capability provides closed-loop control at the application program level. SPM mode can
be used with Galil and non-Galil step drives.
SPM mode is configured, executed, and managed with seven commands. This mode also utilizes the #POSERR
automatic subroutine allowing for automatic user-defined handling of an error event.
Internal Controller Commands (user can query):
QS
Error Magnitude (pulses)
User Configurable Commands (user can query & change):
OE
Profiler Off-On Error
YA
Step Drive Resolution (pulses / full motor step)
YB
Step Motor Resolution (full motor steps / revolution)
YC
Encoder Resolution (counts / revolution)
YR
Error Correction (pulses)
YS
Stepper Position Maintenance enable, status
A pulse is defined by the resolution of the step drive being used. Therefore, one pulse could be a full step, a half
step or a microstep.
When a Galil controller is configured for step motor operation, the step pulse output by the controller is internally
fed back to the auxiliary encoder register. For SPM the feedback encoder on the stepper will connect to the main
encoder port. Enabling the SPM mode on a controller with YS=1 executes an internal monitoring of the auxiliary
and main encoder registers for that axis or axes. Position error is then tracked in step pulses between these two
registers (QS command).
YC
YB
YA
TP
TD
QS
×
×
−
=
Where TD is the auxiliary encoder register(step pulses) and TP is the main encoder register(feedback encoder).
Additionally, YA defines the step drive resolution where YA = 1 for full stepping or YA = 2 for half stepping. The
full range of YA is up to YA = 9999 for microstepping drives.
Error Limit
The value of QS is internally monitored to determine if it exceeds a preset limit of three full motor steps. Once the
value of QS exceeds this limit, the controller then performs the following actions:
1. The motion is maintained or is stopped, depending on the setting of the OE command. If OE=0 the axis
stays in motion, if OE=1 the axis is stopped.
2. YS is set to 2, which causes the automatic subroutine labeled #POSERR to be executed.
Correction
A correction move can be commanded by assigning the value of QS to the YR correction move command. The
correction move is issued only after the axis has been stopped. After an error correction move has completed and
Chapter 6 Programming Motion
•
117
DMC-40x0 User Manual
Содержание DMC-4040
Страница 17: ...DMC 4080 Layout Figure 2 2 Outline of the of the DMC 4080 DMC 40x0 User Manual Chapter 2 Getting Started 8...
Страница 19: ...DMC 4040 Dimensions Figure 2 5 Dimensions of DMC 4040 DMC 40x0 User Manual Chapter 2 Getting Started 10...
Страница 20: ...DMC 4080 Dimensions Figure 2 6 Dimensions of DMC 4080 Chapter 2 Getting Started 11 DMC 40x0 User Manual...
Страница 54: ...Chapter 3 Connecting Hardware 45 DMC 40x0 User Manual...
Страница 55: ...DMC 40x0 User Manual Chapter 3 Connecting Hardware 46...
Страница 56: ...Chapter 3 Connecting Hardware 47 DMC 40x0 User Manual...
Страница 73: ...Figure 4 1 GalilTools DMC 40x0 User Manual Chapter 4 Software Tools and Communication 64...
Страница 185: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 7 Application Programming 176...
Страница 205: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 10 Theory of Operation 196...
Страница 220: ...Step 2 Remove ICM For DMC 4040 Proceed to Step 3 Configure Circuit Appendices 211 DMC 40x0 User Manual...
Страница 222: ...Step 2 Remove ICM s Appendices 213 DMC 40x0 User Manual...
Страница 232: ...DMC 4080 Steps 4 and 5 Step 4 Replace ICM s Appendices 223 DMC 40x0 User Manual...