Find Docs

Galil Motion Control - manc 18x 6 (Page 124)

Wodocs >> Electronics : Motion Control >> Galil Motion Control manc 18x 6 Page 124
Galil Motion Control - manc 18x 6
DMC-18x6 Command Reference
116
JS
FUNCTION: Jump to Subroutine
DESCRIPTION:
The JS command will change the sequential order of execution of commands in a program. If the
jump is taken, program execution will continue at the line specified by the destination
parameter, which can be either a line number or label. The line number of the JS command is
saved and after the next EN command is encountered (End of subroutine), program execution
will continue with the instruction following the JS command. There can be a JS command
within a subroutine.
Multiple conditions can be used in a single jump statement. The conditional statements are
combined in pairs using the operands "&" and "|". The "&" operand between any two
conditions, requires that both statements must be true for the combined statement to be true.
The "|" operand between any two conditions, requires that only one statement be true for the
combined statement to be true. Note: Each condition must be placed in parenthesis for
proper evaluation by the controller.
Note: Subroutines may be nested 16 deep in the controller.
A jump is taken if the specified condition is true. Conditions are tested with logical operators.
The logical operators are:
< less than or equal to
<= less than or equal to
> greater than
>= greater than or equal to
= equal to
<> not equal
ARGUMENTS: JS destination, condition where
destination is a line number or label
condition is a conditional statement using a logical operator
USAGE: DEFAULTS:
While Moving
Yes
Default Value
In a Program
Yes
Default Format
Command Line
No
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
End
EXAMPLES:
JS #SQUARE,V1<5
Jump to subroutine #SQUARE if V1 is less than 5
JS #LOOP,V1<>0
Jump to #LOOP if V1 is not equal to 0
JS #A
Jump to subroutine #A (no condition)

<< Previous       1 .. 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131       Next >>



Other Documents:
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, 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,


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)