Best practice for implementing toolchanger?

More
04 Dec 2019 16:03 #152003 by ross_dev
Hi

I have been reading around the documentation and forum posts for the recommended software approach to handling toolchangers. I have come across a few methods - using a hal component, either custom or modifying hal_manualtoolchange, using classicladder in some way, or (the method I have read the most about so far) using a remapped gcode and embedded python.

I understand the latter was recently added to linuxcnc, so for this reason is it the recommended path to go down? I assume pins are then mapped via the HAL.

On the hardware side I believe we are looking into using the Mesa 7i94's GPIO pins.

Cheers
Ross

Please Log in or Create an account to join the conversation.

More
04 Dec 2019 20:20 - 04 Dec 2019 20:30 #152019 by HueyHQ
Replied by HueyHQ on topic Best practice for implementing toolchanger?
Personally, I think the remap Gcode is the easiest to implement.

I looked at Python, and seemed overly complex for what I was hoping to achieve. A remap allowed me to easily read inputs, turn outputs on and off, delays - everything I needed for toolchange.

I have an example file at #146783 . (I thought I had written a post explaining the whole implementation, but I can' seem to find it, sorry.)

EDIT: I knew I'd written something - it's at post #137246
Last edit: 04 Dec 2019 20:30 by HueyHQ. Reason: Found reference post
The following user(s) said Thank You: ross_dev

Please Log in or Create an account to join the conversation.

More
05 Dec 2019 14:15 #152066 by andypugh
Replied by andypugh on topic Best practice for implementing toolchanger?
Remapping M6 to call a G-code subroutine would be my recommendation.

See the sample config sim/axis/vismcach/vmc-toolchange for a virtual machine demo config and a set of sample config files.
The following user(s) said Thank You: ross_dev

Please Log in or Create an account to join the conversation.

More
11 Dec 2019 13:10 #152480 by ross_dev
Replied by ross_dev on topic Best practice for implementing toolchanger?
Thanks guys, this is coming along nicely now. The remapping is really quite nifty!

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum