Find Docs

Galil Motion Control - tut2 (Page 13)

Wodocs >> Electronics : Motion Control >> Galil Motion Control tut2 Page 13
Galil Motion Control - tut2
TECHNICAL REFERENCE
MOTION PROGRAMMING
CONTOURING, DUAL LOOP
The contour mode bypasses the DMC motion profiler
and prescribes 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 trajectories must be followed. An
automatic data recording feature allows the DMC to
"learn" a path then follow it in the contour mode.
CONTOURING
DUAL LOOP
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
Continue until done recording
#COMPUTE
Compute program
DM DX[500]
Define new array
C=0
Initialize array counter
#L
Loop label
D=C+1
DELTA=XPOS[D]-XPOS[C] Compute difference
DX[C]=DELTA
Store difference 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 leadscrew. The slide is equipped with a lin-
ear 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 DE command and the position
error of the load is monitored. The motor is then required to
perform a correction move.
INSTRUCTION
INTERPRETATION
#DUAL
Label
DE 0
Set load position load to zero
PR 40000
Distance
BGX
Start first move
AMX
Wait for completion
WT 20
Wait for settling if necessary
PR 4*(10000-_DEX) Correction move
BGX
Start correction
EN
End program
Example--Dual Loop
The dual-loop encoder feature enables the DMC to com-
pensate for backlash. There are two compensation methods:
continuous dual loop which performs the correction along
the move; and sampled dual loop which performs the cor-
rection at the final point.
In both cases, two encoders are used for each axis: one
mounted on the motor and the other on the load. The
continuous dual loop, which is activated with the instruc-
tion DV1, closes the position loop with the load encoder
and derives the damping terms from the motor encoder.
This method provides backlash compensation along the
motion path.
92
·
Galil Motion Control, Inc.
·
www.galilmc.com

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



Other Documents:
tut3, tut4, tut6, amp 19540 manual, cadman, manc 18x 6, optcom, MSDS JEECHEM SHAMPOO CONCENTRATE 1, msds ALOE VERA GEL DECOLORIZED 40 X, msds ALOE VERA OIL EXTRACT Mineral Oil Base, msds ANHYDROUS LANOLIN USP, msds CARROT OIL, msds COTTONSEED OIL, msds JEECHEM 100 CG POWDER, msds JEECHEM 1450, msds JEECHEM 186, msds JEECHEM BUBBLE BATH GSE, msds JEECHEM CA 40, msds JEECHEM CA 9, msds JEECHEM CASTOR OIL PP, msds JEECHEM CER, msds JEECHEM NP 12, msds JEECHEM NP 30, msds JEECHEM NP 6, msds JEECHEM SHAMPOO BWC, msds JEECHEM SHAMPOO COMBE BLEND, msds JEECHEM SHAMPOO CONCENTRATE 2, msds JEECHEM SHAMPOO CONCENTRATE 4, msds JEECHEM SHAMPOO CONCENTRATE 4 CL, msds JEECHEM SHAMPOO CONCENTRATE 5, msds JEECHEM SHAMPOO CONCENTRATE 5 CL, msds JEECHEM SHAMPOO CONCENTRATE 7 CL, msds JEECHEM SHAMPOO ST ARR, msds JEECHEM SML, msds JEECHEM SMS, msds JEECHEM STO, msds JEECHEM STS, msds JEECOL CA 20, msds JEELAN ALCOHOL SP, msds JEELAN ALCOHOL, msds JEELAN L 60, msds JEELATE ALES 2, msds JEELATE ALS 30, msds JEELATE DLS, msds JEEMATE 1000 DPS, msds JEEMATE 1000 ML, msds JEEMATE 200 ML, msds JEEMATE 300 DPS, msds JEEMATE 300 OC, msds JEEMATE 400 DO,


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)