yes, but I would prefer the first
Hi,
I'm not able to experiment this myself right now, so I'm asking here.
For example, consider these two blocks (on Fanuc 0T):
G97 S300 M3
M3 S300 G97
(G97=Constant spindle speed, S300=300 revolutions/minute, M3=Spindle CW)
Does the first block equal to the second one, or does the controller's internal parser execute each register assignment in order they are given?
Thanks![]()
yes, but I would prefer the first
That's what I thought. Thank you.
In a word-address format, the sequence of different words is not important. However, if you command more than one G-code from the same group, the one specified last becomes active.
There are exceptions, however.
For example, all arguments of G65 must come after G65.
Also, if a block contains both G- and M-code, the G-code may or may not start before execution of M-code is complete.
It is better to split a block if it is likely to create confusion.
the first block is better. at least Fanuc execute the commands in the order S T M then axis movement.