When a custom G code like MoveAtVel(AXIS_Y,(coordinate)*10000,speed*10000/60 ); is executed in KMotionCNC ; . When you press the F5 button, the interpreter window sometimes pops up with the loss of the trajectory. How to pause code execution correctly?
Re: Halt and resume GCodes
Posted: Sun Jan 22, 2023 6:04 pm
Did you mean a Custom MCode that executes a C Program to make a Move?
If after the Move the Code waits until the motion is completed then executes a Halt next line such as this:
Ah, I didn't realize you were randomly hitting Halt.
I'm not sure how you expect that to work, if you have a C Program that is supposed to do something and you Halt it part way through then KMotionCNC doesn't have a way to resume the C Program part way through. So it asks is if it ok to re-execute the C Program from the beginning after doing these things.
Maybe you could explain your application in detail and what are you trying to do.
You could probably create a new "Halt" button that would wait until the C Program finishes and then Halt.