GSK988TA/GSK988TA1/GSK988TB Turning Center CNC System User Manual
【
Programming & Operation
】
162
Ⅰ
Programming
The code usage and notes are those of M98, and the operations are
referred to M98.
3.1.7 Return from Subprogram M99
Command format
:
M99 P
○○○○○
Command function: After other codes of current block in the subprogram are executed, the
system returns to the main program and continues to execute next block
specified by P, and calls a block following M98 of current subprogram when
P is not input. The current program is executed repeatedly when M99 is
defined to end of program (namely, the current program is executed without
calling other programs).
Example: Execution path of calling subprogram (with P in M99) as Fig. 3-3.Execution path of calling
subprogram (without P in M99) as Fig. 3-4.
O1009
;
N0010 ………;
N0020……….;
N0030……….;
N0040 M98 P1010;
N0050……….;
N0060……….;
N0070……….;
……..
O1010
;
N1020………;
N1030………;
………
………
N1100 M99 P0070;
%
Fig. 3-3
Fig. 3-4
Note 1: M99 does not need to be specified in the alone block. Example: G00 X100 Z100 M99;
Note 2: An alarm occurs when M99 has executed the block number which does not exist;
Note 3: In Auto mode, the specified block number following M99 is repetitive, and the system executes the
followings: 1. when the two block numbers are front of M98 block, the program returns to the later
Executed block after returning to the main program is
0000
~
9999
,
and its leading zero can be omitted.
Summary of Contents for GSK988TA
Page 6: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation VI ...
Page 19: ...1 Ⅰ Programming PROGRAMMING ...
Page 227: ...209 Ⅱ Operation OPERATION ...
Page 369: ...Chater 10 Machining Example 351 Ⅱ Operation ...
Page 371: ...353 Appendix ...
Page 465: ...Appendix 1 Parameters 447 Appendix ...
Page 479: ...Appendix 3 Interface Explanation 461 Appendix ...
Page 527: ...Appendix 5 Installation Layout 509 Appendix ...