Make linuxcnc assume a tool when home A axis
- jtc
- Topic Author
- Offline
- Elite Member
- Posts: 230
- Thank you received: 13
How can I make linuxcnc assumes that one tool is loaded when a home the tools axis ?(a home pin enables the drive to make a home, it moves the tool to the correct position)
For now, when the axis is homed, theGUI displays "no tool", Only if I request to change the tool, it will change this information, and change the tool if it is a different tool.
The big problem is when, lets say, it is in tool 5 and by default it homes to tool 1 (make a second home). it assumes that stay on tool 5, and if I do t5m6 it doesn't move...
Tnks,
João Tiago
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
- Posts: 25
- Thank you received: 761
This comes up regularly
This thread and links in it point to some of the possible ways. If it works then M61 is the easiest.
www.linuxcnc.org/index.php/english/forum...-down?start=60#35444
regards
Please Log in or Create an account to join the conversation.
- jtc
- Topic Author
- Offline
- Elite Member
- Posts: 230
- Thank you received: 13
Hi
This comes up regularly
This thread and links in it point to some of the possible ways. If it works then M61 is the easiest.
www.linuxcnc.org/index.php/english/forum...-down?start=60#35444
regards
Tnks for the reply, but none of these solutions resolve my problem, maybe only that change the iocontrol, but I'm not seeing how to do that for now.
One thing that should be great is if I can send a Gcode from my toolchange component, or if I can associate a gcode to a hal pin. for example, I home the A axis (triggered by one hal pin), and associated to this pin send a "TxxM6". that should solve my problems...
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
- Posts: 25
- Thank you received: 761
Tnks for the reply, but none of these solutions resolve my problem, maybe only that change the iocontrol, but I'm not seeing how to do that for now.
One thing that should be great is if I can send a Gcode from my toolchange component, or if I can associate a gcode to a hal pin. for example, I home the A axis (triggered by one hal pin), and associated to this pin send a "TxxM6". that should solve my problems...
If you post your toolchange component, may have a better idea how you can achieve it
regards
Please Log in or Create an account to join the conversation.
- jtc
- Topic Author
- Offline
- Elite Member
- Posts: 230
- Thank you received: 13
Tnks for the reply, but none of these solutions resolve my problem, maybe only that change the iocontrol, but I'm not seeing how to do that for now.
One thing that should be great is if I can send a Gcode from my toolchange component, or if I can associate a gcode to a hal pin. for example, I home the A axis (triggered by one hal pin), and associated to this pin send a "TxxM6". that should solve my problems...
If you post your toolchange component, may have a better idea how you can achieve it
regards
Tanks. the problem was solved few minutes ago. I used one halui.mdi-command-"xx" (to make a TxM6) from one output of the component. works great for now it refreshes the toolnumber like it should.
João Tiago
Please Log in or Create an account to join the conversation.