Question about M666



  • Hi,

    I was reading an article on delta printers that was trying to explain what M666 does.

    For what follows assume a delta printer where the Z endstop is spot on, the X endstop is 1mm higher and the Y endstop is 2mm higher.

    The article said that for those conditions the correct command was M666 X-1 Y-2 Z0

    It also seemed to be saying that during homing, after triggering the endstops, the X carriage would be moved down by -1 and the Y carriage by -2.

    Is that correct?

    If not what exactly does M666 do?

    Thanks very much.

    Frederick


  • administrators

    I think that description is correct for Marlin firmware, which requires all M666 corrections to be negative. RepRapFirmware behaves differently and does not have that restriction.



  • @dc42 said in Question about M666:

    I think that description is correct for Marlin firmware, which requires all M666 corrections to be negative. RepRapFirmware behaves differently and does not have that restriction.

    Hmm... That may well be the case. It was an older article.

    The current M666 documentation is somewhat vague as to how it works

    Based on some further research and experiments I think I understand what M666 is doing.

    Thank you.

    Frederick


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.