Find Docs

Galil Motion Control - programming (Page 13)

Wodocs >> Electronics : Motion Control >> Galil Motion Control programming Page 13
Galil Motion Control - programming
Technical Reference
Motion Programming
www.galilmc.com
/
Galil Motion Control, Inc.
17
Contouring
The contour mode bypasses the DMC motion profiler and pre-
scribes an arbitrary position trajectory. Position increments (CD)
over a time interval (DT) are specified for each axis.The contour
mode is useful when complex and computer-generated trajecto-
ries must be followed. An automatic data recording feature allows
the DMC to "learn" a path then follow it in the contour mode.
Dual Loop
The dual-loop encoder feature enables the DMC to compensate for
backlash.There are two compensation methods: continuous dual
loop which performs the correction along the move; and sampled
dual loop which performs the correction at the final point.
In both cases, two encoders are used for each axis: one mount-
ed on the motor and the other on the load.The continuous dual
loop, which is activated with the instruction DV1, closes the posi-
tion loop with the load encoder and derives the damping terms
from the motor encoder.This method provides backlash compensa-
tion along the motion path.
INSTRUCTION
INTERPRETATION
#RECORD
Begin program to record
DM XPOS[501]
Dimension array
RA XPOS[]
Specify automatic data record
RD_TPX
Specify X position for capture
MOX
Turn motor off for teach
RC2
Begin recording every 4 msec
#A;JP#A,_RC=1
Wait until done recording
#COMPUTE
Compute program
DM DX[500]
Define new array
C=0
Initialize array counter
#L
Loop label
DX [C] = XPOS [C+1] -XPOS [C] Compute difference and store in array
C=C+1
Increment counter
JP #L,C<500
Loop until done
#PLAYBK
Playback program
SHX
Turn motor on
CMX
Contour mode on X
DT2
Specify time interval
I=0
Initialize array counter
#B
Loop label
CD DX[I];WC
Specify contour distance
I=I+1
Increment counter
JP #B,I<500
Loop until done
EN
End program
Example--Contouring
The sampled dual loop performs the correction at the end of the move,
as illustrated by the example. Consider a linear slide driven by a lead-
screw.The slide is equipped with a linear encoder having a resolution of
1 micron and a rotary encoder which provides 4 counts per micron.The
control method is to close the loop with the rotary encoder and monitor
the linear encoder by the auxiliary encoder input.To perform a move of
10,000 microns, the motor is driven 40,000 counts. Once the motion is
complete, the linear encoder is observed with the TD command and the
position error of the load is monitored.The motor is then required to per-
form a correction move.
INSTRUCTION
INTERPRETATION
#DUAL
Label
DE 0
Set load position to zero
PR 40000
Distance
BGX
Start first move
AMX
Wait for completion
WT 20
Wait for settling if necessary
PR 4*(10000-_TDX)
Correction move
BGX
Start correction
EN
End program
Example--Dual Loop

<< Previous       1 2 3 4 5 6 7 8 9 10 11 12 13       Next >>



Other Documents:
softorder, system, utilities, wsdk, activelife, camalot, mojavaton, smmov, Filter Equiv, note 1410, note 1411, note 1412, eseries brochure, ethernet dmc 21x 2, ethernet emerge, ethernet flight, ethernet horizons, pr 03 30 00, pr 10 1 98, pr 10 20 99, pr 11 30 00, pr 1 13 00, pr 2 18 98, pr 3 11 98, pr 3 2 98, pr 6 15 99, pr 7 1 99, pr 8 29 00, pr 9 13 99, pr 9 9 98, db 28040 qsi, bestvalue, jacob video, icmworksheet, note 1220, note 1222, note 2311, note 2312, note 2319, note 2321, note 2326, note 3311a, note 3312, note 1419, note 1427a, note 2429, note 2438, note 4413, cadtodmc, dmcdos,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)