LinuxCNC stops executing on this line of Gcode...

More
10 years 4 months ago #75500 by mjohnsonsa
Yes, it travels to the top limit and then just sits there, no prompts, no errors, nothing.

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

More
10 years 4 months ago #75501 by andypugh

mjohnsonsa wrote: Yes, it travels to the top limit and then just sits there, no prompts, no errors, nothing.


OK, so it is completing the G53 G0 line, so must be stalling on the toolchange.

Have a look with halmeter at the iocontrol.0.tool-change pin and the iocontrol.0.tool-changed pin. If the former it 1 and the latter is 0 it's the situation that Dewey described.

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

More
10 years 4 months ago #75595 by mjohnsonsa
This is what is in my .hal file and I did not put it there (at least not willingly, maybe I copied it from a sample file accidentally) I do not have any kind of tool changer and it looks like it is referencing IO so I am guessing that is my problem? Should I just remove it?


# ---toolchange signals for custom tool changer---

net tool-number <= iocontrol.0.tool-prep-number
net tool-change-request <= iocontrol.0.tool-change
net tool-change-confirmed => iocontrol.0.tool-changed
net tool-prepare-request <= iocontrol.0.tool-prepare
net tool-prepare-confirmed => iocontrol.0.tool-prepared

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

More
10 years 4 months ago #75604 by andypugh
You can either short-circuit the loops or connect them to hal_manualtoolchange.

The second idea is probably better:
linuxcnc.org/docs/2.7/html/gui/axis.html#_manual_tool_change

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

More
10 years 4 months ago #75845 by mjohnsonsa
Just thought I would follow up on this. I did change the code to use the hal_manualtoolchange and all seems to be working now. Thanks guys.

- Matt

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

Time to create page: 0.186 seconds
Powered by Kunena Forum