problem with T1M06 with 2.7.14

More
7 years 11 months ago #121296 by Clive S
I have been converting some hal and ini file from 2.8 to run on 2.7
If I put a T1M06 in a gcode file the code stops just past the T1M06 line and pauses but no tool prompt shows up so as to continue.

If I take out the T1M06 line the gcode runs as it should.

What have I missed in the ini file that would cause this?

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
7 years 11 months ago #121309 by newbynobi
Your iocontrol.0.toolchange signal is not connected to tool changed,
i am on my phone, just look in the sim configs to check how the must be connected

Norbert

Please Log in to join the conversation.

More
7 years 11 months ago #121362 by Clive S

newbynobi wrote: Your iocontrol.0.toolchange signal is not connected to tool changed,
i am on my phone, just look in the sim configs to check how the must be connected

Norbert


Thanks. Please see updated hal file and a sample gcode test.

The problem is that the code does not stop at the T1M6 and give me a prompt. The gcode runs fine for the rest of it.

Also I have noticed the the edit gcode is not working in the file menu.

I can't see what is wrong:(

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
7 years 11 months ago #121368 by bevins
No editor has been specified in the [Display] section of the ini file.

EDITOR = gedit - The editor to use when selecting File > Edit to edit the G code from the AXIS menu. This must be configured for this menu item to work.

[DISPLAY]

IF you dont have gedit because this is default, then put an editor you have installed.

Please Log in to join the conversation.

More
7 years 11 months ago #121376 by Clive S

bevins wrote: No editor has been specified in the [Display] section of the ini file.

EDITOR = gedit - The editor to use when selecting File > Edit to edit the G code from the AXIS menu. This must be configured for this menu item to work.

[DISPLAY]

IF you dont have gedit because this is default, then put an editor you have installed.


Yes thanks, I had the wrong editor in the Display it now works with EDITOR = mousepad

Just need to find the reason by the tool change prompt does not show up please see #121296

Please Log in to join the conversation.

More
7 years 11 months ago #121385 by bevins

Clive s wrote:

bevins wrote: No editor has been specified in the [Display] section of the ini file.

EDITOR = gedit - The editor to use when selecting File > Edit to edit the G code from the AXIS menu. This must be configured for this menu item to work.

[DISPLAY]

IF you dont have gedit because this is default, then put an editor you have installed.


Yes thanks, I had the wrong editor in the Display it now works with EDITOR = mousepad

Just need to find the reason by the tool change prompt does not show up please see #121296


Make sure you have something like this in your hal file.
Code:
loadusr -W hal_manualtoolchange net tool-change-request iocontrol.0.tool-change => hal_manualtoolchange.change net tool-change-confirmed 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

Please Log in to join the conversation.

More
7 years 11 months ago #121396 by Clive S

bevins wrote:

Clive s wrote:

bevins wrote: No editor has been specified in the [Display] section of the ini file.

EDITOR = gedit - The editor to use when selecting File > Edit to edit the G code from the AXIS menu. This must be configured for this menu item to work.

[DISPLAY]

IF you dont have gedit because this is default, then put an editor you have installed.


Yes thanks, I had the wrong editor in the Display it now works with EDITOR = mousepad

Just need to find the reason by the tool change prompt does not show up please see #121296


Make sure you have something like this in your hal file.
Code:
loadusr -W hal_manualtoolchange net tool-change-request iocontrol.0.tool-change => hal_manualtoolchange.change net tool-change-confirmed 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

Thanks for replying. I believe I have that in my hal file. Shown in post #121296

Please Log in to join the conversation.

More
7 years 11 months ago #121410 by newbynobi
Just delete
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed

And it should work

Please Log in to join the conversation.

More
7 years 11 months ago #121413 by Clive S

newbynobi wrote: Just delete
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed

And it should work

Thanks. I will try that in the morning and report back. Do I have the correct format in the Gcode?

Attachment not found

Please Log in to join the conversation.

More
7 years 11 months ago #121466 by Clive S

Clive s wrote:

newbynobi wrote: Just delete
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed

And it should work

Thanks. I will try that in the morning and report back. Do I have the correct format in the Gcode?

Attachment not found


Thanks that did it, Working correctly now.

Please Log in to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum