Find Docs

Galil Motion Control - programming (Page 2)

Wodocs >> Electronics : Motion Control >> Galil Motion Control programming Page 2
Galil Motion Control - programming
Technical Reference
Motion Programming
6
www.galilmc.com / Galil Motion Control, Inc.
The generation of more complex moves is described in the sec-
tion about coordinated moves.
Stored Programs
The instructions to execute the motion can be issued directly from
the host computer, resulting in an immediate move.This requires
the continuous involvement of the host computer.This require-
ment is often undesirable because the host may have to perform
other functions simultaneously. An alternative method is to com-
bine several motion commands into a complete application pro-
gram which is downloaded to the controller memory.This method
reduces or eliminates the involvement of the host computer.The
DMC can receive its instructions from stored programs.To start the
motion, the host sends a short command, such as XQ#A to execute
Program A.The controller will then receive the instructions from its
memory without the intervention of the host computer.(See exam-
ple on the next page.)
For example, let the encoder resolution be 4000 counts per turn and sup-
pose the objective is to rotate the motor one revolution along a trape-
zoidal velocity, with a total motion time of 0.3 sec with acceleration and
deceleration times of 0.1 sec each.Simple calculation indicates that the
slew velocity equals 5 revolutions per second and that both acceleration
and deceleration rates are 50 revolutions/sec
2
.The motion parameters
can be expressed in terms of units of resolution:a distance of 4000
counts, a slew velocity of 20,000 counts/sec,and acceleration and
deceleration rates of 200,000 counts/sec
2
.The motion parameters
must be transmitted from the host computer to the motion con-
troller.The special instructions used by the DMC, along with their
interpretation, are given below.
The host computer sends the characters indicated by the pro-
gram shown below and the motion starts immediately.
INSTRUCTION
INTERPRETATION
PR 4000
Relative distance
SP 20000
Speed rate
AC 200000
Acceleration rate
DC 200000
Deceleration rate
BGX
Start motion of X motor
Example--Point-to-Point
Another type of simple motion is the jog move.Here the motor is com-
manded to run indefinitely at a specified speed.The motion parameters
in this case are limited to speed, acceleration, and deceleration.These
parameters can be expressed in units of resolution as illustrated.
Consider a system where the resolution of the encoder is 4000
counts/turn and the motor is required to run at a speed of 600 rpm
(10 revolutions/sec) and must accelerate to that speed over 100
msec. Simple calculations show that the speed is 40,000 counts/sec
and the acceleration is 400,000 counts/sec2.
INSTRUCTION
INTERPRETATION
JG 40000
Jog speed
AC 400000
Acceleration rate
BGX
Start X motion
Example--Jog Move
SLEW SPEED
VELOCITY
ACCELERATION
RATE
DECELERATION
RATE
TIME

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