Nikolay-Kha / PyCNC

Python CNC machine controller for Raspberry Pi and other ARM Linux boards
MIT License
594 stars 189 forks source link

reusing to revive a CNC machine #27

Closed BMaxV closed 5 months ago

BMaxV commented 6 years ago

Hey,

I have a relatively big CNC machine in the basement, all the hardware is present but I've given up on configuring it correctly with linuxcnc.

The drivers are Leadshine Microstep m542 s

They already have some neat cables so I was thinking all I would have to do to make this work is change some pin numbers.

Will pyCNC automatically detect that I don't have a heatbed, etc.? How does calibration work, to make sure it doesn't run out of bounds?

Nikolay-Kha commented 5 years ago

PyCNC knows only pin number which should be triggered if command for heatbed is provided. So calibration and anything else should work without heatbed. Calibration simply moves steppers slowly and check if endpoint switch was triggered. If so, stops moving. Endpoint switches pin can be configured in a config.