M6 Remap - Ignores M65

More
9 years 8 months ago #87968 by SRDC
Replied by SRDC on topic Abort gets priority!
I figured out why the M65's were getting ignored...

(abort, ...) commands get priority, since they are comments, and all comments are read first when a block becomes active.
Therefore, anytime the IF loop was entered, it read the (abort, ... ) and executed it ... at which point the M65 obviously couldn't be executed.
I switched to using (MSG, ... ) and M2 combination instead and that fixed it.

The other problem I ran into was that if some lines were commented at the wrong indentation - sometimes - then it somehow made everything after the next M66 not work. Not sure what was going wrong there, but removing all temporarily commented lines (I had them commented out on the far left margin, regardless of indentation level) fixed that.

Now the Mazak VQC 15/40 has a fully operational LinuxCNC controlled ATC! Whoop!

Thanks all!

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum