Hello Guest it is March 29, 2024, 11:39:00 AM

Author Topic: PLASMA , AUTO Stop- move to check torch- Restart cut function  (Read 8166 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
This is another handy function we run on plasma machines. It is a 2 button system. One to stop and 1 to restart.

If you find the torch cutting a bit raggy and want to check it. Push the stop button. Mach will then do a feedhold and turn off the torch, record all the import info it needs to restart, then notify you on the message bar when it is done.

Then you can move anywhere to check or clean or change out parts as needed. DON't forget to reset your plasma machine(;-) if you take the head apart.

Now when you are ready to return to work press the restart button. The machine will pop up a window letting you know how is it going to proceed back to the spot .IF you agree with it press ok.

Then the machine will rapid back to the last cut position and reset the TOM(top of material) refire the torch and restart the program run.

You may need to modify the TOM routine to suite your style.


***********************************************************************
'Stop Button     Feedhold/stop to check torch
DoButton(1)                 'Feedhold
While IsMoving      'Wait for movement to stop
Sleep(100)
Wend
DoSpinStop                                 ' Turn OFF torch
Sleep(1000)
DoButton(286)            ' Set positions
Sleep(1000)
DoButton(3)      'Set Stop
Sleep(1000)
SetVar(604,GetDro(18))   'SetVar to Feedrate
SetVar(605,GetDro(16))   'SetVar to CurrentLine#
Code"G0 Z1.000"      'Move to a SafeZ
While IsMoving()     
Sleep(1000)
Wend
Code"(Stop Routine Complete)"
End     

'***********************************************************************************************************************************

'Restart Button to return to work
Code"G1 Z1.000 F#604"             'Go To a SafeZ
While IsMoving()
Sleep(1000)
Wend
SetDro(16,Getvar(605))   'Reset SET NEXT LINE #
Sleep(100)
SetDro(18,GetVar(604))   'Reset Feedrate
Sleep(100)
'************************* Setup TOM to suite machine
Code"G28.1 Z0.500"    'ReREF Head  to TOM
While Ismoving()
Sleep(100)
Wend
Code"G92 Z0.000"                    'Reset Dro
Code"G1 Z0.150"
Code"G92 Z0.000"
sleep(100)
'*************************************************
DoOemButton(285)             'Return to stop position
While IsMoving()
Sleep(1000)
Wend
Code"G1 Z#601 F#604"      'Return Z to stop Point
While IsMoving()
Sleep(1000)
Wend
DOSPINCW()      'Refire Torch
Sleep(100)
DoButton(0)       'Resume Program Run from Stop Point
Code"(You are now back ONLINE cutting )"
End         

Re: PLASMA , AUTO Stop- move to check torch- Restart cut function
« Reply #1 on: March 31, 2015, 09:15:15 AM »
Hello man,

Excuse me, but i didnt have a THC? I just have touch probe code.
Can i make this button for my machine?

Thanks so much!