Find Docs

Galil Motion Control - note 2319 (Page 2)

Wodocs >> Electronics : Motion Control >> Galil Motion Control note 2319 Page 2
Galil Motion Control - note 2319
Application
Program
-
+
Force
Sensor
Plant
Amp
PID
Encoder
Motor
Here, the block labeled 'Application Program' contains the code that reads
the analog input produced from the sensor and directs the movement of the
motor to produce the desired force. Here is an example this type of
program:
#A
Program label
SETPOINT=4
Default set-point
SCALE=1000
Scale factor
JG0
Start jog mode
BGX
Begin Motion on X axis
#B
New label
ERROR = SETPOINT - @AN[1]
Subtract analog input from
desired setpoint
JOGSPEED=ERROR *SCALE
Calculate a jog speed
JG JOGSPEED
Set jog speed to 'JOGSPEED'
JP#B
Jump to the start of the loop
EN
End of Progrm
This program will close the loop about every 2.5ms. This program closes
the loop with a proportional factor only. The SCALE variable is the
equivalent to the 'KP' of the DMC controller PID filter. More complex
filters can be coded, but this normally is sufficient.

<< Previous       1 2       Next >>



Other Documents:
note 2321, note 2326, note 3311a, note 3312, note 1419, note 1427a, note 2429, note 2438, note 4413, cadtodmc, dmcdos, dmcocx, dmcwin, ecam, hpgltodmc, mcs, sdk 1000, sdk 600, sdk 700, wsdk, tut2, tut3, tut4, tut6, amp 19540 manual, cadman, manc 18x 6, optcom, MSDS JEECHEM SHAMPOO CONCENTRATE 1, msds ALOE VERA GEL DECOLORIZED 40 X, msds ALOE VERA OIL EXTRACT Mineral Oil Base, msds ANHYDROUS LANOLIN USP, msds CARROT OIL, msds COTTONSEED OIL, msds JEECHEM 100 CG POWDER, msds JEECHEM 1450, msds JEECHEM 186, msds JEECHEM BUBBLE BATH GSE, msds JEECHEM CA 40, msds JEECHEM CA 9, msds JEECHEM CASTOR OIL PP, msds JEECHEM CER, msds JEECHEM NP 12, msds JEECHEM NP 30, msds JEECHEM NP 6, msds JEECHEM SHAMPOO BWC, msds JEECHEM SHAMPOO COMBE BLEND, msds JEECHEM SHAMPOO CONCENTRATE 2, msds JEECHEM SHAMPOO CONCENTRATE 4, msds JEECHEM SHAMPOO CONCENTRATE 4 CL,


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)