Sweet, thanks mate!! I’ll dabble around for a bit and will let you know how it went.
Just to give you an idea of what I’m doing, I’m building a multimaterial bioprinter. I currently have 2 syringe pumps (will be 4 in the future) mounted to my printer. Each syringe pump has two endstop switches; one at the top position like yours, and the other at the carriage of the pump. The idea is to have the following homing sequence:
-
First, the carriage moves up until it reaches the endstop to find its “min” position.
-
The carriage then moves back down until it reaches the plunger (the plunger is purposefully not fixed to the carriage for my setup, so it can only extrude, not retract). This will be the “0” position, after which the print can start.
I’m currently trying to get it to work without step 2, but will eventually need to include it.
Also, may I ask what you’re using your setup for? Just wanna see how similar they are to see how much we could collaborate (If you’re interested, of course).
Thanks again m8