Hi folks! I‘m making something like storage robot/vending machine from a rare vehicle aerographic machine ARTROBO NNV2.5.
The machine has 2 Z axis with independent motors, gearboxes, drivers, endstops and electromagnetic brakes.
Brakes needed because gearboxes are not self-locking.
I’d like to do next things:
- Portal autoleveling when G28 Z with simple algorithm:
- start homing both Z axes
- when left or right Z endstop pressed - stop appropriate motor, but keep moving another one
- when pressed the second endstop - stop homing.
- Automatic release brakes when Z axis at “ENABLE_MOTORS” state and activate brakes when Z axis at “DISABLE_MOTORS” state + manually activate/release left/right/both brakes by M-code and buttons on GPIO pins.
Generally, I can do this features with custom PCB between smoothieboard and motor drivers, but I would like to do this with config file or firmware.
Anybody have some ideas how to do this?
Imported from wikidot