Hello Graham,
Hello Graham,
thank you for your response, but...
This is how my macro is looking now:
i = 0
JogOn(1,0)
While IsMoving
sleep(25)
i = i + 1
Wend
Message "Macro done " & i
This time I gave y-Axis a try.
I set Jog-Mode to step
If I run M910 from MDI, Status is Macro done 0, Axis is not moving
If I run the code in the Editor without breakpoints, Status is Macro is done 0, but Axis is moving 1 Step as defined. Jogon is working, while IsMoving appears to be ignored
if I run the code in the Editor with a Breakpoint at JogOn and step through the code, everything is working as expected, Status is Macro done 16.
Isn't this funny? 8{
Doing the same in continous jog mode:
If I run M910 from MDI, Status is Macro done 0, Axis is not moving
If I run the code in the Editor without breakpoints, Status is Macro is done 0, but Axis is moving endless. Jogon is working, while IsMoving appears to be ignored
if I run the code in the Editor with a Breakpoint at JogOn and step through the code, everything is working as expected, writing the status is never reached, as expected (jog is running continously).
Nobody out there, who has a board connected and can simulate this? Not even a stepperdriver needs to be attached.
Thank you all