- Posts: 19306
- Thank you received: 0
Emco 240 Tool Turret
linuxcnc.org/docs/2.7/html/gcode/o-code.html
Does the turret give any position feedback at all?
Please Log in to join the conversation.
There is only a normal stepper motor connected
Please Log in to join the conversation.
Please Log in to join the conversation.
But I can always add a home switch
Please Log in to join the conversation.
To call the G-code sub with M6 you need to look at this:
linuxcnc.org/docs/2.7/html/remap/remap.h...s_including_tt_m6_tt
You only need to do what it says in section 5.6 to call a G-code subroutine with M6, but you probably need to read other parts of that (huge) document to know where to make the changes.
Please Log in to join the conversation.
I got this line at the end of the macro to load the actual tool into linuxcnc.
It works, but it prompts with a message 'insert tool x and continue when ready'.
Is it possible to bypass this message?
M6T#<_selected_tool>
Please Log in to join the conversation.
timmert wrote: I got it working and turret made it's first steps.
I got this line at the end of the macro to load the actual tool into linuxcnc.
It works, but it prompts with a message 'insert tool x and continue when ready'.
Is it possible to bypass this message?
M6T#<_selected_tool>
Yes. There are two ways to do this. Currently you probably have hal_manualtoolchange between iocontrol.0.tool-change and biocontrol.0.tool-changed. You can just link them directly and not load hal_manualtoolchange.
Or, simpler but not so correct, just replace the M6 in your macro with M61
Please Log in to join the conversation.
I use Gmoccapy
I'm not sure how to connect it? It's a bit different.
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
Please Log in to join the conversation.
timmert wrote: Hi Andy,
I use Gmoccapy
I'm not sure how to connect it? It's a bit different.
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
Change that section to:
Please Log in to join the conversation.
