GSK988T Turning CNC System User Manual
138
Ⅰ
Programming
(
2
)
Modal call of macro program G66, G67
Command format
:
G66 P L __
〈
argument list
〉;
……
;
G67
;
Command function
: set the modal message of the specified macro program L times for
calling P, send the argument to the called macro program.
Command explanation:
G66
:
modal macro program call needs one line to be specified;
G67
:
call macro program call mode;
P
:
specify many called macro programs;
L
:
times for calling the macro program. It is default to 1, its range is 1—9999;
Argument list: data sending to macro program is referred to the explanations of
G65.
Note 1:Cannot call many macro programs in G66 block, but can call G66 again;
Note 2: G66 is specified before P_, L_ and argument, and the use methods of P, L, the argument are
the same those of G65;
Note 3: Can’t call macro program in the block without movement commands but with the auxiliary
function;
Note 4: The local variable (argument) is specified only in G66 block, and the system does not set it
again when each modal call is executed;
Note 5: Cannot specify the macro call command in MDI mode;
Note 6: When the reset is executed by setting the parameter, whether the common variables of the
local variables from #1 to #33 and from #100 to #149 are cleared to the Null value.
Note 7: The system clears the call state of all user macro programs and subprograms and DO state,
and returns to the main program;
Note 8: In executing the macro program statement, when the feed pause is valid, the machine stops
after the macro statement is executed, and the machine also stops when the system resets or
alarms.
Application example
:
(
1
)
G65 example
(
2
)
G66, G67 example
Summary of Contents for 988T
Page 6: ...GSK988T Turning CNC System User Manual VI ...
Page 14: ...GSK988T Turning CNC System User Manual XIV ...
Page 15: ...Chapter 1 Programming Fundamentals 1 Ⅰ Programming Ⅰ PROGRAMMING ...
Page 16: ...GSK988T Turning CNC System User Manual 2 Ⅰ Programming ...
Page 194: ...GSK988T Turning CNC System User Manual 180 Ⅰ Programming ...
Page 195: ...Chapter Ⅰ Overview 181 Ⅱ Operation Ⅱ OPERATION ...
Page 196: ...GSK988T Turning CNC System User Manual 182 Ⅱ Operation ...
Page 217: ...Chapter Ⅲ Windows 203 Ⅱ Operation ...
Page 267: ...Chapter Ⅲ Windows 253 Ⅱ Operation Fig 3 51 Fig 3 52 ...