@pause problem
Hi,
I've been trying to write a short macro to help me level the bed. The idea is to move the extruder to a specific position, pause to let me take a measurement, I click to continue and then the process repeats a total of four measurements in four different positions.
G1 Z100 X41 Y137 F3000
G1 Z50.4 X41 Y137 F3000
;@pause take measurement
G1 Z100 X41 Y137 F3000
G1 Z100 X162 Y137 F3000
G1 Z50.4 X162 Y137 F3000
;@pause take measurement
G1 Z100 X162 Y137 F3000
G1 Z100 X41 Y260 F3000
G1 Z50.4 X41 Y260 F3000
;@pause take measurement
G1 Z100 X41 Y260 F3000
G1 Z100 X162 Y260 F3000
G1 Z50.4 X162 Y260 F3000
;@pause take measurement
G1 Z100 X162 Y260 F3000
But although the pause dialog box pops up the printer carries on moving. So I let it carry on then clicked continue and it moved to, I think, the position it had been in before the first pause.
If I try:
G28 X0 Y0 ; home X and Y axes
@pause
G1 Z100 X41 Y137 F3000
It definitely carries out the G28, the pause dialog box pops up but even before I hit continue (box stays there) it does the G1. When I click continue it goes back to the position it was in before the @pause, even moving the Z axis back.
I expected the extruder to stay in the position it was before the @pause, and only continue moving after I click continue.
If anyone can tell me what I'm doing wrong then it would be appreciated. I've not posted this as a bug report but I fully expect that I've made a mistake.
Comments
Just make sure there is no move in your pause start/end script that gets send on each pause.
Just one thing I'd like to check:
I assume you mean in the script for run on pause?
"You have the possibility to define some G-Code scripts for start, end, run on kill, run on pause and..."
I will double-check that before I do anything.