Work with probe

More
12 May 2019 17:06 #133582 by tecno
Replied by tecno on topic Work with probe
F #<_hal[probe.ps_searchvel]>
G91
G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE>
G0 Z0.26
G91
F #<_hal[probe.ps_searchvel]>
G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE>
G1 Z[#<_hal[probe.ps_probe_latch]>] F#<_ini[TOOLSENSOR]RAPID_SPEED>
F #<_hal[probe.ps_probevel]>
G4 P0.5
G38.2 Z[-#<_hal[probe.ps_probe_latch]>*2]

Interesting to see the difference from ngc files mentioned earlier.

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

More
12 May 2019 20:09 #133595 by rodw
Replied by rodw on topic Work with probe
If you have overtravelled while using G38.2, you can probe away until the probe is no longer touching with G38.4 immediately after to take up any hysteresis at a slower velocity. I do this with the float switch on my plasma cutter.

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

More
12 May 2019 20:22 #133597 by tecno
Replied by tecno on topic Work with probe
So where do I put the G38.4?

F #<_hal[probe.ps_searchvel]>
G91
G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE>
G0 Z0.26

Cheers
Bengt

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

More
12 May 2019 20:33 #133599 by rodw
Replied by rodw on topic Work with probe
Immediately after G38.2 and before you use the probe values for anything.

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

More
12 May 2019 20:37 #133600 by tecno
Replied by tecno on topic Work with probe
F #<_hal[probe.ps_searchvel]>
G91
G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE>
G38.4
G0 Z0.26

Like this?

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

More
12 May 2019 20:57 - 12 May 2019 20:58 #133601 by rodw
Replied by rodw on topic Work with probe
I think you need two things.. Change the F rate to slow it down and also specify a probing distance. Not saying this is perfect but will give you an idea See the docs for info linuxcnc.org/docs/devel/html/gcode/g-code.html#gcode:g38
Looks like I used G38.5 for some reason but its the same thing.
F#<probe_speed>
g0 z 15
;NOTE: probe with G38.n codes and set Z0 here
G38.2 Z-3   (Probe to find the surface)
F50
G38.5 Z 20
G0 Z[#5063 + 0.0] (Move to Probe Trip point + switch hysteresis)
G92 Z0 (Set Z zero)
Last edit: 12 May 2019 20:58 by rodw.

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

More
12 May 2019 21:20 #133603 by tecno
Replied by tecno on topic Work with probe
Have to take a closer look on this, not so easy to change parameters.
I *only* need to handle the shoot-over as all parameters are set in the ngc file here in forum.linuxcnc.org/49-basic-configuratio...obe?start=260#133566 to get the manual tool-change to work.

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

More
14 May 2019 10:04 #133716 by tecno
Replied by tecno on topic Work with probe
So, feeling better today and thinking clearly better so here my simple solution.

F #<_hal[probe.ps_searchvel]>
G91
G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE>
G1 Z0.76 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< added travel 0.5mm and slowed down Z movement
; This is commented out only for sim.
F #<_hal[probe.ps_probevel]>
G38.2 Z-0.5
The following user(s) said Thank You: rodw

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

More
14 May 2019 10:42 #133722 by pl7i92
Replied by pl7i92 on topic Work with probe
as simply as you coudt get it
Nice if it workes

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

More
14 May 2019 10:49 #133723 by tecno
Replied by tecno on topic Work with probe
Seems to be working OK now, have been testing with several tool changes and all is running well.

Next in line to be solved is how to measure large end mills and also figure out offset to the high speed spindle so I can measure the tools on it too.

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

Time to create page: 0.165 seconds
Powered by Kunena Forum