problem with T1M06 with 2.7.14

More
24 Nov 2018 16:58 #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?

File Attachment:

File Name: denford_20...1-24.ini
File Size:4 KB

File Attachment:

File Name: denford_20...1-24.hal
File Size:10 KB
Attachments:

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

More
24 Nov 2018 22:43 #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
The following user(s) said Thank You: Clive S

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

More
26 Nov 2018 12:53 #121362 by Clive S

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:(

File Attachment:

File Name: denford_20...1-26.hal
File Size:11 KB

File Attachment:

File Name: denford_20...1-26.ini
File Size:4 KB

File Attachment:

File Name: Testtoolchange.ngc
File Size:1 KB
Attachments:

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

More
26 Nov 2018 14:03 - 26 Nov 2018 14:23 #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.
Last edit: 26 Nov 2018 14:23 by bevins.
The following user(s) said Thank You: Clive S

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

More
26 Nov 2018 16:26 #121376 by Clive S

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 or Create an account to join the conversation.

More
26 Nov 2018 18:16 #121385 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.


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.
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 or Create an account to join the conversation.

More
26 Nov 2018 20:38 #121396 by Clive S

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.
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 or Create an account to join the conversation.

More
26 Nov 2018 22:04 #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
The following user(s) said Thank You: Clive S

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

More
26 Nov 2018 22:39 #121413 by Clive S

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?

File Attachment:

File Name: Testtoolch...1-26.ngc
File Size:1 KB
Attachments:

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

More
27 Nov 2018 11:20 #121466 by Clive S

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?

File Attachment:

File Name: Testtoolch...1-26.ngc
File Size:1 KB


Thanks that did it, Working correctly now.

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

Time to create page: 0.167 seconds
Powered by Kunena Forum