
4 - 40 ISNC G Codes
704-0115-307
WinMax Lathe NC Programming
Layering of Local Variables within Subprogram Calls
M98 subprogram calls use local variables differently from other subprogram calls since
the called subprogram does not get a new set of local variables. Changes made to the
local variables within the current subprogram will be retained when the calling program is
re-instated.
Changes can be made to the local variables within the current subprogram, but when
program execution returns to the calling program, the values of the local variables of the
calling program are reinstated. The local variables in the subprogram can be changed,
however, without affecting the local variables in the calling program. With other
subprogram calls, unless an argument list is passed to the subprogram, the local
variables are given vacant status.
Specifying Subprogram Iterations
The number of iterations for a subprogram to perform are specified with G65, G66, and
M98 subprogram calls.
Using G65 and G66
When making G65 and G66 subprogram calls, the L parameter is used to specify
iterations. The maximum number of iterations which can be specified with the G65 and
G66 subprogram calls is 999.
Using M98
When making M98 subprogram calls, the P parameter is used to specify iterations as well
as the subprogram number. Up to four digits can be used to specify iterations for a
maximum of 9999 iterations. Leading zeros are not required when specifying iterations;
however, leading zeros are required with a subprogram number that is less than 1000.
Содержание winmax
Страница 14: ...xiv List of Tables 704 0115 307 WinMax Lathe NC Programming...
Страница 20: ...xx Programming and Operation Information 704 0115 307 WinMax Lathe NC Programming...
Страница 98: ...2 50 Basic NC G Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 208: ...4 94 ISNC G Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 236: ...5 28 ISNC M Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 238: ...6 2 E Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 254: ...12 Index 704 0115 307 WinMax Lathe NC Programming...