Find Docs

Galil Motion Control - optcom (Page 90)

Wodocs >> Electronics : Motion Control >> Galil Motion Control optcom Page 90
Galil Motion Control - optcom
Optima DMC-1xxx and DMC-18x2 Command Reference
EN
i
79
EN
FUNCTION: End
DESCRIPTION:
The EN command is used to designate the end of a program or subroutine. If a subroutine
was called by the JS command, the EN command ends the subroutine and returns
program flow to the point just after the JS command.
The EN command is used to end the automatic subroutines #MCTIME, #CMDERR, and
#COMINT. When the EN command is used to terminate the #COMINT communications
interrupt subroutine, there are two arguments; the first determines whether trippoints will
be restored upon completion of the subroutine and the second determines whether the
communication interrupt will be re-enabled.
ARGUMENTS: EN m, n where
m = 0:
Return from subroutine without restoring trippoint
m = 1:
Return from subroutine and restore trippoint
n = 0:
Return from #COMINT without restoring interrupt
n = 1:
Return from communications interrupt #COMINT and restore interrupt
Note1: The default values for the arguments are 0. For example EN,1 and EN0,1 have the
same effect.
Note2: The arguments will specify how the #COMINT routine handles trippoints. Trippoints
cause a program to wait for a particular event. The AM command, for example, waits for
motion on all axes to complete. If the #COMINT subroutine is executed due to a
communication interrupt while the program is waiting for a trippoint, the #COMINT can
end and continue to wait for the trippoint, or clear the trippoint and continue executing
the program at the command just after the trippoint.
Note3: Use the RE command to return from the interrupt handling subroutines #LIMSWI
and #POSERR. Use the RI command to return from the #ININT subroutine.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
m=0, n=0
In a Program
Yes
Default Format
Command Line
No
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
"
RE
"
Return from error subroutine
"
RI
"
Return from interrupt subroutine
EXAMPLES:
#A Program
A
PR 500
Move A axis forward 500 counts
BGA Begin
motion
AMA
Pause the program until the A axis completes the motion
EN
End of Program
Note: Instead of EN, use the RE command to end the error subroutine and limit subroutine. Use the
RI command to end the input interrupt subroutine

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



Other Documents:
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, msds JEECHEM STS, msds JEECOL CA 20, msds JEELAN ALCOHOL SP, msds JEELAN ALCOHOL, msds JEELAN L 60, msds JEELATE ALES 2, msds JEELATE ALS 30, msds JEELATE DLS, msds JEEMATE 1000 DPS, msds JEEMATE 1000 ML, msds JEEMATE 200 ML, msds JEEMATE 300 DPS, msds JEEMATE 300 OC, msds JEEMATE 400 DO, msds JEEMATE 400 OC, msds JEEMIDE MEAA, msds JEEMIDE SS 100, msds JEEPHOS P 610, msds JEESILC 74, msds JEESILC CPS 312, msds JEESORB L 10,


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)