Welcome! Log In Create A New Profile

Advanced

Teacup locks during homing.

Posted by digital 
Teacup locks during homing.
January 28, 2019 05:30AM
Hello,

I have an atmega328p with a cnc shield v3 and an xyz printer running teacup (master branch). My plan is to build a 3d printer and currently I'm stuck on an issue with teacup: when homing (G28, G161) with endstop switches, the tool moves to the switch and then stops while it's still pressed. It doesn't accept new commands and I have to reset the arduino. I found a workaround for this issue, which is to wait for the queue to be empty before inserting the target that backs away from the switch (see the attached patch). I also attached my configuration files and a photo of my "printer".

Is anyone else having this issue? What's the real problem and how do we solve it?

(I'm aware that github.com would probably be a better place to discuss this, if it wasn't proprietary software and owned by microsoft.)
Attachments:
open | download - 0002-Implement-workaround-for-softlocking-while-homing.patch (662 bytes)
open | download - config.h (168 bytes)
open | download - board.cnc-shield-v3.digital.h (11.4 KB)
open | download - printer.mendel.digital.h (13.3 KB)
open | download - IMG_20190128_112541.jpg (75.2 KB)
open | download - IMG_20190128_112600.jpg (74.5 KB)
Sorry, only registered users may post in this forum.

Click here to login