User avatar
AK_Eric
Posts: 103
Joined: Thu Dec 25, 2014 4:48 pm
Location: Belmont, CA
Contact: Website

Respect endstops in RepRepFirmware when jogging?

Wed Sep 13, 2017 3:07 pm

I'd posted this question over on the Duet3d forums (home of RepRap Firmware), currently not coming up with much, thought I'd check here too.
https://www.duet3d.com/forum/thread.php?id=2617

Anyone who uses RepRapFirmware know how to configure S3D so that its jog controls (via the Machine Control Panel) will respect the endstops? My machine homes just fine when pressing the home buttons.

But say, if it's 10mm away from the X endstop, and I accidentally hit the "Jog -100 on X" button, it'll crash right into it making horrible sounds.
Presumably this is because S3D is sending a

Code: Select all

G1 X-100
not a

Code: Select all

G1 S1 X-100 
to the printer: RepRapFirmware suppoprts an additional 'S1' parameter that tells it to 'detect endstops' during G1 motions.
And S3D's 'Firmware Configuration' window has no special field for issuing G1 commands.
https://duet3d.com/wiki/G-code#G0_.26_G1:_Move

I've learned to be 'very careful' when using the jog controls, but it still happens to me from time to time: Anyone come up with a solution? Am I missing something basic here?

Thanks!
Bots:
Makerbot Replicator 2x / Sailfish on Mightyboard
Custom C-Bot / RepRap Firmware on RADDS
Custom Tevo Little Monster / RepRap Firmware on Duet

User avatar
AK_Eric
Posts: 103
Joined: Thu Dec 25, 2014 4:48 pm
Location: Belmont, CA
Contact: Website

Re: Respect endstops in RepRepFirmware when jogging?

Wed Sep 13, 2017 10:44 pm

I can 'sort of' answer this : If you set a M208 in your config.g (which sets your axis maximums), and then home, after the homing operation, the min\max values are set, and it won't go crashing around into things. Not perfect, but better than nothing.

If there's a better way to do it (so you don't crash stuff if you jog without homing first), I'd like to hear it though.
Bots:
Makerbot Replicator 2x / Sailfish on Mightyboard
Custom C-Bot / RepRap Firmware on RADDS
Custom Tevo Little Monster / RepRap Firmware on Duet

Return to “Troubleshooting and Bug Reports”