Hello Guest it is March 29, 2024, 02:17:35 AM

Author Topic: RUN REVERSE, Serious problem  (Read 22627 times)

0 Members and 1 Guest are viewing this topic.

Re: RUN REVERSE, Serious problem
« Reply #10 on: May 21, 2010, 10:01:47 AM »
Some years ago, I worked with a basic software(For several weeks) that was written by a family for plasma device . The button "pause" and "reverse run" worked very very well and no problems were not created anywhere (Even in the curves)
The software was very very basic. I do not know why these two button mach3 isnt safe.
**Even a clock that does not work is right twice a day**

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: RUN REVERSE, Serious problem
« Reply #11 on: May 21, 2010, 02:07:08 PM »
To properly maintain position on the table you would do

Feedhold (until motion stops)
Stop

This allows Mach to come to a controlled stop witout LOOSING position.

Then you can do what ever you need to do to fixe the problem.

Then you can move back into position at a start point ahead of where you had a problem then use Set Next Line and RUN.

We have a special macro we run called restart that does all of this automatically so IF there is a cutting problem it is easy to remedy.

That way we don't have to rely on reverse run.

Hope that helps, (;-) TP

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: RUN REVERSE, Serious problem
« Reply #12 on: May 21, 2010, 04:14:54 PM »
Hi BR549,
Good solution.
I have a question: vouldn't Stop command abort entire job?
And, can you send me this macro you have to remedy the problem?
mrpeja

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: RUN REVERSE, Serious problem
« Reply #13 on: May 21, 2010, 08:43:03 PM »
It depends on how you have mach setup as to how it reacts to stop.

BUT even with that jet cutting is very basic 2d cutting rarely would you see anything other than basic lines and arcs. SO that being you can restart anywhere without having to parse throught the entire program to get all the proper modes reset(run from Here).

You can simply restart with set next line fire the torch and run.

I will dig out the code for restart. It is a 2 part process  one button to stop thye machine safely saveing all the important info to variables. Then a another button to return to the restart point , fire the torch and restart 1 line previous to the original startpoint.

This gives you a point between buttons that you can correct the torch problem.

Just a thought, (;-) TP
Re: RUN REVERSE, Serious problem
« Reply #14 on: May 22, 2010, 03:26:30 AM »
To BR549 :
Solution seems to be very good.
please share macro
**Even a clock that does not work is right twice a day**

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: RUN REVERSE, Serious problem
« Reply #15 on: May 22, 2010, 03:58:50 PM »
OK this is the first macro that stops the machine and gathers data to return.     You may have to modify it to soot your machine and process

***********************************************************
'F13     Feedhold/stop to check torch

DoButton(1)                 'Feedhold
While IsMoving      'Wait for movement to stop
Sleep(100)
Wend
DoSpinStop                                 ' Turn OFF torch
Sleep(100)
SetVar(601,Getdro(2))     'Setvar to Zpos
Sleep(100)
DoButton(3)      'Set Stop
Sleep(100)
DoOemButton(104)      'Move to SafeZ
While IsMoving()      
Sleep(100)
Wend
SetVar(602,GetDro(0))   'Setvar to Xpos
SetVar(603,GetDro(1))   'SetVar to ypos
SetVar(604,GetDro(18))   'SetVar to Feedrate
SetVar(605,GetDro(16))   'SetVar to CurrentLine#
End

This is the second macro that returns the machine to work. You may have to modify it to soot your machine or process

**************************************************************

'F14
DoOemButton(104)                'Go To SafeZ
While IsMoving()
Sleep(100)
Wend
Code"G0 X#602 Y#603"   'Return To Stop Point
While IsMoving()
Sleep(100)
Wend
Code"G28.1 Z0.500"    'ReREF Head  to TOM
While Ismoving()
Sleep(100)
Wend
Code"G92 Z0.000"                    'Reset Dro
sleep(100)
Code"G0 Z#601"      'Return Z to stop Point
While IsMoving()
Sleep(100)
Wend
SetDro(16,Getvar(605))   'Reset SET NEXT LINE #
Sleep(100)
SetDro(18,GetVar(604))   'Reset Feedrate
Sleep(100)
DoOemButton(156)                      'Run SET NEXT LINE
Sleep(100)
DOSPINCW      'Refire Torch
Sleep(100)
DoButton(0)       'Resume Program from Stop Point
End   


Hope it helps
Re: RUN REVERSE, Serious problem
« Reply #16 on: May 23, 2010, 04:30:06 AM »
i test this macros in PC ,It seems M113 is ok but when run M114 :
feedrate change Be more.
what ?

in addition i modify M114: 
 SetDro(16,(Getvar(605) -1) )   'Reset SET NEXT LINE #-1

No problem there?
**Even a clock that does not work is right twice a day**

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: RUN REVERSE, Serious problem
« Reply #17 on: May 23, 2010, 06:00:18 AM »
Hi BR,
Why Feedrate changes after executing M114 macro?
Re: RUN REVERSE, Serious problem
« Reply #18 on: May 23, 2010, 07:15:20 AM »
another problem:
**Even a clock that does not work is right twice a day**

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: RUN REVERSE, Serious problem
« Reply #19 on: May 23, 2010, 11:50:25 AM »
IF your system does NOT use an ARC OK signal then you may have to add more dwell time before the RUN signal is given . That will give the machine time to get the torch fired and steady BEFORE movement occurrs

DoOemButton(156)                      'Run SET NEXT LINE
Sleep(100)
DOSPINCW      'Refire Torch
Sleep(1000)      'ADD MORE TIME HERE
DoButton(0)       'Resume Program from Stop Point
End   


AS to the feedrate?  Are you using feedrate override?? IF so then the stop command may cancel out the FRO.  The macro copies the Current Feedrate then just applies it back so the values should remain the same.