NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

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
There are no translations available.

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
Use subroutines with caution
  • Page:
  • 1

TOPIC: Plasma Touch Off

Plasma Touch Off 07 Jui 2011 08:59 #10358

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
After a recent suggestion I've changed my plasma touch off subroutine. My plasma uses a floating head and a micro switch connected to the probe input.
o<touchoff> sub
(#1 pierce height, #2 pierce delay, #3 cut height)
F10
G38.2 Z-1.75 (Probe to find the surface)
G92 Z-0.070 (Set Z Probe Switch Offset)
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

An example file using touchoff.ngc
G20 (Units: Inches)
G40 (Cancel Cutter Comp)
G90 (Absolute Mode)
G64 P0.005 (Continuous mode + path tolerance)
G92 X0 Y0
o<touchoff> call [0.100] [0] [0.08] (Touchoff and start cutting)
F70
G1 X32.1
M5 (Torch Off)
G0 Z0.500
X0.000
G92.1 (Cancel offsets and set to zero)
G0 Z0
M2

John
The administrator has disabled public write access.

Re:Plasma Touch Off 18 Juil 2012 20:16 #22167

  • tensaiteki
  • tensaiteki's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 2
I modified John's touch off subroutine.

Now if the torch fails to fire/arc doesn't transfer, it will re-probe and try again instead of just taking off without cutting. If it fails four times in a row, the head will raise up 2 inches and pause the program to allow access to change the torch consumables. Resuming/un-pausing the program will restart the probing and torch firing attempts.

o<touchoff> sub
(#1 pierce height, #2 pierce delay, #3 cut height)

#<arc-fails> = 0

F40
 o100 do   
    G38.2 Z-1.25 (Probe to find the surface)
    G91
    G1 Z0.185 (Raise up to Z0)
    G90
    G92 Z0 (Set Z0)
    G1 Z#1  (Raise to pierce height)
    M3 S1   (Fire torch)
    M66 P0 L1 Q2 (Wait 2 seconds for Arc OK from Torch)
     o200 if [#5399 EQ -1] (Check to see if torch failed to fire)
      (MSG, Arc Fail)
      M5
      #<arc-fails> = [#<arc-fails> + 1]
        o300 if [#<arc-fails> GT 3.0000] (Check if torch has failed 4 times in a row)
          Z2.0000 (raise torch high enough to change consumables)
          #<arc-fails> = 0 (reset arc failure counter)
          M1 (pause)
        o300 endif
     o200 endif
  o100 while [[#5399 EQ -1]]
 G4 P#2 (Pause for pierce delay)
 F25
 Z#3 (goto cut height)
o<touchoff> endsub
M2

Usage is the same as in John's first post.
The administrator has disabled public write access.

Re:Plasma Touch Off 19 Juil 2012 07:30 #22191

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
Excellent!

I'll give that a try next time I cut a part...

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