Hello Guest it is October 21, 2019, 12:08:05 AM

Author Topic: Dwell after M05 (torch off)  (Read 2631 times)

0 Members and 1 Guest are viewing this topic.

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Dwell after M05 (torch off)
« on: May 14, 2009, 02:12:49 PM »
Hi,
After  the cut I have set 10 seconds dwell needed for torch cooling. After this SheetCam inserts line like G00 Z50 (go to safe Z).
I need this two things swapped, e.g., first go to safe Z and then 10 sec cooling.
How to tell SheetCam to do this?
mrpeja

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: Dwell after M05 (torch off)
« Reply #1 on: May 16, 2009, 03:59:36 AM »
I have never looked at the plasma cutting screen, but it would seem to me that the "torch off" command could be altered. I don't know how you arrive at M5 for this - is it a standard instruction (it is used for spindle off on a lathe/mill).

If it is standard, then open the M5 macro, and add the movement to beginning of the macro -

eg  code "G00 Z50".

This will mean that everytime the M5 macro is called, the script will first move the Z to 50 (or anywhere else you want it to go), then apply the "torch off" OEM

The fact that sheet cam puts in the G00 Z50 again won't matter, because the torch will already be there.
Not me driving the engine - I'm better looking.

Offline Chaoticone

*
  • *
  •  5,607 5,607
  • Precision Chaos
    • View Profile
Re: Dwell after M05 (torch off)
« Reply #2 on: May 16, 2009, 07:17:51 AM »
I'm guessing it puts the safe z move in only at the end of a program. If this is the case, I would try to edit the post processor in the SheetCam. If you need it to go to safe z every time the M5 is called, Jims suggestion would be best.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: Dwell after M05 (torch off)
« Reply #3 on: May 18, 2009, 08:53:53 AM »
Hi Jimpinder,
I opened M3 macro. It has only one line:
DoSpinStop()
How I can add G00 Z50?
It seems to me it is not so simple syntax
mrpeja

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Dwell after M05 (torch off)
« Reply #4 on: May 18, 2009, 09:51:07 AM »
If you want to add a move to Z50 then put this before the DoSpinStop()

Code ("G0Z50")
While IsMoving
Wend


Hood