Find Docs

Galil Motion Control - catalog (Page 103)

Wodocs >> Electronics : Motion Control >> Galil Motion Control catalog Page 103
Galil Motion Control - catalog
MACHINE
A linear slide moves a machined component under an auto-
mated tool that inserts a bearing into the part. The objective
is to ensure the insertion force falls within a specified range.
The actual force required will be recorded for each insertion
with an analog strain gage. If the force required falls outside
the range, the assembly must be rejected. A PC will be used
as the operator station using Visual BasicTM for the man-
machine interface.
Requirements
Force range: 1.00 ­25.50 lbs (programmable limits)
Accuracy: ±0.0002 inch
Resolution of motion: 40000 counts per inch
(zero backlash ball screw)
Components Selected
DMC-1020: 2-axis controller
AMP-1120: 2-axis power amplifier
Visual Basic Tool Kit from Galil
Visual Basic from Microsoft
Solution
A DMC-1020 is used to control the motion of the system.
One axis is used to position the linear slide under the tool
holding the bearing while the second axis controls the verti-
cal position of the insertion press. Force measurements are
made from a strain gage that outputs an analog voltage. This
voltage will be read by one of the analog inputs of the DMC-
1020 controller and used to monitor the insertion pressure. If
the force exceeds the upper limit at any time during the inser-
tion, the motion will be aborted and the parts rejected.
Likewise, if the insertion depth is reached and the force remains
below the minimum value the parts must be rejected.
Visual Basic is used to produce a user interface that displays
the motion of the system and system status, as well as position
and insertion pressure values. This program communicates to
the controller through VBX/OCX custom controls produced by
Galil Motion Control. A description of portions of the Visual
Basic code follows:
When a form is first loaded, the code within the
FORM_LOAD procedure is automatically executed. In this
case communication is established and the polling windows
are initialized. Finally, the polling interval is set and the
polling is enabled.
Sub Form_Load ()
`sets up the communication
dmcshell1.dmccontroller = 1
dmcshell1.dmcconnect = True
`allows polling of the card for the position and pressure values
dmcpoll1.dmccommand = "TPX"
dmcpoll2.dmccommand = "TPY"
dmcpoll3.dmccommand = "MG @AN[1]"
`sets the time between polls and begins polling
dmcpoll1.dmcpollinterval = 200
dmcpoll1.dmcpollcontroller = True
End sub
Three status variables are polled every 200 milliseconds: X
position, Y position, and the value of analog input #1 and dis-
played in the polling windows.
If the button labeled "START" is pressed commands are sent
to download a DMC program and then execute it within the
control card:
Sub start_button_Click ()
`routine downloads the DMC file "press.dmc" to controller
then executes it
dmcshell1.filename = "press.dmc"
dmcshell1.dmcfileoperation = 1
dmcshell1.dmccommand = "XQ"
End sub
Press Fitting Machine
P R O G R A M M I N G E X A M P L E S
116
Programming Examples
·
Galil Motion Control, Inc.
·
800-377-6329
PRESS FITTING
Visual Basic Screen for Press Fitting Machine

<< Previous       1 .. 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110       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)