Welcome! Log In Create A New Profile

Advanced

Change Marlin Z_MAX_POS with gCode ?

Posted by DaveOB 
Change Marlin Z_MAX_POS with gCode ?
October 12, 2017 04:05PM
In my Marlin config I have the setting :
#define Z_MAX_POS 300

I am extending the Z axis to 400mm temporarily for a print.

Is there a gCode that I can use to change the Z_MAX_POS to 400 without having to reflash the Arduino ?
Re: Change Marlin Z_MAX_POS with gCode ?
October 12, 2017 04:58PM
How can you temporarily grow your printer 100mm?
Why not just set it at 400mm and leave it there.
Re: Change Marlin Z_MAX_POS with gCode ?
October 12, 2017 05:01PM
Hi

Because my Z axis at 300mm fits in my heated enclosure for ABS prints.

Not very often that I want to increase the Z to 400 or 600, so prefer to change it with gCode if possible
Re: Change Marlin Z_MAX_POS with gCode ?
October 12, 2017 06:30PM
There was a gcode defined to set the axis length many years ago (M208), but according to the Gcode wiki at [reprap.org] Marlin uses M208 for a different function.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Change Marlin Z_MAX_POS with gCode ?
October 13, 2017 12:35AM
Quote
Floyd
How can you temporarily grow your printer 100mm?

it's a home modified i3 design that has makerslides and threadbar on the Z axis that I can change up to the limit of the threadbar ( 900mm )
Sorry, only registered users may post in this forum.

Click here to login