NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Prob Z

Prob Z 16 Aug 2012 06:56 #23291

  • gois
  • gois's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
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?
The administrator has disabled public write access.

Re:Prob Z 16 Aug 2012 08:32 #23297

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 86
  • Karma: 134
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
The administrator has disabled public write access.

Re:Prob Z 16 Aug 2012 11:49 #23312

  • gois
  • gois's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
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.
The administrator has disabled public write access.

Re:Prob Z 16 Aug 2012 12:24 #23313

  • Rick G
  • Rick G's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1069
  • Thank you received: 15
  • Karma: 80
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
Last Edit: 16 Aug 2012 12:25 by Rick G.
The administrator has disabled public write access.

Re:Prob Z 16 Aug 2012 13:33 #23314

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 86
  • Karma: 134
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.
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
The administrator has disabled public write access.

Re:Prob Z 20 Aug 2012 13:08 #23434

  • gois
  • gois's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Good afternoon!
Its give me an example of how to call it an alert button because I can make the button, but I can only draw one line at a time.
The administrator has disabled public write access.

Re:Prob Z 20 Aug 2012 14:59 #23445

  • Rick G
  • Rick G's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1069
  • Thank you received: 15
  • Karma: 80
Sorry, not sure what you are trying to ask.

Rick G
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.906 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.