In Example 2, a program named TOOLCHNG.G can be called from the main program (or from an existing sub-program). It is made possible by line N52. The program inclusion function is programmed on N52.

In this way, the same sub-program can be used in many programs, but you do not need to type it into each program. Each program must, contain the proper "program inclusion" block.

The program to be included must be in the form of a sub-program, beginning with Onnn, and ending with the M99 code.

The format for program inclusion is: "FILENAME.G”.

It is especially useful for including tool change sub-programs, zero-setting sub-programs and macros.

11.4 Advanced Programming

ACU-RITE 3500i

429

Page 455
Image 455
Acu-Rite CNC 3500i user manual 429