Find Docs

Galil Motion Control - note 2429 (Page 1)

Wodocs >> Electronics : Motion Control >> Galil Motion Control note 2429 Page 1
Galil Motion Control - note 2429
- 1 -

Galil Motion Control, Inc.
·
3750 Atherton Road
·
Rocklin, CA 95765 USA
·
800-377-6329
·
Ph: 916-626-0101
·
Fax: 916-626-0102
·
www.galilmc.com


Application Note #2429
Checking for Repeating ASCII-string Data on Auxiliary Serial Port
Here is an example that uses the hand held terminal to monitor when a key is being
held down. In this example, the function keys F1 - F4 are being used to increase and
decrease the X and Y jog speed. As the key is held down, the jog speed is
continuously changed until the key is released. The F5 key is used to stop the motion
on both the X and Y axes. The terminal must be set up for fast repeat function, which
causes the terminal to send out characters every 50msec. When holding down a key,
the first character is not repeated until after approximately 2 seconds, so there is a
special case for when the key is first held down. When the key is held down, the
communication interrupt jumps to the Increase, Decrease, or STOP routine. In each
routine, the controller clears the communication buffer (P2CH), sets a new speed if
F1, F2, F3 or F4 was depressed, and waits for 50msec. If the communication
interrupt does not take control within the 50msec, then the key must have been
released and the next command causes the system to stop (ST command).
The terminal was configured with the Key Click Disabled to avoid the sound
generated when holding the key down.
#F4TEST
first=1
CC 9600,0,0,0
MG {P2},{^27},"V"
speedx=10000
speedy=10000
JG speedx,speedy
BGXY
CI 2
#LOOP
WT 1000
MG "PRESS F4 TO HOLD, THEN STOP"
JP#LOOP
EN
#COMINT
ZS
JP#STOP1,(P2CH=F4) & (first=1)
JP#STOP,(P2CH=F4)
JP#LOOP
EN
#STOP1
first=0

<< Previous      1 2       Next >>



Other Documents:
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, msds JEECHEM SHAMPOO CONCENTRATE 5, msds JEECHEM SHAMPOO CONCENTRATE 5 CL, msds JEECHEM SHAMPOO CONCENTRATE 7 CL, msds JEECHEM SHAMPOO ST ARR, msds JEECHEM SML, msds JEECHEM SMS, msds JEECHEM STO,

Wodocs share you 300000 free online manuals, brashures and other documents, some pages can be downloaded.

if you have any questions about note 2429 online manual, please feel free to contact us
if you can't find Galil Motion Control user, owners manual, operating instructions, service manual, quick start guide, mounting,
and installation instructions, RTFM, schematics and user guide, please use search box or contact us.

All copyrights, pictures, pdfs, trademarks and brands are the property of their owners.


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)