M6 and Manual Tool change

More
16 Jan 2022 17:13 #232028 by Ewok2
M6 and Manual Tool change was created by Ewok2
I have a "M6 T1" generated in my gcode file by Freecad.
I use only one tools...
And when I launch the file .ngc with a LinuxCnC Sim I get a pop up telling me to put the Tool 1
But when I launch thesame .ngc file with the LinucCnc "real conf with the cnc attached" I don't have this pop up and the linuxCnc does not start.
If I remove by hand this M6 T1 the engraving work.

I should have missed some configuration in the hal or ini file?
Any Idee?

Manythanks

 

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

More
16 Jan 2022 20:10 #232060 by MaHa

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

More
16 Jan 2022 20:44 #232062 by Ewok2
Replied by Ewok2 on topic M6 and Manual Tool change
Thanks
So if i understand I just to have to add in my hal file theses few lines :
loadusr -W hal_manualtoolchange
net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

Is there a specific place in the file or anywhere will works?

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

More
16 Jan 2022 22:37 #232078 by MaHa
Replied by MaHa on topic M6 and Manual Tool change
In my hal file this lines are at the very end

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

More
16 Jan 2022 22:51 #232080 by Ewok2
Replied by Ewok2 on topic M6 and Manual Tool change
Thanks

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

Time to create page: 0.064 seconds
Powered by Kunena Forum