EasyManuals Logo

Galil Motion Control DMC-1000 User Manual

Galil Motion Control DMC-1000
206 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #142 background imageLoading...
Page #142 background image
DMC-1000 Chapter 7 Application Programming 123
The dual-loop approach requires the resolution of the rotary sensor to be equal or better than that of
the linear system. Assuming that the pitch of the lead screw is 2.5mm (approximately 10 turns per
inch), a rotary encoder of 2500 lines per turn or 10,000 count per revolution results in a rotary
resolution of 0.25 micron. This results in equal resolution on both linear and rotary sensors.
To illustrate the control method, assume that the rotary encoder is used as a feedback for the X-axis,
and that the linear sensor is read and stored in the variable LINPOS. Further assume that at the start,
both the position of X and the value of LINPOS are equal to zero. Now assume that the objective is to
move the linear load to the position of 1000.
The first step is to command the X motor to move to the rotary position of 1000. Once it arrives we
check the position of the load. If, for example, the load position is 980 counts, it implies that a
correction of 20 counts must be made. However, when the X-axis is commanded to be at the position
of 1000, suppose that the actual position is only 995, implying that X has a position error of 5 counts,
which will be eliminated once the motor settles. This implies that the correction needs to be only 15
counts, since 5 counts out of the 20 would be corrected by the X-axis. Accordingly, the motion
correction should be:
Correction = Load Position Error - Rotary Position Error
The correction can be performed a few times until the error drops below +/-2 counts. Often, this is
performed in one correction cycle.
Example - backlash compensation by sampled dual loop
Instruction Interpretation
#A Label
DP0 Define starting positions as zero
LINPOS=0
PR 1000 Required distance
BGX Start motion
#B
AMX Wait for completion
WT 50 Wait 50 msec
LIN POS = _DEX Read linear position
ER=1000-LINPOS-_TEX Find the correction
JP #C,@ABS[ER]<2 Exit if error is small
PR ER Command correction
BGX Begin motion on X axis
JP #B Repeat the process
#C Label
EN End program
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-1000 and is the answer not in the manual?

Galil Motion Control DMC-1000 Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-1000
CategoryController
LanguageEnglish

Related product manuals