Find Docs

Galil Motion Control - catalog (Page 91)

Wodocs >> Electronics : Motion Control >> Galil Motion Control catalog Page 91
Galil Motion Control - catalog
M O T I O N C O N T R O L P R O G R A M M I N G
104
Motion Control Programming
·
Galil Motion Control, Inc.
·
800-377-6329
which reads the digital input #2 and stores its content, 0 or
1, in the variable DIGITAL. Analog signals are similarly read
with the instruction:
ANALOG = @ AN[3]
which reads analog input #3.
Digital output signals are generated by setting or clearing
a bit with the instructions:
SB 3
CB 3
which sets and clears output bit #3.
The interface with the inputs and the generation of the
output signals allow the controller to perform complete
process control without a host computer intervention. This is
illustrated by the following example.
Consider the simple case where the motion of X must be
delayed until the start pulse is given (applied to input 1).
When the motion is completed, an output signal (output 1)
must be given for one second.
Instruction
Interpretation
PR 7000 Distance
SP 5000
Speed
AI 1 Wait for start signal
BGX Start motion
AMX Wait for completion
SB 1 Set output 1 high
WT 1000 Wait 1 second
CB 1 Clear output 1
EN
End of program
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 execution of a function until after the motor moves a
certain distance. Similarly, the execution of a function can be
TRIPPOINTS
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
INPUT 1
TIME
TIME
-20000
20000
10000
VELOCITY
Flowchart for #Cycle
Motion Cycle using Trippoints

<< Previous       1 .. 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98       Next >>



Other Documents:
2004catalog, ampmotororder, blm n 23, catcps, catmotors, ctool, ioc 7007, pcicompar, programming, 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,


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)