LinuxCNC stalls on manual toolchange routine
- Raksop
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
17 Jul 2024 07:46 - 17 Jul 2024 07:48 #305458
by Raksop
LinuxCNC stalls on manual toolchange routine was created by Raksop
Hi there,
I'm currently facing some problems with my LinuxCNC setup. I have remapped the M6 command to run my macro for measuring my tool length. However, it's only working the first time the macro (messen.ngc) is called. This means:
Raksop
I'm currently facing some problems with my LinuxCNC setup. I have remapped the M6 command to run my macro for measuring my tool length. However, it's only working the first time the macro (messen.ngc) is called. This means:
- The machine gets switched on and homed
- The first tool is inserted (for example, T1) and measured with the macro
- The zero point of the workpiece is set
- Another tool is called via T2 M6 (MDI)
- The machine moves to the manual tool change position and waits for the tool change
- Upon confirmation of the tool change, the machine starts moving (to the position of the tool length sensor) and then immediately stops without fault.
- HP ProDesk 600 G1
- i3 4160
- 8GB RAM
- Mesa 7i95
Raksop
Last edit: 17 Jul 2024 07:48 by Raksop.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23313
- Thank you received: 4861
21 Jul 2024 11:04 #305773
by andypugh
Replied by andypugh on topic LinuxCNC stalls on manual toolchange routine
Try adding some debugging lines to the tool change routine.
Things like
(DEBUG, Starting toolchange, 1800 = #1800)
Just to be sure that the toolchange routine is being called, and that what you see is not just a preprogrammed tool change position.
Things like
(DEBUG, Starting toolchange, 1800 = #1800)
Just to be sure that the toolchange routine is being called, and that what you see is not just a preprogrammed tool change position.
Please Log in or Create an account to join the conversation.
- Raksop
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
22 Jul 2024 06:50 - 22 Jul 2024 06:51 #305836
by Raksop
Replied by Raksop on topic LinuxCNC stalls on manual toolchange routine
I added some debug lines to the code and did the same procedure.
First tool call works and the machine stalls on the second tool call after the tool change is confirmed.
On the screenshoot u can see that the machine called the toolchange macro.
First tool call works and the machine stalls on the second tool call after the tool change is confirmed.
On the screenshoot u can see that the machine called the toolchange macro.
Last edit: 22 Jul 2024 06:51 by Raksop.
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds