Mobile 3D Printer Head Parking G-Code

In our last video I demonstrated how we’re parking the printers gantry on a foam block when not in use so that it is not damaged when we’re driving.

Here is the g-code we use to disable the travel limits so that the nozzle moves off the left side of the bed.

G90 ; Absolute positioning
G28 ; Home all axis
G0 Y220 F15000 ; Present bed for foam block
G0 Z60 F15000 ; Present bed for foam block
G0 Y220 Z60 F15000 ; Present bed for foam block
M300 S440 P200 ; Make tones to add foam Block
M300 S660 P250
M300 S880 P300
G4 S5 ; Wait 5 Seconds for the block to be installed.
M211 S0 ; disable travel limits
M84 X ; Disable X Stepper Motor
G0 X250 Y0 F15000 ; Move to X/Y park position.
G0 Z20 F1500 ; Park the head on the block.
M84 Y E Z ; Disable remaining steppers

M300 S440 P200 ; Make more happy tones.
M300 S660 P250
M300 S880 P300

When we’re ready to print something again, we use this chunk of code to lift the gantry off the foam so we can remove it.


G91 ; Relative positioning
G0 Z50 F15000 ; Move the head up and off the foam

G28 Y0 ; Home Y

G90 ; Absolute positioning

G0 Y220 F15000; Move foam block forward for removal

G28 X0 ; Home X

M300 S440 P200 ; Make tones to remove foam Block
M300 S660 P250
M300 S880 P300

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s