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
Содержание 988T
Страница 6: ...GSK988T Turning CNC System User Manual VI ...
Страница 14: ...GSK988T Turning CNC System User Manual XIV ...
Страница 15: ...Chapter 1 Programming Fundamentals 1 Ⅰ Programming Ⅰ PROGRAMMING ...
Страница 16: ...GSK988T Turning CNC System User Manual 2 Ⅰ Programming ...
Страница 194: ...GSK988T Turning CNC System User Manual 180 Ⅰ Programming ...
Страница 195: ...Chapter Ⅰ Overview 181 Ⅱ Operation Ⅱ OPERATION ...
Страница 196: ...GSK988T Turning CNC System User Manual 182 Ⅱ Operation ...
Страница 215: ...Chapter Ⅲ Windows 201 Ⅱ Operation Note It can be displayed after U disk is inserted in the U disk catalog ...
Страница 217: ...Chapter Ⅲ Windows 203 Ⅱ Operation ...
Страница 267: ...Chapter Ⅲ Windows 253 Ⅱ Operation Fig 3 51 Fig 3 52 ...
Страница 412: ...GSK988T Turning CNC system User Manual 398 Appendix Fig 3 5 Horizontal operation panel appearance dimension ...