error with probe screen V2

More
7 years 1 month ago #145256 by benzkiller
Have you been able to fix this issue?

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

More
6 years 11 months ago #149480 by fl.rene
Replied by fl.rene on topic error with probe screen V2
Hello all,

My name is Rene and a week ago I decided to implement Probe_Screen_v2 to my Hobby-LinuxCNC-machine because I think it is very useful to get some additional information about the requested tool during manual tool change!!

Many thanks to the developer!!! The instructions for the installation are really helpful and is was easy to implement Probe Screen to LinuxCNC! I followed the instructions as described, copied all files to the right location including the hidden .axisrc file, did the changes in ini and hal and changed some variables in the ini to match my machine...

Almost everything is working as expected, but I got only one issue during the tool change routine:
For the first tool I get the pop-up for the requested tool as expected with the additional information and after I hit OK the measurement-procedure starts but the dialog-window doesn't go away! After measurement of the tool, my g-code is running fine but the dialog-window is still there. When I click the axis-screen the tool-dialog hides behind axis but stays there.
But at all further tool-changes, my machine moves to the requested tool-change-position but I don't get a dialog to change the tool!
As the machine reaches tool-change-position it just moves on to the tool-sensor-position without any stop or prompt for tool change, and immediately measures the second (but I had no chance to change to 2nd tool) tool!!

As I checked the pins in the hal, I noticed that the pin or signal for probe.toolchange-changed and iocontrol.0.tool-changed doesn't drop down again. Both stays active and so my machine thinks that I have done the tool-change successfully and moves on to tool-sensor-position without any stop or Dialog. probe.toolchange-number and probe.toolchange-change changes as expected in hal...

Maybe there is an issue with the manual-change.ngc (which I have not edited) which doesn't indicate SUCCESS or is there a problem with the probe_screen.py, which doesn't drop the hal pin for probe.toolchange-change after success!


I'm still sticking around with this problem for about 3 days without any idea how to get it working...
Maybe anyone else had a similar problem like me and got it to work or even the developer has some idea how to solve this issue???

I hope I'll get it to work soon.
Any help or tips are very appreciated!!!!

Thanks a lot to all and greetings from Austria.
RENE

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

More
6 years 11 months ago #149482 by newbynobi
Hallo RENE,

this seems not to be a gmoccapy related problem! Do you use gmoccapy or axis? I am not sure, as you mentioned the axis tool change window and also the axisrc file. Both is not needed for gmoccapy, as it uses its own routines.

As the tool change dialog does not go away, I am pretty sure, that there are some connection problems in your hal or in your remap codes.

As this is not gmoccapy related, please open an own thread in hal or ngc tools section.
And do not forget to post your config folder.

Norbert

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

More
6 years 11 months ago #149485 by fl.rene
Replied by fl.rene on topic error with probe screen V2
Hello Norbert,

Thanks for your quick reply. You are right, I'm using the axis screen! But I followed the instructions as described for installation in axis screen, but without success!

I commented out the lines in hal for the built in M6 Pop-Up-Dialog as described and the new one with additional tool-information appears as expected, but only for the first tool-change! At the second tool-change it moves to change-position and immediately moves on to tool-sensor-position without a dialog for the 2nd tool!! So I have no chance to change the tool to the requested one!!

Rene

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

More
6 years 11 months ago #149487 by benzkiller
Please check the nc code if the 2nd tool is different to the first and check your tool library if tool numbers are correct.

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

More
6 years 11 months ago - 6 years 11 months ago #149489 by fl.rene
Replied by fl.rene on topic error with probe screen V2
Thanks benzkiller,

But I have already double checked. For testing I have written a ngc-file with only two tools, tool 21 and tool 81, only two drilling operations!!! Both tools are in the tool table and both tools are called correctly! After the first tool-change-dialog I can see that tool 21 is in the spindle and after tool 81 is requested my machine correctly moves to tool-change-position but without a dialog and immediately moves on to tool-sensor-position. When the machine moves to tool-sensor-position I can see that tool 81 is in spindle! If I watch the hal pins and signals I also can see that the requested tool is the right one (probe.toolchange-number).

I'm confused because after the first tool is called I click the OK button, probe.toolchange-changed always stays true so when the second tool is requested the machine moves on immediately to tool sensor after tool change position without tool-change-dialog! So I can not click OK, to indicate that I successfully changed the tool!!

RENE
Last edit: 6 years 11 months ago by fl.rene.

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

Moderators: newbynobi, HansU
Time to create page: 0.244 seconds
Powered by Kunena Forum