Work with probe

More
11 Feb 2021 13:31 #198393 by CBollweg
Replied by CBollweg on topic Work with probe
Hi andy,

don`t know what you mean: add a debug print to the Python handler ?

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

More
11 Feb 2021 19:21 #198429 by andypugh
Replied by andypugh on topic Work with probe

don`t know what you mean: add a debug print to the Python handler ?


As described in forum.linuxcnc.org/49-basic-configuratio...obe?start=440#198255

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

More
28 Feb 2021 13:09 #200404 by Swag
Replied by Swag on topic Work with probe
Hi Everyone,

I'm relatively new to linuxcnc and am still trying to understand how all of the connections are made and I have a more basic question regarding connections to the touch probe and toolsetter. I am using a 7i76e and have a wireless touchprobe and wired toolsetter from vers.by. I understand they both connect to probe-in and once that connection is made, the rest of the code that vers.by has written takes over. My question is if I wanted to connect the tool setting and touchprobe to, for example, pins TB6.13 14 and 15 (touchprobe OUT, touchprobe ERR (with 10k pullup to 24V), and toolsetter OUT (with 10k pullup to 24V)). What needs to be in my machine.hal file to define this connection? It seems like I need something related to something andypugh wrote a year or so ago with an or2 statement or-ing the two signals would end with something like:

loadrt or2
...
addf o2.0 servo-thread
...
net probe-in <= hm2-7i76e.0.7i76.0.0.input-13-not
net length-in <= hm2-7i76e.0.7i76.0.0.input-15-not
net probe-in => or2.0.in0
net probe-in => or2.0.in1
net probe-or-length or2.0.out
net probe-or-length motion.probe-input

I'm obviously using the wrong search terms both in the files provided by vers.by and here as I am certain this is defined, but I haven't had any luck answering this definitively, yet.

Can someone point me to a thread that describes the connection of both sensors?

-Sam

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

More
28 Feb 2021 13:26 #200409 by Swag
Replied by Swag on topic Work with probe
I feel like there are a few syntax errors in that snippet above as well, and it should be more like:

loadrt or2
...
addf or2.0 servo-thread
...
net probe-in <= hm2-7i76e.0.7i76.0.0.input-13-not
net length-in <= hm2-7i76e.0.7i76.0.0.input-15-not
net probe-in => or2.0.in0
net length-in => or2.0.in1
net probe-or-length or2.0.out
net probe-or-length motion.probe-input

That would then connect my probe (pin 13) and my toolsetter (pin 15) via an OR to probe-or-length which is in turn connected to motion.probe-input. Do I understand then correctly that Sergei's code then only needs that motion.probe-input connected and there is nothing more that I need to connect?

And the ERR signal isn't actively used anywhere, I would have to link that up to something else (a buddy has something with a oneshot function (github.com/PeterMue/ZX45-LinuxCNC/tree/feature/probe-screen) to handle the error signal.

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

More
02 Mar 2021 22:17 #200836 by andypugh
Replied by andypugh on topic Work with probe
Did you find this simple HAL component?
forum.linuxcnc.org/38-general-linuxcnc-q...puts?start=30#194489

Paste the code into a text file with the name "multiprobe.comp", then you can compile and install it on your system with "sudo halcompile --install multiprobe.comp" and then you have a new HAL component that detects any change in the values of the probe inputs as a probe event.

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

More
16 Mar 2021 14:51 #202482 by Cam_Haug
Replied by Cam_Haug on topic Work with probe
Has anyone solved the issue in psng probe screen on 2.8 where at the tool change prompt it simply stops and you have to reload? I see it was discussed a couple of pages back but I cant see a fix for it?

Regards,

Cam

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

More
16 Mar 2021 16:29 #202485 by andypugh
Replied by andypugh on topic Work with probe

Has anyone solved the issue in psng probe screen on 2.8 where at the tool change prompt it simply stops and you have to reload?


Do you have a link in HAL between iocontrol.0.tool-change and iocontrol.0.tool-changed? And the same for tool-prep

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

More
16 Mar 2021 22:34 #202533 by Cam_Haug
Replied by Cam_Haug on topic Work with probe
Is there a further link I need to create than what is in the psng.hal file?

# Ensure all toolchange pins are free to use
unlinkp iocontrol.0.tool-number
unlinkp iocontrol.0.tool-prep-number
unlinkp iocontrol.0.tool-change
unlinkp iocontrol.0.tool-changed
unlinkp iocontrol.0.tool-prepare
unlinkp iocontrol.0.tool-prepared

net tool-change probe.toolchange-change <= iocontrol.0.tool-change
net tool-changed probe.toolchange-changed => iocontrol.0.tool-changed
net tool-number probe.toolchange-number <= iocontrol.0.tool-number
net tool-prep-number probe.toolchange-prep-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared

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

More
17 Mar 2021 06:47 - 17 Mar 2021 06:51 #202564 by zu4lu
Replied by zu4lu on topic Work with probe
Hi, same problem. After clicking ok, nothing happens. If i'm waiting long enough, message window is popping up: "it is not possible to change to Auto Mode at the moment". Latest psng code from git.
Last edit: 17 Mar 2021 06:51 by zu4lu.

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

More
28 Apr 2021 19:36 #207323 by Roguish
Replied by Roguish on topic Work with probe
What is the status of your update version?
done?
when release?

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

Time to create page: 0.176 seconds
Powered by Kunena Forum