Touch probe et plate sur la meme entrée

More
20 Jul 2018 06:16 #114564 by Philippe
Bonjour a tous,
je désire mettre une touch probe sur ma CNC, j'ai deja une plate probe pour la mesure automatique de la hauteur de l'outil,
quelqu'un c’est -il comment faire car sur ma carte beak borad je n'ai qu'une seule entrée , ainsi que le le paramétrage du HAL.

merci de votre retour.

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

More
20 Jul 2018 11:11 #114581 by JohnnyCNC
"Hello everyone,
I want to put a touch probe on my CNC, I already have a flat probe for the automatic measurement of the height of the tool,
someone is it how to do because on my card board beak I have only one entry, and the setting of the HAL."


I'll get you the HAL settings that I used when I get home tonight unless someone provides the info sooner.

Here is a link for the hardware side of what I made.
forum.linuxcnc.org/27-driver-boards/3114...late-short-to-ground

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

More
20 Jul 2018 23:56 #114621 by JohnnyCNC
I'm not sure I fully understood your question. If you are trying add a 3D touch probe I can't help with that but if you are trying to get the probe you have to measure tool length then here is the info I have. I am not the original author. I found it on a forum, probably here. I am using Mesa cards and you will have to change the hardware pin names to those appropriate for your machine.


Good Luck


HAL Entries

#limits debounce to stop false triggers
loadrt debounce cfg=2 #change to the number you want
setp debounce.0.delay 100 #this sets the delay 100 iterations of the servo-thread
addf debounce.0 servo-thread
net deb-probe-in debounce.0.0.in <= hm2_5i25.0.7i76.0.0.input-05-not
net probe-in debounce.0.0.out
net probe-in => motion.probe-input
net run-touch-btn <= hm2_5i25.0.7i76.0.0.input-06 => halui.mdi-command-04
# ---probe signal---

net probe-in => motion.probe-input
Entry in: custom-postgui.hal

net remote-oTouchPlateProbeButton halui.mdi-command-03 <= pyvcp.oTouchPlateProbeButton

ini file entries


[HALUI]
MDI_COMMAND=G28
MDI_COMMAND=M7
MDI_COMMAND=M9
MDI_COMMAND=o100 call <-- This line is for button on the screen (Command 03)
MDI_COMMAND=o100 call <--- This one is for the physical button on t he touch plate (Command 04)
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=G10 L20 P1 X0
MDI_COMMAND=G10 L20 P1 Y0
MDI_COMMAND=G10 L20 P1 Z0
MDI_COMMAND=G0 X0
MDI_COMMAND=G0 Y0
MDI_COMMAND=G0 Z0


Entry in the pyvcp-panel.xml file
This will put a button o n t he screen in Axis

<button>
<halpin>"oTouchPlateProbeButton"</halpin>
<text>"Touch Off Z"</text>
<font>('fixed',10)</font>
</button>

100.ncg file
Put the following in a file named 100.ncg and place the file in your ncg_files directory

<pre>
o100 sub
G20
( Set current Z position to 0 so that we will always be moving down )
G10 L20 P0 Z0
( Probe to Z-.5 at F2 [Uses machine units, I work in inch, this is meant to be slow!] )
G38.2 Z-.25 f2
( Set Z0 at point where probe triggers with offset of +1.007 [this is the thickness of my touch plate. You must adjust this for your plate / setup] )
(G10 L20 = Set Coordinate System // P - coordinate system 0-9 0 = Not active)
G10 L20 P1 Z1.007
( Rapid up to Z.5 above the material )
(G10 L20 P1)
(Use machine coordinates)
G90
G53 G0
(Incremental mode)
G91
(Rapid Z up 1 inches)
G0 Z1
o100 endsub
</pre>

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

More
24 Jul 2018 07:15 #114731 by Philippe
Thanks to your answer,
Yes I want to add 3D touch probe with a touch to measure the tools on the same input if is possible because on my breakbord there is just one input for the probe and in linuxcxnc configuration.

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

More
27 Jul 2018 17:06 #114962 by andypugh
Oui, c'est possible.
Wire the probes in series into the same input (assuming that they are both normally-closed and open on contact)

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

Time to create page: 0.117 seconds
Powered by Kunena Forum