GSK988T Turning CNC System User Manual
28
Ⅰ
Programming
z
Call corresponding subprograms or macro program to run when executing M98 or
M9000~M9999; the system returns to main program to call the next block when executing
M99(if M99 specifies a target block number, the system returns to it to run) after the
subprograms or macro programs run completely;
z
The system returns to the first block to run and the current program is executed repetitively
when M99 is executed in a main program.
1.6.2 Execution sequence of word
There are many words (G, X, Z, F, R, M, S, T and so on) and most of M, S, T is transmitted to
PLC by NC explaining and others are directly executed by NC. M98, M99, M9000
~
M9999, S word
for specifying spindle speed (r/min, m/min) is directly executed by NC.
NC firstly executes G and then M commands when G codes and M00, M01, M02 and M30 are in
the same block.
NC firstly executes G and then M commands( without transmitting M signal to PLC) when G
codes and M98, M99, M9000
~
M9999 are in the same block.
When G codes and M, S, T executed by PLC are in the same block, PLC defines M, S, T and G
to be executed simultaneously, or execute M, S ,T after G codes. Please see User Manual of machine
manufacturer for execution sequence of commands.
Execution sequence of G, M (except for the above M codes), S, T defined by GSK988T PLC in
the same block is determined by PLC, which is divided into two methods:
a) Movement codes and M miscellaneous code are executed simultaneously.
b) Execute miscellaneous codes after executing movement codes.
Refer to the machine manufacture’s user manual for the concrete execution method.
The second method is executed when there is M9, M99, M13, M33 or M5 for our GSK ladder.
Note: When G28 or G30 and M01 are in the same block, the pause after zero return is done. When there is a
single block stop command without M01,the single block stop is executed at the middle point and zero
return completion position. When G28 or G30 and M01 are in the same block and the single block stop is
valid, the pause is executed after zero return.
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 ...