Prob Z
16 Aug 2012 13:56 #23291
by gois
Good morning!
I'm using Prob in the Z axis and use the MDI as follows: G38.2 Z-3 F200
What I need is the following, create a button with name "Reset Z" button and this enable Prob,
and when playing the card literally ZERO the Z axis in the way that happens when we click the "PROBE".
I know how to create buttons and how to enable them to perform the MDI command, but I do not know how,
perhaps create a macro to perform this process, anyone have any examples of how I do it?
I'm using Prob in the Z axis and use the MDI as follows: G38.2 Z-3 F200
What I need is the following, create a button with name "Reset Z" button and this enable Prob,
and when playing the card literally ZERO the Z axis in the way that happens when we click the "PROBE".
I know how to create buttons and how to enable them to perform the MDI command, but I do not know how,
perhaps create a macro to perform this process, anyone have any examples of how I do it?
Please Log in or Create an account to join the conversation.
16 Aug 2012 15:32 #23297
by BigJohnT
Here is how I created a "Rapid to Home" button, it might be similar.
www.linuxcnc.org/index.php/english/compo...=40&id=3408&start=30
John
www.linuxcnc.org/index.php/english/compo...=40&id=3408&start=30
John
Please Log in or Create an account to join the conversation.
16 Aug 2012 18:49 #23312
by gois
Good afternoon!
let me try to explain better ...
What I need is when I click the "probe" for the Z axis, which before referencing the cordenada against the workpiece, which
locate the probe.
Then work as follows in Click on "probe" for the Z axis, and the Z axis encntrar begins to descend to the probe, when receiving the reference tap cordenada over the workpiece G54.
let me try to explain better ...
What I need is when I click the "probe" for the Z axis, which before referencing the cordenada against the workpiece, which
locate the probe.
Then work as follows in Click on "probe" for the Z axis, and the Z axis encntrar begins to descend to the probe, when receiving the reference tap cordenada over the workpiece G54.
Please Log in or Create an account to join the conversation.
16 Aug 2012 19:24 - 16 Aug 2012 19:25 #23313
by Rick G
You can also look here...
www.linuxcnc.org/index.php/english/compo...ew&catid=40&id=17821
Take a look at section for Z
In short...
probe for Z
After probe trips
You can use G10 or G92 to set the z axis to 0.
Rick G
www.linuxcnc.org/index.php/english/compo...ew&catid=40&id=17821
Take a look at section for Z
In short...
probe for Z
After probe trips
You can use G10 or G92 to set the z axis to 0.
Rick G
Last edit: 16 Aug 2012 19:25 by Rick G.
Please Log in or Create an account to join the conversation.
16 Aug 2012 20:33 #23314
by BigJohnT
If I understand now your using a probe routine to locate the top of the material?
This is my probe routine for my plasma torch to find the material top.
This could be called from a button like the above example.
John
This is my probe routine for my plasma torch to find the material top.
o<touchoff> sub
(#1 pierce height, #2 pierce delay, #3 cut height)
F10
G38.2 Z-1.75 (Probe to find the surface)
G91
G1 Z0.070 (Raise up to Z0)
G90
G92 Z0 (Set Z0)
G1 Z#1
M3 S1
M66 P0 L1 Q5 (Wait for Arc OK from Torch)
G4 P#2 (Pause for pierce delay)
F25
Z#3 (goto cut height)
o<touchoff> endsub
M2
This could be called from a button like the above example.
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.362 seconds