Work with probe
09 May 2021 20:51 #208416
by kotlikm
Replied by kotlikm on topic Work with probe
Hoping i can get some help, I have everything setup and running with my probe screen, however when i run a tool change, ie, T2 M6, my machine runs to my tool change location, and then no further actions are taken from there, no option to confirm that i have put in T2.
Please Log in or Create an account to join the conversation.
09 May 2021 21:26 #208423
by andypugh
It sounds like you probably need to set up hal_manualtoolchange of you don't have an automatic toolchanger to toggle the inputs automatically.
linuxcnc.org/docs/2.8/html/man/man1/hal_manualtoolchange.1.html
Replied by andypugh on topic Work with probe
T2 M6, my machine runs to my tool change location, and then no further actions are taken from there, no option to confirm that i have put in T2.
It sounds like you probably need to set up hal_manualtoolchange of you don't have an automatic toolchanger to toggle the inputs automatically.
linuxcnc.org/docs/2.8/html/man/man1/hal_manualtoolchange.1.html
Please Log in or Create an account to join the conversation.
09 May 2021 21:28 #208424
by kotlikm
Replied by kotlikm on topic Work with probe
So, odd thing is, if i comment out the M6 code on line 30 of the "manual_change.ngc" macro, it appears to run fine, but doesnt give me a pause or anything to ackwoledge that i have put a new tool in the spindle.
Please Log in or Create an account to join the conversation.
09 May 2021 21:30 #208425
by kotlikm
Replied by kotlikm on topic Work with probe
Interesting, all the instructions for setting up probe screen tell you to comment that line set out of the .hal
Please Log in or Create an account to join the conversation.
09 May 2021 22:20 - 09 May 2021 22:35 #208428
by kotlikm
Replied by kotlikm on topic Work with probe
The installation instructions for the probe screen have the following;
4. Delete (or comment out) from all .hal files lines of the form:
#loadusr -W hal_manualtoolchange
#net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
#net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
#net tool-number iocontrol.0.tool-prep-number
Any recommendations for what should be left in?
4. Delete (or comment out) from all .hal files lines of the form:
#loadusr -W hal_manualtoolchange
#net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
#net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
#net tool-number iocontrol.0.tool-prep-number
Any recommendations for what should be left in?
Last edit: 09 May 2021 22:35 by kotlikm.
Please Log in or Create an account to join the conversation.
10 May 2021 02:14 #208445
by kotlikm
Replied by kotlikm on topic Work with probe
I've got the following in my configuration which I assume would have me covered.
In probe_screen.hal:
net tool-change probe.toolchange-change <= iocontrol.0.tool-change
net tool-changed probe.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number probe.toolchange-number <= iocontrol.0.tool-prep-number
In my main .hal:
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
In probe_screen.hal:
net tool-change probe.toolchange-change <= iocontrol.0.tool-change
net tool-changed probe.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number probe.toolchange-number <= iocontrol.0.tool-prep-number
In my main .hal:
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
Please Log in or Create an account to join the conversation.
10 May 2021 23:42 - 10 May 2021 23:55 #208508
by kotlikm
Replied by kotlikm on topic Work with probe
So I got most of it working using the latest probe screen "next generation" .
github.com/linuxcnc-probe-screen/probe-screen-ng
However I'm running into one last weird issue.
When I run a program, I get the pop up to load the tool, and when I press OK, nothing happens. It shows the manual tool change macro is loaded, but it doesn't continue and run over to the tool setter to touch off the new tool. The weird thing is, if I rerun the intended .ngc program, it will go over to the tool setter as desired, and then run the program, until it gets to the next tool change and the stops running after I swap in a new tool and press ok.
I am using GMOCCAPY if that makes a difference, there doesn't seem to be much if any documentation on setting up with this GUI vs AXIS.
github.com/linuxcnc-probe-screen/probe-screen-ng
However I'm running into one last weird issue.
When I run a program, I get the pop up to load the tool, and when I press OK, nothing happens. It shows the manual tool change macro is loaded, but it doesn't continue and run over to the tool setter to touch off the new tool. The weird thing is, if I rerun the intended .ngc program, it will go over to the tool setter as desired, and then run the program, until it gets to the next tool change and the stops running after I swap in a new tool and press ok.
I am using GMOCCAPY if that makes a difference, there doesn't seem to be much if any documentation on setting up with this GUI vs AXIS.
Last edit: 10 May 2021 23:55 by kotlikm.
Please Log in or Create an account to join the conversation.
11 May 2021 05:22 #208521
by newbynobi
Replied by newbynobi on topic Work with probe
Sound for me like you haven't closed the tool prepare loop.
Are you using Hal-manual tool chage or the tool change dialog from gmoccapy?
If you post your config, it might be possible to give better recommendations.
Norbert
Are you using Hal-manual tool chage or the tool change dialog from gmoccapy?
If you post your config, it might be possible to give better recommendations.
Norbert
Please Log in or Create an account to join the conversation.
11 May 2021 12:29 - 11 May 2021 12:35 #208541
by kotlikm
I guess this is where I am struggling. All of the installation instructions for probe screen tell you to comment out the "Hal-manual tool change" in the HAL file. Any further insight you can provide would be really appreciated.
thanks
Replied by kotlikm on topic Work with probe
Sound for me like you haven't closed the tool prepare loop.
Are you using Hal-manual tool chage or the tool change dialog from gmoccapy?
If you post your config, it might be possible to give better recommendations.
Norbert
I guess this is where I am struggling. All of the installation instructions for probe screen tell you to comment out the "Hal-manual tool change" in the HAL file. Any further insight you can provide would be really appreciated.
thanks
Attachments:
Last edit: 11 May 2021 12:35 by kotlikm.
Please Log in or Create an account to join the conversation.
11 May 2021 22:40 #208595
by andypugh
Yes, but they also add the semi-equivalent:
github.com/linuxcnc-probe-screen/probe-s...master/psng/psng.hal
Did you add a reference to psng.hal in your INI file?
Replied by andypugh on topic Work with probe
Interesting, all the instructions for setting up probe screen tell you to comment that line set out of the .hal
Yes, but they also add the semi-equivalent:
github.com/linuxcnc-probe-screen/probe-s...master/psng/psng.hal
Did you add a reference to psng.hal in your INI file?
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds