How to make a tool changer move to home

More
5 years 10 months ago #192341 by Aciera
Ok I found it. We can remove it in the toolchanger.comp and then you will need to recompile the component.

Change line 136 in the file toolchanger.comp from this:
Code:
bWarn = true; // just warn once, its not an error as such but INFO won't display unless debugging is set 3+


to this.
Code:
bWarn = false; // just warn once, its not an error as such but INFO won't display unless debugging is set 3+


and recompile the component. It should remove the warning.

Please Log in to join the conversation.

More
5 years 10 months ago #192343 by Clive S
The gui took a long time to load then a blank screen. then this:-
With "no file" being shown at the top
.

Attachment not found


.
Edit:
I noticed it was in a loop displaying the msg

Please Log in to join the conversation.

More
5 years 10 months ago #192344 by Aciera
is this after recompiling toolchanger.comp?

Please Log in to join the conversation.

More
5 years 10 months ago #192345 by Clive S

Aciera wrote: is this after recompiling toolchanger.comp?


Yes but I will make sure and do it again

Edit; I have tried it again with the same results

This was the line that I changed to false
bWarn = true; // just warn once, its not an error as such but INFO won't display unless debugging is set 3+
rtapi_print_msg(RTAPI_MSG_ERR, "No tool selected. Use M6Tx to set current tool");
break;

and compiled with terminal from config folder . sudo halcompile --install toolchanger.comp

Please Log in to join the conversation.

More
5 years 10 months ago #192347 by Aciera
Maybe put the "bWarn = true" back in and just uncomment line 137:

Code:
bWarn = true; // just warn once, its not an error as such but INFO won't display unless debugging is set 3+ // rtapi_print_msg(RTAPI_MSG_ERR, "No tool selected. Use M6Tx to set current tool");


and recompile the component.
Also make sure the file 714.ngc exists.

Please Log in to join the conversation.

More
5 years 10 months ago #192350 by Clive S

Aciera wrote: Maybe put the "bWarn = true" back in and just uncomment line 137:

Code:
bWarn = true; // just warn once, its not an error as such but INFO won't display unless debugging is set 3+ // rtapi_print_msg(RTAPI_MSG_ERR, "No tool selected. Use M6Tx to set current tool");


and recompile the component.
Also make sure the file 714.ngc exists.


Perfect. You have a fantastic flare for the way you can help and give advice so clearly.

Star Man Thanks.

Please Log in to join the conversation.

More
5 years 10 months ago #192351 by Aciera
Ha, thanks but I'm really just making it up as I go along.

Please Log in to join the conversation.

More
5 years 10 months ago #192352 by Clive S
For the benefit of others this is my config for the Boxford 125 lathe with a lot of help from ACIERA


Attachment not found

Please Log in to join the conversation.

More
5 years 10 months ago #192359 by tommylight

Clive S wrote: You have a fantastic flare for the way you can help and give advice so clearly.

Star Man Thanks.

I agree with all of the above. :)

Please Log in to join the conversation.

More
5 years 9 months ago #194367 by Clive S
I seem to have another problem in that when using Home All tab the X rises first then Z which is correct the X homes first and shows it is homed in the gui then Z starts moving to the switch but stops after about 30mm then pressing home all again it will do another 30mm.
and shows this error in the terminal
.

Attachment not found


.
BUT if the Z is homed from the machine tab then it will home the Z without error

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum