G65 Subprogram Call
Format
G65 P_L_
Description
- P: specify the sequence number or the name of a subprogram to be called in a macro program.
- L: times of executing the subprogram.The default value is 1.
An argument can be defined in a user macro program if necessary.
The machine tool designer or the user can program some specific programs consisting of a group of commands in Public.dat, and call them for execution with command G65.
These specific programs are defined as public subprograms which have the same format as a subprogram.
Programming Example
G65 P9002 L2 'call and execute the subprogram P9002 twice
The above program execute the following process:
CAUTION:
New function of naming the subprogram is available. When you write subprogram, you can name it as O “subprogram name”. Note that a program name cannot be Chinese characters.