TOMATECH AUTOMATION
executing
M99(if M99 specifies a target block number, the system returns to it to run) after the
subprograms or macro programs run completely;
� The system return to the first block to run and the current program is executed
repetitively
when M99 is executed in a main program.
1.5.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
used to specify the 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, S, T in the same block defined byTAC-1002T standard PLC
program is as follows: M3, M4, M8, M10, M12, M32, M41, M42, M43, M44, S□□, T□□□□
and G codes are executed simultaneously;
M5, M9, M11, M13, M33 after G codes are executed;
M00, M01, M02, M30 after other commands of current block are executed.
Ⅰ Programming