Probe tripped during non-probe move
- tommylight
- Away
- Moderator
Less
More
- Posts: 19471
- Thank you received: 6530
16 Feb 2022 16:01 #235046
by tommylight
Replied by tommylight on topic Probe tripped during non-probe move
Nope, i would have posted it if i did, but my search-fu is failing me lately.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10789
- Thank you received: 3554
17 Feb 2022 11:43 #235121
by rodw
Replied by rodw on topic Probe tripped during non-probe move
a no wiring solution is to and.2 the probe input with a digital input and in your gcode probing routine issue a M67 or M68 command to turn the input on and off. simple and effective.
Please Log in or Create an account to join the conversation.
- natholego11
- Offline
- Senior Member
Less
More
- Posts: 71
- Thank you received: 4
18 Feb 2022 12:56 #235233
by natholego11
Replied by natholego11 on topic Probe tripped during non-probe move
so... it would look something like this:
loadrt probeon output_type=0
Addf and2.0 servo-thread
addf probeon.update servo-thread
setp probeon.0.enable TRUE
# ---probe signal---
net probe-in => motion.probe-input
but now im stuck, how do I link the M68 E0 Q1 to the probe?
loadrt probeon output_type=0
Addf and2.0 servo-thread
addf probeon.update servo-thread
setp probeon.0.enable TRUE
# ---probe signal---
net probe-in => motion.probe-input
but now im stuck, how do I link the M68 E0 Q1 to the probe?
Please Log in or Create an account to join the conversation.
- zu4lu
- Offline
- Junior Member
Less
More
- Posts: 32
- Thank you received: 4
18 May 2022 17:57 #243287
by zu4lu
Replied by zu4lu on topic Probe tripped during non-probe move
Please Log in or Create an account to join the conversation.
- tightmopedman9
- Offline
- Senior Member
Less
More
- Posts: 69
- Thank you received: 7
21 Jul 2022 16:40 #247960
by tightmopedman9
Replied by tightmopedman9 on topic Probe tripped during non-probe move
I have the same tool length sensor that was linked earlier in this thread. I haven't had any problems with it triggering during cutting, but I did have an issue with the probe triggering after retraction, if I had the spindle spinning during probing. For larger diameter tools I get more accurate touch results if I spin the spindle slowly while touching off the tool, so I wanted to retain this feature.
Here is my HAL, which also ands two inputs, one for the tool setter and one for the touch probe.
net M64-and-in motion.digital-out-00 and2.13.in0
net tool-sensor-and-in hm2_5i25.0.7i77.0.0.input-16 and2.13.in1
net tool-sensor and2.13.out or2.1.in0
net probe-sensor hm2_5i25.0.7i77.0.0.input-00 or2.1.in1
net probe-or-tool-sensor or2.1.out
net probe-or-tool-sensor motion.probe-input
I wrapped any G38 moves in the tool touch off subroutine with:
M64 P00
(G38)
M65 P00
The default state of motion.digital-out-00 is 0, so this code will also prevent the tool touch probe from triggering outside of a tool touch routine.
Here is my HAL, which also ands two inputs, one for the tool setter and one for the touch probe.
net M64-and-in motion.digital-out-00 and2.13.in0
net tool-sensor-and-in hm2_5i25.0.7i77.0.0.input-16 and2.13.in1
net tool-sensor and2.13.out or2.1.in0
net probe-sensor hm2_5i25.0.7i77.0.0.input-00 or2.1.in1
net probe-or-tool-sensor or2.1.out
net probe-or-tool-sensor motion.probe-input
I wrapped any G38 moves in the tool touch off subroutine with:
M64 P00
(G38)
M65 P00
The default state of motion.digital-out-00 is 0, so this code will also prevent the tool touch probe from triggering outside of a tool touch routine.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds