Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: cybercat on April 09, 2012, 12:28:22 PM

Title: Stop moving from script
Post by: cybercat on April 09, 2012, 12:28:22 PM
Hello!
I'm making complex toolchange macro, and don't know, how to stop moving (for example "G1 Z-200 F100") from script, without script termination.

G31 is already used, unfortunately.
Maybe i can reassign probe pin during script execution?

Anybody knows what to do?
Title: Re: Stop moving from script
Post by: BR549 on April 09, 2012, 02:05:57 PM
OK what exactly are you trying to make happen in your macro.   

You cannot easily STOP a GCODE command Mid move without canceling  the script or using STOP. Both will cause loss of position problems.

You can use the G31 in mulitple function uses.

You can also use the G28.1 command to ref an axis.

Just need to know exactly what it is you are trying to accomplish.

(;-) TP