Welcome! Log In Create A New Profile

Advanced

Get zeto position Gcode in Marlin

Posted by Jori 
Get zeto position Gcode in Marlin
March 30, 2020 09:57AM
I was wondering whether there is a G-code in Marlin that does the same or something similar like the old M117 'Get zero position' command in FiveD? Or whether the old code is still available somewhere?
I want to be able to more my printhead to a point on the build plate and have it report back the number of seps/units from that point to the home position of the X and Y axis.
Hope someone can help out.
Re: Get zeto position Gcode in Marlin
March 30, 2020 10:12AM
M114 reports current position in marlin. in mm from 0,0

And wow, FiveD, thats going back a bit...
Re: Get zeto position Gcode in Marlin
March 30, 2020 10:15AM
Does that work when moving the head by hand with motors disabled or only when moving using the jog controls?
Re: Get zeto position Gcode in Marlin
March 30, 2020 11:03AM
only with jog. there is zero feedback from stepper motors. You would need additional hardware such as a positional encoder and the firmware to understand that.
Re: Get zeto position Gcode in Marlin
March 30, 2020 01:15PM
My plan was to make it count the steps back to the endstops to measure the distance. If I understand correctly that is how M117 worked in FiveD.
Re: Get zeto position Gcode in Marlin
March 31, 2020 01:03AM
You should also be aware that moving steppers by hand produces electricity, This can damage stepper drivers.
Sorry, only registered users may post in this forum.

Click here to login