Projects - Tool Change Macro for UCCNC
View Topic "Tool Change Macro for UCCNC"
Arturo Duncan Total posts: 137 Joined: 08/07/17 18:32:46
This an AXYZ router which was retrofitted using a UC300+M44+C62 using UCCNC. We just replaced the main circuit boards and the main power supply, but did not touch any of the wiring. We wired all the signals that were previously going to the older electronics to the new C62 board.
I need to thank Terry Parker for the original script for both the tool changer and the auto-zero tool macros, which helped me understand scripting in UCCNC and who was also very helpful answering questions. I also must thank Balazs Klincsik of CNC Drive for his patience with and making himself available for questions on scripting and troubleshooting the macros.
The Auto-Zero Tool macro script can be found from here:
The the macro for the ATC can be found here:
There is lots of room for improvement here. I do want to go back to the machine and do several improvements, but I want to let the customer cut some parts first and put the system to the test.
!!!WARNING!!! This info is posted to show potential users how this is done. This can be extremely dangerous. Just think of what would happen if that tool is released while the spindle is turning at full speed… If you attempt to do this, you should consult with an automation specialist. There are too many considerations: any cable could break or make a short, an airline could burst, your PC could get a blue screen (it is windows), etc… Failsafe practices need to be applied. Note that this system is based on the C62 which can disable the systems on a fault condition at hardware level. It is not my intention to oversimplify this, I am just trying to show it as clear as possible.
I will be happy to answer any questions.
Posted: 08/07/17 21:03:22