Find Docs

Galil Motion Control - programming (Page 4)

Wodocs >> Electronics : Motion Control >> Galil Motion Control programming Page 4
Galil Motion Control - programming
Technical Reference
Motion Programming
8
www.galilmc.com / Galil Motion Control, Inc.
I/O Interface
It is often desirable to synchronize motion with input/output (I/O)
events, which enables the controller to control a complete process.As
such, the DMC can read input signals, both digital and analog, and
can generate digital output signals.Inputs may be control signals
from digital push buttons or analog potentiometers.Outputs can be
used to activate solenoids or valves or to turn on indicator lights.
Input signals, both digital and analog, can be read by the con-
troller and their values can be stored in control variables.These vari-
ables may be used later in motion programs.
The reading of digital inputs may be performed with the instruc-
tion:
DIGITAL = @ IN[2]
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 fol-
lowing 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 complet-
ed, 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
Example--Start Motion on Input

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