EasyManuals Logo

Adtech CNC9650 Programming Manual

Default Icon
161 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #116 background imageLoading...
Page #116 background image
ADTECH9 Series CNC Programming Manual
execute the following in sequence.
When the [conditional expression] is ignored, the program will execute the GOTO sentence
unconditionally.
The n of GOTO sentence must exist in the program, or else the program will alarm.
#i, #j, and n can be replaced with variables. For the segments that contain the order No. n specified by GOTO
n, the order No. n must be in front of the segment, or else error may occur due to lack of keywords when the
program jumps.
If the specified segment contains “/” in the front and is followed by Nn, the ignoring function of the
segment will be invalid, and this segment will still go to execute.
When GOTO instruction is executed, the system will search downwards first; if not found, the system
will return and search downwards from the program header; if still not found until the calling segment, the
system will send alarm information.
EQ and NE only can be used for integers, and the values with decimal fraction should be compared with
GT, GE, LT, and LE instructions.
Cycle conditional instruction
Format:
WHILE[expression]DO m;(m=1,2,3…127)
END m;
Details:
When the conditional expression is established, the programs between WHILE and END will be executed
repeatedly; if not established, the program will go to next segment of END m directly.
WHILE [expression] DO m and END m should be used in pair. If the LEaan line of WHILE [expression]
is ignored, the segments between DO m and END m will be repeated endlessly. The range of M is 1-127.
WHILE allows nesting up to 27 levels.

Table of Contents

Other manuals for Adtech CNC9650

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adtech CNC9650 and is the answer not in the manual?

Adtech CNC9650 Specifications

General IconGeneral
BrandAdtech
ModelCNC9650
CategoryControl Systems
LanguageEnglish

Related product manuals