Notifications
Clear all

Pronterface does control Z axis properly  

  RSS
rajdude
(@rajdude)
Eminent Member
Pronterface does control Z axis properly

Hello everyone, I am experimenting with pronterface and my MK3S+

I wonder why pronterface is not able control the Z axis properly. Every time I connect pronterface to the printer, its Z control gets messed up. I mean, for example, if I send the command G1 Z2, I expect the printer to raise/lower the Z axis until the nozzle is 2 mm over the print bed (BTW, is that expectation correct?). What actually happens is this:

Sometimes it goes to 10 cm at other times it goes to 3 cm. Seems to me it depends upon the position of Z axis when the printer was connected to pronterface. What am I missing here?

Your help is highly appreciated! Thanks!

I have also noticed that sometimes when I tell Pronterface to connect to the printer, I see this error message : CRASH_DETECTEDX

Full output here... (BTW, I cannot find a way to format this properly, carriage returns are not being honored by this form software, if I paste the same in notepad, it renders just fine)

Connecting...startPrinter is now online.echo: 3.11.0-4955echo: Last Updated: Apr 7 2022 11:09:51 | Author: (none, default config)Compiled: Apr 7 2022echo: Free Memory: 2066 PlannerBufferBytes: 1760echo:Hardcoded Default Settings Loadedadc_initExtruder fan type:NOCTUACrashDetect ENABLED!FSensor ENABLED (sensor board revision: 0.4 or newer)Sending 0xFFecho:SD card okLCD status changedecho:endstops hit: X:129.72echo:enqueing "M83"echo:enqueing "G1 E-1.000 F2700"echo:enqueing "G1 Z10.150 F800.000"echo:enqueing "CRASH_DETECTEDX"echo: cold extrusion preventedLCD status changedtmc2130_home_enter(axes_mask=0x01) 0 step=13 mscnt= 220tmc2130_goto_step 0 13 2 1000tmc2130_home_exit tmc2130_sg_homing_axes_mask=0x01tmc2130_home_enter(axes_mask=0x02) 0 step=18 mscnt= 293tmc2130_goto_step 1 17 2 1000tmc2130_home_exit tmc2130_sg_homing_axes_mask=0x02echo:enqueing "CRASH_RECOVER"echo: cold extrusion preventedResend: 1LCD status changedMMU not responding - DISABLED

 

PS: what I really wanted to do is what is being described here:

https://forum.prusa3d.com/forum/assembly-and-first-prints-troubleshooting/my-method-for-setting-first-layer-z-height/

Posted : 09/09/2022 12:53 pm
Neophyl
(@neophyl)
Illustrious Member
RE:

That would depend on if the printer is in absolute or relative mode.  If in absolute then G1 Z2 would move it to 2mm above the last home position.  If the printer is in relative move then G1 Z2 would  move it up from wherever it is now by 2mm.
One thing to remember is that when you turn a printer on that the current positions are 'home', so X=0, Y=0, Z=0.  Until you get the printer to actually do a proper home using G28.  Basically every time you restart the printer you should home first so it knows where the proper xyz are.  Connecting the USB cable in effect resets the printer too, not sure about initializing pronterface though.  Been awhile since I needed to use it.

Posted : 09/09/2022 5:25 pm
rajdude
(@rajdude)
Eminent Member
Topic starter answered:
RE: Pronterface does control Z axis properly

Thanks for your help. I think I may have missed the G28 command. Will try again and report back. I think I did try it once and the printer was making weird noises, probably because the stepper motors were running up against the limits.

Posted by: @neophyl

That would depend on if the printer is in absolute or relative mode.  If in absolute then G1 Z2 would move it to 2mm above the last home position.  If the printer is in relative move then G1 Z2 would  move it up from wherever it is now by 2mm.
One thing to remember is that when you turn a printer on that the current positions are 'home', so X=0, Y=0, Z=0.  Until you get the printer to actually do a proper home using G28.  Basically every time you restart the printer you should home first so it knows where the proper xyz are.  Connecting the USB cable in effect resets the printer too, not sure about initializing pronterface though.  Been awhile since I needed to use it.

 

Posted : 09/09/2022 7:44 pm
rajdude
(@rajdude)
Eminent Member
Topic starter answered:
RE: Pronterface does control Z axis properly

Happy to report back that the G28 command did the trick.

My bad that I missed it earlier.

Thanks for your help!

Posted : 11/09/2022 11:33 am
Share: