cody
Posts: 3
Joined: Sun Mar 01, 2015 6:51 pm

Pause print & X/Y homing

Hello S3D community,

I'm about to receive an Ultimaker 2+, I previously owned a Makerbot 5th Gen (and hated it...), but I'm very enthusiastic about the Ultimaker.

Long story short, I have two questions...

#1: I would like to print parts with nuts embedded into them, IE sandwiched between layers. If I could pause a print at a specific layer this would be possible. I know this isn't a feature of S3D yet but I was wondering if someone who knows G-code could help me figure out a way to pause a print in progress, keep the stepper motors energized, move the head to a corner and wait for a button press or something, then resume the print as normal.

#2: I noticed the Markone printer homes the X and Y axis every layer. It's quick and is likely there to avoid layer shifting from the steppers jumping steps here and there. Can this behaviour be created in S3D? We have a layer script area where we can inject G-code.

Thanks in advance guys.
-Cody
Image
andrewk72
Posts: 161
Joined: Fri Apr 29, 2016 5:43 am

Re: Pause print & X/Y homing

#1 - they already support built-in pausing. Just insert an "M0" command in your gcode file wherever you want it to pause. Then open the machine control panel, click the Run button, and select your modified gcode file. It will automatically pause when it gets to the M0 in the file. You can also add other commands right before that like:

G28 X0 ; home X axis
M0

#2 - Just add a "G28 X0 Y0" in your layer change script. As long as your gcode file is created using absolute coordinates, that should work fine.
cody
Posts: 3
Joined: Sun Mar 01, 2015 6:51 pm

Re: Pause print & X/Y homing

Thanks!

Where can I find an index of these common G-codes?
Image
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Pause print & X/Y homing

Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net

Return to “General Discussion and Tips”