GCODE - Locking bed in place after pause
Hi all,
I want to lock the print bed in place using gcode until I click resume. I want to know if there are any adverse effects of me locking (steppers ON) the printer bed in place during a pause?
Thank you,
Devin
RE: GCODE - Locking bed in place after pause
Leaving steppers on just causes the motors and electronics to stay warm. But despite being locked, the bed is not actually locked, so any bumps will cause a stall and subsequent loss of position information (aka a shift or a crash or both).
And, when you press PAUSE, as far as I know the steppers do remain on. But I might be wrong. Though they pretty much have to be left on so the microstep position is maintained (but nozzle heater is turned off to minimize ooze and baking).
RE: GCODE - Locking bed in place after pause
I was talking to a friend that works with gcode more that i do and he said to something like:
home
position
pause
home
position
I will give it a try once home. I don't really need the bed to stay in place I just need it to _NOT_ shift.
RE: GCODE - Locking bed in place after pause
The concept of a crash is the motors are unable to hold position.
And home is possible, but home X and Y only might be tricky. Prusa may or may not adhere to the Marlin spec, but the spec shows you can home axes individually. But while in the home position, the bed can still be moved about pretty easily. But, if you can at least home the axis, the 3D position in space may be recoverable as long as Z isn't tampered with and Prusa didn't totally mess up the Marlin code.
http://marlinfw.org/docs/gcode/G028.html
Might be worth trying.
And less risky might be this simpler script ... but doesn't worry about nozzle clearance when moving home.
G1 X0 Y0
M1 Waiting for User
G1 X0 Y0
RE: GCODE - Locking bed in place after pause
Ignore that code - just occurred to me if the bed moves, you've still lost position. You need G28 to work.
G28 X0 Y0
M1 Waiting for User
G28 X0 Y0