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 #17 background imageLoading...
Page #17 background image
ADTECH9 Series CNC Programming Manual
1.3.2 Main program and subroutine
The processing programs include main programs and subroutines. Generally, NC executes the instructions of
main program; however, NC will turn to execute subroutine when executes a subroutine calling instruction,
and will return to the main program when executes the return instruction in subroutine.
When the processing program needs to run same track for several times, edit this track into the subroutine and
save in the program memory of the machine tool, and this subroutine can be called when this track should be
executed in the program.
When the main program calls a subroutine, this subroutine can call another subroutine, which is called double
nesting. Generally, the machine tool allows up to quadruple subroutine nesting. In calling subroutine
instruction, the subroutine can be repeated for 999 times.
Fig. 1.3.2 Main Program and Subroutine
Subroutine format:
OXXXX ; Subroutine name
………… ;
………… ; Subroutine content
………… ;
M99 ; Subroutine ends, and returns to previous program
Example: X100.0 Y100.0 M99;
Note:

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