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.
Summary of Contents for CNC9640
Page 1: ...ADTECH9 Series CNC Programming Manual ...
Page 21: ...ADTECH9 Series CNC Programming Manual Workpiece Coordinate System Diagram ...
Page 44: ...ADTECH9 Series CNC Programming Manual 2 Occasions that inner corner rotates ...
Page 45: ...ADTECH9 Series CNC Programming Manual ...
Page 62: ...ADTECH9 Series CNC Programming Manual Manual insertion ...
Page 65: ...ADTECH9 Series CNC Programming Manual Tool radius compensation start and axis Z cut in action ...
Page 117: ...ADTECH9 Series CNC Programming Manual ...
Page 118: ...ADTECH9 Series CNC Programming Manual ...
Page 142: ...ADTECH9 Series CNC Programming Manual ...
Page 143: ...ADTECH9 Series CNC Programming Manual ...