SheetCam scribe post processing help please

SheetCam related questions and tips can be posted here
Post Reply
btburn
2.5 Star Member
2.5 Star Member
Posts: 205
Joined: Sun Apr 20, 2014 9:38 am

SheetCam scribe post processing help please

Post by btburn »

I'm working on putting a scribe on my Dynatorch Super Bee.
G-Code commands for my table are M08 for scribe on and M09 for scribe off.
When I tried making a test file to check for voltage and function SheetCam it's not putting any M08/M09 codes in.
I can manually enter the M08/M09 commands in and it will cycle voltage for the relay.
I made a drawing of multiple circles within circles to test, imported into SheetCam, made a new Jet tool #101 as Plate marker.
The post processor has my machine and the scribe codes listed.
I created the paths in SheetCam and ran the Post Processor and it's not giving me any M08 or M09 commands in the code.
It will move along the paths but I can't figure out how to make SheetCam Post Process correctly to put the correct commands for activating the scribe in.
I've searched all day and can't figure out what I'm missing. Any help is appreciated.

This is the G-Code created:
N0010 (Filename: 1 scribe test circles.tap)
N0020 (Post processor: Dynatorch.scpost)
N0030 (Date: 13/09/2020)
N0040 G20 (Units: Inches)
N0050 G90
N0060 G17
N0070 (Part: 1 scribe test circles)
N0080 (Operation: No Offset, Color 373435, T101: Scribe)
N0090 G61
N0100 F50
N0110 G00 X2.1590 Y2.3370
N0120 G23
N0130 G04 P0.5
N0140 G03 X1.9810 Y2.1590 I0.0000 J-0.1780
N0150 G03 X2.1590 Y1.9810 I0.1780 J0.0000
N0160 G03 X2.3370 Y2.1590 I0.0000 J0.1780
N0170 G03 X2.1590 Y2.3370 I-0.1780 J0.0000
N0180 G25
N0190 G00 X2.1590 Y2.5800
N0200 G23
N0210 G04 P0.5
N0220 G02 X2.5800 Y2.1590 I0.0000 J-0.4210
N0230 G02 X2.1590 Y1.7380 I-0.4210 J0.0000
N0240 G02 X1.7380 Y2.1590 I0.0000 J0.4210
N0250 G02 X2.1590 Y2.5800 I0.4210 J0.0000
N0260 G25
N0270 G00 X2.1590 Y3.0060
N0280 G23
N0290 G04 P0.5
N0300 G03 X1.3120 Y2.1590 I0.0000 J-0.8470
N0310 G03 X2.1590 Y1.3120 I0.8470 J0.0000
N0320 G03 X3.0060 Y2.1590 I0.0000 J0.8470
N0330 G03 X2.1590 Y3.0060 I-0.8470 J0.0000
N0340 G25
N0350 G00 X2.1590 Y3.3030
N0360 G23
N0370 G04 P0.5
N0380 G02 X3.3030 Y2.1590 I0.0000 J-1.1440
N0390 G02 X2.1590 Y1.0150 I-1.1440 J0.0000
N0400 G02 X1.0150 Y2.1590 I0.0000 J1.1440
N0410 G02 X2.1590 Y3.3030 I1.1440 J0.0000
N0420 G25
N0430 G00 X2.1590 Y3.5400
N0440 G23
N0450 G04 P0.5
N0460 G03 X0.7780 Y2.1590 I0.0000 J-1.3810
N0470 G03 X2.1590 Y0.7780 I1.3810 J0.0000
N0480 G03 X3.5400 Y2.1590 I0.0000 J1.3810
N0490 G03 X2.1590 Y3.5400 I-1.3810 J0.0000
N0500 G25
N0510 G00 X2.1590 Y3.8530
N0520 G23
N0530 G04 P0.5
N0540 G02 X3.8530 Y2.1590 I0.0000 J-1.6940
N0550 G02 X2.1590 Y0.4650 I-1.6940 J0.0000
N0560 G02 X0.4650 Y2.1590 I0.0000 J1.6940
N0570 G02 X2.1590 Y3.8530 I1.6940 J0.0000
N0580 G25
N0590 G00 X2.1590 Y4.3180
N0600 G23
N0610 G04 P0.5
N0620 G03 X0.0000 Y2.1590 I0.0000 J-2.1590
N0630 G03 X2.1590 Y0.0000 I2.1590 J0.0000
N0640 G03 X4.3180 Y2.1590 I0.0000 J2.1590
N0650 G03 X2.1590 Y4.3180 I-2.1590 J0.0000
N0660 G25
N0670 G60
N0680 G25
N0690 M30
Dynatorch 4x4 SuperBee, Powermax 65, Quincy QT-54, Snap On MM250SL, Thermal Arc Arcmaster 185, Corel Draw X7 and a messy garage.
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: SheetCam scribe post processing help please

Post by acourtjester »

the post processor needs to be changed to put M08 and M09 in the G-code as needed, have you thought of changing the relay switching to M03
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Les Newell
2.5 Star Member
2.5 Star Member
Posts: 186
Joined: Tue Mar 22, 2016 10:30 am

Re: SheetCam scribe post processing help please

Post by Les Newell »

Current Dynatorch machines don't use M08/M09. In SheetCam go to Options->machine->post processor and look for function OnPenDown().
In that function is this line of code that turns the torch/scriber/flame on or off:
post.Text (" G23\n")
Change it to:
if(toolClass == "MarkerTool") then
post.Text(" M08\n")
else
post.Text (" G23\n")
end

In OnPenUp change the line
post.Text (" G25\n")

to:

if(toolClass == "MarkerTool") then
post.Text(" M09\n")
else
post.Text (" G25\n")
end
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: SheetCam scribe post processing help please

Post by adbuch »

:Like :Like :Like :Like :Like
btburn
2.5 Star Member
2.5 Star Member
Posts: 205
Joined: Sun Apr 20, 2014 9:38 am

Re: SheetCam scribe post processing help please

Post by btburn »

Les Newell wrote: Mon Sep 14, 2020 9:36 am Current Dynatorch machines don't use M08/M09. In SheetCam go to Options->machine->post processor and look for function OnPenDown().
In that function is this line of code that turns the torch/scriber/flame on or off:
post.Text (" G23\n")
Change it to:
if(toolClass == "MarkerTool") then
post.Text(" M08\n")
else
post.Text (" G23\n")
end

In OnPenUp change the line
post.Text (" G25\n")

to:

if(toolClass == "MarkerTool") then
post.Text(" M09\n")
else
post.Text (" G25\n")
end
It's from 2015, I'll look into that when I get home. Thanks
Dynatorch 4x4 SuperBee, Powermax 65, Quincy QT-54, Snap On MM250SL, Thermal Arc Arcmaster 185, Corel Draw X7 and a messy garage.
btburn
2.5 Star Member
2.5 Star Member
Posts: 205
Joined: Sun Apr 20, 2014 9:38 am

Re: SheetCam scribe post processing help please

Post by btburn »

acourtjester wrote: Mon Sep 14, 2020 9:25 am the post processor needs to be changed to put M08 and M09 in the G-code as needed, have you thought of changing the relay switching to M03
I haven't looked into that, I was going by what I had in the scribe info for Dynatorch. In the scribe install instructions it has it wired into screw 5 which I get voltage change at when I manually enter M08/M09.
Dynatorch 4x4 SuperBee, Powermax 65, Quincy QT-54, Snap On MM250SL, Thermal Arc Arcmaster 185, Corel Draw X7 and a messy garage.
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: SheetCam scribe post processing help please

Post by acourtjester »

I cannot say how Dynatorch does it and it may be correct but the G-code needs to know how to trigger the relay. If you trigger the relay with M08 the G-code should have that to do it. It is like firing the Plasma torch the G-code uses M3.
For a simple test manually change line 120 to M08 and line 180 to M09 to see if it make the scribe move. I would single step the G-code.
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
btburn
2.5 Star Member
2.5 Star Member
Posts: 205
Joined: Sun Apr 20, 2014 9:38 am

Re: SheetCam scribe post processing help please

Post by btburn »

Les Newell wrote: Mon Sep 14, 2020 9:36 am Current Dynatorch machines don't use M08/M09. In SheetCam go to Options->machine->post processor and look for function OnPenDown().
In that function is this line of code that turns the torch/scriber/flame on or off:
post.Text (" G23\n")
Change it to:
if(toolClass == "MarkerTool") then
post.Text(" M08\n")
else
post.Text (" G23\n")
end

In OnPenUp change the line
post.Text (" G25\n")

to:

if(toolClass == "MarkerTool") then
post.Text(" M09\n")
else
post.Text (" G25\n")
end
That did it! Thanks so much!
Dynatorch 4x4 SuperBee, Powermax 65, Quincy QT-54, Snap On MM250SL, Thermal Arc Arcmaster 185, Corel Draw X7 and a messy garage.
Post Reply

Return to “SheetCam”