reprappro / RepRapFirmware

OO C++ RepRap Firmware
Other
143 stars 120 forks source link

M208 fails to set maximum Z movement #86

Open gratefulfrog opened 8 years ago

gratefulfrog commented 8 years ago

I am sorry to have to report another issue firmware 1.09,

I would like to set maximum X,Y,Z values to prevent the motors from skipping and/or the head form banging. However, for the Z axis, the M208 gcode fails to work.

When I run the gcode at the console:

M208 X131 Y140 Z73

Then I try to manually move the head:

I hope this is not to hard to fix.

Cheers, Bob

dc42 commented 8 years ago

I just tested it in my fork, and M208 does limit the Z axis movement correctly, assuming of course the printer has been Z-homed and you do not use M564 to disable the limit. However, the current RepRapPro source code explicitly disables the check for the Z axis.

gratefulfrog commented 8 years ago

Hi dc42,

Of course, I had Z-home before testing...

So you say that your fork corrects this problem as well as the Y compensation issue that I raised earlier?

I'd like to try your fork, could you please tell me where to get it and how to install it, and if there are any issues I should be aware of?

Cheers, Bob

dc42 commented 8 years ago

You can find my fork at https://github.com/dc42/RepRapFirmware/tree/dev/Release. Follow the link to the version you want (1.09k-dc42 is the latest) then click on Raw to download it.

If your printer is an Ormerod 2 then your existing config.g file should work with it. Otherwise, you may need to add a M574 line in config.g to tell it what sort of homing switches you have. Also if you want to use simultaneous X and Y homing then you need to use my homing files. See http://reprap.org/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer for more.

David Crocker, Escher Technologies Ltd. http://www.eschertech.com Tel. +44 (0)20 8144 3265 or +44 (0)7977 211486

On 01/11/2015 22:10, gratefulfrog wrote:

Hi dc42,

Of course, I had Z-home before testing...

So you say that your fork corrects this problem as well as the Y compensation issue that I raised earlier?

I'd like to try your fork, could you please tell me where to get it and how to install it, and if there are any issues I should be aware of?

Cheers, Bob

— Reply to this email directly or view it on GitHub https://github.com/reprappro/RepRapFirmware/issues/86#issuecomment-152869307.