Multihead-Spindle Automatic Tool-length Probe
19 Mar 2020 19:25 - 19 Mar 2020 19:27 #160767
by HueyHQ
Multihead-Spindle Automatic Tool-length Probe was created by HueyHQ
Started this project late last year, got busy at work for a couple of months, but have now had a chance to finish up.
Apart from the Z-toolgauge and the laser bought cheap off eBay, I've made it out of stuff I found around the workshop.
Quite happy with the result. I can issue an M210 P22 for a single tool, or add a Q parameter for a range of tools, as I have in this video:
I added the following to the INI file:
And the following to the machine.hal file (increase num_dio):although I think the net probe-in already exists.
I've attached the remap files referred to in the [RS274NGC].
The custom.hal that has the pin setup.
Apart from the Z-toolgauge and the laser bought cheap off eBay, I've made it out of stuff I found around the workshop.
Quite happy with the result. I can issue an M210 P22 for a single tool, or add a Q parameter for a range of tools, as I have in this video:
I added the following to the INI file:
[RS274NGC]
USER_M_PATH = nc_subroutines
REMAP= M6 modalgroup=6 prolog=change_prolog ngc=tool_change epilog=change_epilog
REMAP= M200 modalgroup=10 ngc=m200 #raise all tools
REMAP= M210 modalgroup=10 argspec=Pq ngc=tool_length
REMAP= M211 modalgroup=10 ngc=tool_probe_x
And the following to the machine.hal file (increase num_dio):
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=32
....
loadrt and2 count=3
loadrt or2 count=1
loadrt debounce cfg=2
setp debounce.0.delay 50
addf debounce.0 servo-thread
....
# ---probe signal---
net probe-in => motion.probe-input
# ---toolchange signals for custom tool changer---
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed
I've attached the remap files referred to in the [RS274NGC].
The custom.hal that has the pin setup.
Last edit: 19 Mar 2020 19:27 by HueyHQ.
The following user(s) said Thank You: Todd Zuercher, tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
20 Mar 2020 00:36 #160811
by tommylight
Replied by tommylight on topic Multihead-Spindle Automatic Tool-length Probe
Very nice.
Please Log in or Create an account to join the conversation.
20 Mar 2020 18:01 - 20 Mar 2020 18:01 #160915
by bevins
Replied by bevins on topic Multihead-Spindle Automatic Tool-length Probe
Nice Job. Will be doing something similar as I just acquired a Biesse 321R with two spindles and 22 drills.
Last edit: 20 Mar 2020 18:01 by bevins.
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds