Find Docs

Galil Motion Control - programming (Page 5)

Wodocs >> Electronics : Motion Control >> Galil Motion Control programming Page 5
Galil Motion Control - programming
Technical Reference
Motion Programming
www.galilmc.com
/
Galil Motion Control, Inc.
9
Trippoints
Another function of advanced motion controllers is to schedule or
sequence events in a program.These functions are scheduled by
delaying the execution of each function until a certain condition
occurs.These conditions are called trippoints.
For example, the "After Distance"(AD) trippoint delays the execu-
Consider the motion cycle illustrated below.A forward motion of 10,000
counts must start upon a pulse on input #1.The initial velocity, acceleration,
and deceleration rates equal 20,000, 100,000, and 100,000 respectively.
After the motor has moved a distance of 6000 counts, the controller
starts a deceleration toward a speed of 10,000 counts/sec.That speed is
maintained for the rest of the move. Upon completion of the motion,
the controller waits 100 milliseconds before returning the motor to the
starting position, at a speed of 20,000 counts/sec. Once there, the con-
troller is ready to repeat the cycle.
Notice that the scheduling of the various functions requires the use
of trippoints.The start of the motion is delayed by the trippoint AI 1.
When the motion starts, the velocity change is scheduled with the trip-
point AD 6000.The controller must then wait until the completion of
the move (AMX) and adds a pure delay of 100 ms (WT 100) before
returning the motor to the starting position.The instruction program
and resulting flow chart follow.
INSTRUCTION
INTERPRETATION
#CYCLE
Label
PR 10000
Distance
SP 20000
Initial speed
AC 100000
Acceleration rate
DC 100000
Deceleration rate
AI1
Wait for start pulse
BGX
Start motion
AD 6000
Wait until X moves 6000 counts
SP 10000
Change the speed
AMX
Wait for completion of move
WT 100
Wait 100 msec
PR -10000
Reverse motion
SP 20000
Return speed
BGX
Start motion
AMX
Wait for end of motion
JP#CYCLE
Repeat the cycle
EN
End
Example--Motion Cycle using Trippoints
INPUT 1
TIME
TIME
-20000
20000
10000
VELOCITY
Flowchart for #Cycle
AFTER A DISTANCE
OF 6000 COUNTS
SPEED=10000
WHEN MOTION IS COMPLETE WAIT 100 ms
MOVE BACK 10000
AT SPEED 20000
DISTANCE=10000
SPEED=20000
WAIT FOR INPUT 1
START THE MOTION
CYCLE
WHEN MOTION IS COMPLETE
tion of a function until after the motor moves a certain distance.
Similarly, the execution of a function can be delayed until a move
has been completed (AM), an input signal changed states (AI), or by
a pure time delay (WT).
The following example illustrates the use of trippoints in execut-
ing a motion cycle.

<< 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)