Post Processor Issue

I know most guys here might not use GRBL for controls on a CNC Plasma Tables, but any leads would be awesome. I’m going to go on Autodesk site and see if they have another Processor for GRBL.
But here is a picture of the error I’m getting when trying to post.

this post does not support your machine…

Well I’m going to search for more seems like GRBL post haven’t been working from a little looking on Autodesk site

Okay so when I got my machine he gave me this file to use for the Post Processor in another Program so couldn’t add this into my Fusion 360 post processor library to use.

Its also Java Script here it is below:

firstPierceTime = 0 --this is an extra delay added to the first pierce as needed by some machines

function OnAbout(event)
ctrl = event:GetTextCtrl()
ctrl:AppendText(“GRBL plasma post processor\n”)
ctrl:AppendText("\n")
ctrl:AppendText(“Generic plasma post for machines with or without THC\n”)
ctrl:AppendText("\n")
ctrl:AppendText(“Modal G-codes and coordinates\n”)
ctrl:AppendText(“No comments\n”)
ctrl:AppendText(“M03/M05 turn the torch on/off\n”)
ctrl:AppendText(“Incremental IJ\n”)
end

function OnInit()

post.SetCommentChars ("()", “[]”) --make sure ( and ) characters do not appear in system text
if(scale == metric) then
post.Text (" G21\n") --metric mode
else
post.Text (" G20\n") --inch mode
end
bigArcs = 1 --stitch arc segments together
minArcSize = 0.05 --arcs smaller than this are converted to moves
firstPierce = firstPierceTime
end

function OnFinish()
post.Text (" M05 M30\n")
end

function OnRapid()
post.ModalText (" G00")
post.ModalNumber (" X", endX * scale, “0.0000”)
post.ModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.Eol()
end

function OnMove()
post.ModalText (" G01")
post.ModalNumber (" X", endX * scale, “0.0000”)
post.ModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.ModalNumber (" F", feedRate * scale, “0.0###”)
post.Eol()
end

function OnArc()
if(arcAngle <0) then
post.ModalText (" G03")
else
post.ModalText (" G02")
end
post.NonModalNumber (" X", endX * scale, “0.0000”)
post.NonModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.Text (" I")
post.Number ((arcCentreX - currentX) * scale, “0.0000”)
post.Text (" J")
post.Number ((arcCentreY - currentY) * scale, “0.0000”)
post.ModalNumber (" F", feedRate * scale, “0.0###”)
post.Eol()
end

function OnPenDown()
if (preheat > 0.001) then
post.ModalText (" G00")
post.ModalNumber (" Z", cutHeight * scale, “0.0000”)
post.Text ("\n G04 P")
post.Number (preheat,“0.###”)
post.Eol()
end
post.ModalText (" G00")
post.ModalNumber (" Z", pierceHeight * scale, “0.0000”)
post.Text ("\n M03\n")
if (pierceDelay + firstPierce > 0.001) then
post.Text (" G04 P")
post.Number (pierceDelay + firstPierce,“0.###”)
firstPierce = 0
post.Eol()
end
end

function OnPenUp()
post.Text (" M05\n")
if (endDelay > 0) then
post.Text (" G04 P")
post.Number (endDelay,“0.###”)
post.Eol()
end
end

function OnDrill()
OnRapid()
OnPenDown()
endZ = drillZ
OnMove()
OnPenUp()
endZ = safeZ
OnRapid()
end

under the dropbox labeled “any vendor”
then go to Grbl
There are two post for Grbl, one is for milling and the other is for laser, water jet and plasma.

so downloaded it and this was the outcome
Information: Configuration: Grbl Laser
Information: Vendor: grbl
Information: Posting intermediate data to ‘C:\Users\michael.jones\AppData\Local\Inventor CAM\nc\1010.nc’
Information: Total number of warnings: 3
Error: Failed to post process. See below for details.

Code page changed to ‘1252 (ANSI - Latin I)’
Start time: Tuesday, August 27, 2019 7:45:44 PM
Warning: function getProgramNameAsInt does not always return a value
Warning: function getProgramNameAsInt does not always return a value
Warning: function getProgramNameAsString does not always return a value
Code page changed to ‘20127 (US-ASCII)’
Post processor engine: 4.3.0 45210
Configuration path: C:\Users\Public\Documents\Autodesk\Inventor CAM\Posts\grbl laser.cps
Include paths: C:\Users\Public\Documents\Autodesk\Inventor CAM\Posts
Configuration modification date: Tuesday, August 27, 2019 7:39:09 PM
Output path: C:\Users\michael.jones\AppData\Local\Inventor CAM\nc\1010.nc
Checksum of intermediate NC data: a7d0312df860ee7b899f2d0d60841f8f
Checksum of configuration: 130367f3d1a000027bf004f95a092e53
Vendor url: Home * grbl/grbl Wiki * GitHub
Legal: Copyright © 2012-2019 by Autodesk, Inc.
Generated by: Inventor CAM Ultimate 7.1.0.18157

################################################## #############################
Error: The CNC does not support the required tool/process. Only laser cutting is supported.
Error at line: 226
Error in operation: ‘2D Profile1’
Failed while processing onSection() for record 273.
################################################## #############################

Error: Failed to invoke function ‘onSection’.
Error: Failed to invoke ‘onSection’ in the post configuration.
Error: Failed to execute configuration.
Stop time: Tuesday, August 27, 2019 7:45:44 PM
Post processing failed.

So Then change it to Laser instead of Plasma and got this.

%
(1001)
(test)
G90 G94
G17
G20

(2D Profile1)
G54
G0 S0 M4
G0 X12.9323 Y1.9396
G1 X12.8635 Y1.9949 F40
G1 X12.7995 Y1.9182
G1 X12.7218 Y1.8218
G3 X13.0284 Y1.1811 Z0.03 I0.3066 J-0.247
G1 X21.384
G3 X21.7659 Y1.6703 I0 J0.3937
G1 X19.787 Y9.5861
G3 X19.0984 Y9.7376 I-0.3819 J-0.0955
G1 X12.7995 Y1.9182
G1 X12.7381 Y1.8392
G0 X10.3685 Y1.7895
G1 X10.4372 Y1.8449 F40
G1 X10.3759 Y1.9238
G1 X4.0815 Y9.7376
G3 X3.3929 Y9.5861 I-0.3066 J-0.247
G1 X1.4139 Y1.6703
G3 X1.7959 Y1.1811 I0.3819 J-0.0955
G1 X10.1515
G3 X10.4581 Y1.8218 I0 J0.3937
G1 X10.3759 Y1.9238
G1 X10.3118 Y2.0006
G0 X10.6452 Y-0.09
G1 Y-0.0017 F40
G1 X10.5452 Y0
G1 X0.7874
G2 X0.0235 Y0.9784 I0 J0.7874
G1 X2.9574 Y12.7139
G2 X3.1639 Y12.7593 I0.1146 J-0.0287
G1 X4.2312 Y11.4344
G3 X4.2866 Y11.4285 I0.0307 J0.0247
G3 X4.2925 Y11.4839 I-0.0247 J0.0307
G1 X3.2846 Y12.735
G2 X3.1339 Y13.42 I0.6132 J0.494
G1 X3.5668 Y15.1516
G2 X4.3307 Y15.748 I0.7639 J-0.191
G1 X10.2513
G1 Y16.0433
G2 X10.3498 Y16.1417 I0.0984 J0
G1 X11.4521
G2 X11.5506 Y16.0433 I0 J-0.0984
G1 Y14.9606
G3 X11.6293 Y14.9606 I0.0394 J0
G1 Y16.0433
G2 X11.7277 Y16.1417 I0.0984 J0
G1 X12.8301
G2 X12.9285 Y16.0433 I0 J-0.0984
G1 Y15.748
G1 X18.8492
G2 X19.6131 Y15.1516 I0 J-0.7874
G1 X20.046 Y13.42
G2 X19.8953 Y12.735 I-0.7639 J-0.191
G1 X18.8874 Y11.4839
G3 X18.8933 Y11.4285 I0.0307 J-0.0247
G3 X18.9487 Y11.4344 I0.0247 J0.0307
G1 X20.0159 Y12.7593
G2 X20.2225 Y12.7139 I0.092 J-0.0741
G1 X23.1564 Y0.9784
G2 X22.3925 Y0 I-0.7639 J-0.191
G1 X10.5452
G1 X10.4452 Y-0.0017
G1 S0
M30
%

I could delete the S Values and give it a shot to see if it will work

Sorry it’s a little late for an answer.

Did you try changing any settings (values) in the Property window of the post processor dialog box prior to processing? I am using the Grbl mill post processor for an Arduino/Grbl mini mill. I had to set Output M6 and Output Tool Number to NO or the post would give errors. I don’t know what the laser/plasma post processor looks like. Also based on the errors being tied to “ProgramName” you could try playing with the “program name or number” in the post process dialog box.

Chuck

1 Like

Can you post that post

Okay sorry been busy lately. So here is what a program looks like G-Code wise off the other CAM program.
So what I’m seeing is deleting the header from a Fusion post maybe it will work.

G20
G00 Z1.5000
X2.5210 Y1.8501
Z0.1500
M03
G01 Z0.0600 F150.0
G03 X2.3448 Y1.9366 I-0.1550 J-0.0931 F70.0
G01 X2.3442
X2.2739 Y1.9361
G03 X2.2375 Y1.9309 I0.0063 J-0.1745
X2.1857 Y1.9009 I0.0366 J-0.1226
G01 X2.1853 Y1.9005
G03 X2.1527 Y1.5427 I0.1538 J-0.1944
X2.3022 Y1.4892 I0.1227 J0.1073
G01 X2.3032
G03 X2.4588 Y1.5126 I0.0203 J0.3943
X2.5500 Y1.7035 I-0.0880 J0.1592
G01 X2.5499 Y1.7045
G03 X2.5210 Y1.8501 I-0.3460 J0.0069
M05
G00 Z1.5000
X3.5388 Y1.1337
Z0.1500
M03
G01 Z0.0600 F150.0
X3.5790 Y1.1221 F70.0
G03 X3.9608 Y1.0319 I1.7381 J6.4979
X3.9752 Y1.0319 I0.0071 J0.0380
X3.9808 Y1.0470 I-0.0028 J0.0097
G01 X3.9802 Y1.0483
X3.9446 Y1.1717
G03 X3.9200 Y1.2446 I-0.7063 J-0.1983
X3.9050 Y1.2731 I-0.1250 J-0.0475
X3.8570 Y1.2989 I-0.0534 J-0.0416
G01 X3.8559 Y1.2991
X3.7184 Y1.3412
X3.6164 Y1.3752
X3.5982 Y1.3803
X3.5872 Y1.3825
G03 X3.5772 Y1.3820 I-0.0041 J-0.0169
X3.5710 Y1.3675 I0.0102 J-0.0130
G01 X3.5709 Y1.3662
G03 X3.5424 Y1.1981 I3.7259 J-0.7192
G01 X3.5359 Y1.1425
X3.5364 Y1.1347
X3.5388 Y1.1337
M05
G00 Z1.5000
X3.8295 Y1.5329
Z0.1500
M03
G01 Z0.0600 F150.0
G03 X3.8310 Y1.5388 I-0.0066 J0.0048 F70.0
G01 X3.8293 Y1.5513
X3.8225 Y1.5874
X3.8043 Y1.6739
G02 X3.7471 Y1.9899 I6.7161 J1.3791
G03 X3.7181 Y2.1557 I-3.9148 J-0.5996
G01 X3.7077 Y2.1999
X3.7076 Y2.2005
G03 X3.7021 Y2.2041 I-0.0042 J-0.0005
G01 X3.6897 Y2.1962
X3.6627 Y2.1676
G03 X3.5678 Y1.6715 I0.3725 J-0.3283
X3.6495 Y1.6038 I0.1336 J0.0781
G01 X3.6500 Y1.6036
X3.6784 Y1.5904
X3.7889 Y1.5437
X3.8084 Y1.5366
X3.8240 Y1.5325
G03 X3.8295 Y1.5329 I0.0023 J0.0074
M05
G00 Z1.5000
X4.1755 Y1.2354
Z0.1500
M03
G01 Z0.0600 F150.0
X4.1770 Y1.2258 F70.0
X4.1936 Y1.1718
G03 X4.2621 Y1.0101 I1.0795 J0.3617
G01 X4.2684 Y1.0007
G03 X4.2945 Y0.9861 I0.0438 J0.0478
X4.3716 Y0.9701 I0.1300 J0.4323
X4.5766 Y0.9546 I0.2766 J2.3064
X4.9099 Y0.9485 I0.3437 J9.6011
G01 X4.9826
X5.0215 Y0.9492
X5.0451 Y0.9506
G03 X5.0724 Y0.9556 I-0.0037 J0.0978
X5.0861 Y0.9737 I-0.0069 J0.0195
G01 X5.0920 Y1.0163
G03 X5.0939 Y1.1152 I-0.7864 J0.0647
X5.0902 Y1.1367 I-0.0646 J-0.0001
X5.0715 Y1.1456 I-0.0149 J-0.0074
G01 X5.0701 Y1.1454
X5.0240 Y1.1477
X4.7932 Y1.1681
G02 X4.3313 Y1.2200 I1.0972 J11.8338
G01 X4.2612 Y1.2285
X4.1841 Y1.2356
X4.1755 Y1.2354
M05
G00 Z1.5000
X4.3957 Y0.7266
Z0.1500
M03
G01 Z0.0600 F150.0
X4.3954 F70.0
G03 X4.3841 Y0.7240 I-0.0008 J-0.0217
X4.3826 Y0.7191 I0.0028 J-0.0035
G01 X4.3827 Y0.7186
G03 X4.3946 Y0.6812 I0.1364 J0.0229
X4.5720 Y0.4296 I0.8968 J0.4439
X4.8793 Y0.2347 I0.4549 J0.3777
X5.0422 Y0.2387 I0.0732 J0.3362
X5.0732 Y0.2942 I-0.0269 J0.0515
G01 Y0.2950
X5.0805 Y0.3676
X5.0844 Y0.4349
X5.0979 Y0.7139
X4.7956 Y0.7143
G02 X4.4922 Y0.7194 I-0.0151 J8.1113
G01 X4.4325 Y0.7235
X4.4319 Y0.7236
G03 X4.3957 Y0.7266 I-0.0325 J-0.1677
M05
G00 Z1.5000
X5.2574 Y0.0799
Z0.1500
M03
G01 Z0.0600 F150.0
G02 X5.1498 Y0.0156 I-0.1399 J0.1121 F70.0
X4.6660 Y0.0616 I-0.1747 J0.7304
X4.3015 Y0.4088 I0.3934 J0.7779
X4.1356 Y0.6810 I4.2337 J2.7675
G01 X4.0897 Y0.7607
X3.9006 Y0.7993
G02 X3.4254 Y0.9254 I0.8938 J4.3246
G01 X3.3215 Y0.8229
G02 X2.5256 Y0.5421 I-0.6664 J0.6206
X2.2529 Y0.6245 I0.0808 J0.7596
G01 X2.2440 Y0.6297
X2.1577 Y0.6865
G02 X1.8379 Y0.9192 I5.6360 J8.0845
G03 X1.4956 Y1.1675 I-5.1414 J-6.7267
G01 X1.4642 Y1.1880
G03 X1.1671 Y1.2502 I-0.2743 J-0.5701
G01 X1.1666
G03 X0.8655 Y1.2594 I-0.3910 J-7.8354
G01 X0.5367 Y1.2637
G02 X0.3508 Y1.2691 I0.0329 J4.3130
X0.2704 Y1.2767 I0.0357 J0.8098
X0.2269 Y1.2868 I0.0328 J0.2409
X0.1556 Y1.3606 I0.0378 J0.1078
X0.1386 Y1.4147 I0.2481 J0.1079
X0.1188 Y1.5473 I0.9323 J0.2069
G03 X0.0745 Y1.8423 I-4.3511 J-0.5022
G02 X0.0134 Y3.0424 I4.0826 J0.8095
X0.4973 Y4.0985 I1.8872 J-0.2259
X1.8741 Y4.8807 I1.7101 J-1.4072
X3.5080 Y4.4201 I0.2252 J-2.3295
X4.3765 Y3.2117 I-1.2560 J-1.8191
X4.4519 Y2.9437 I-2.2632 J-0.7810
G01 X4.4740 Y2.8502
G03 X4.4847 Y2.8431 I0.0134 J0.0084
G01 X4.4851 Y2.8430
G03 X4.5230 Y2.8373 I0.0475 J0.1893
G01 X4.5458 Y2.8363
X4.5709 Y2.8360
G02 X4.6980 Y2.8221 I0.0107 J-0.4914
G01 X4.6985 Y2.8220
G02 X4.7449 Y2.6984 I-0.0287 J-0.0813
G01 X4.7350 Y2.6769
X4.7084 Y2.6272
G02 X4.7042 Y2.6246 I-0.0044 J0.0024
G01 X4.5407 Y2.6160
G03 X4.4674 Y2.6090 I0.0274 J-0.6710
X4.4350 Y2.6005 I0.0202 J-0.1422
X4.4047 Y2.5801 I0.0376 J-0.0886
G01 X4.4043 Y2.5798
G02 X4.3681 Y2.5562 I-0.1378 J0.1720
X4.2125 Y2.4886 I-0.5462 J1.0451
G03 X3.9751 Y2.3818 I0.6535 J-1.7693
X3.9372 Y2.3572 I0.1246 J-0.2340
G01 X3.9310 Y2.3516
G03 X3.9284 Y2.3341 I0.0118 J-0.0107
G01 X3.9288 Y2.3326
X3.9324 Y2.3057
X3.9686 Y2.1025
X3.9928 Y1.9811
X4.0679 Y1.6168
X4.0797 Y1.5648
X4.0910 Y1.5222
G03 X4.1025 Y1.4935 I0.1157 J0.0299
X4.1101 Y1.4858 I0.0169 J0.0089
G01 X4.1135 Y1.4845
X4.1309 Y1.4828
X4.1900 Y1.4747
X4.7525 Y1.4080
X4.9565 Y1.3858
G02 X5.1593 Y1.3554 I-0.1538 J-1.7199
G01 X5.1790 Y1.3503
X5.1795 Y1.3502
X5.1957 Y1.3442
X5.1963 Y1.3440
G02 X5.3253 Y1.1284 I-0.1094 J-0.2119
X5.3248 Y0.9318 I-5.0573 J-0.0863
X5.2944 Y0.2888 I-9.1420 J0.1113
X5.2772 Y0.1594 I-2.2099 J0.2265
G01 X5.2683 Y0.1123
G02 X5.2579 Y0.0805 I-0.0863 J0.0109
G01 X5.2574 Y0.0799
M05
G00 Z1.5000
X0.0000 Y0.0000
Z0.0000
M05 M30

Also here is the GRBL post Processor the guy sent me to use could I just upload this into Fusion as my post processor and maybe work without editing much.

firstPierceTime = 0 --this is an extra delay added to the first pierce as needed by some machines

function OnAbout(event)
ctrl = event:GetTextCtrl()
ctrl:AppendText(“GRBL plasma post processor\n”)
ctrl:AppendText("\n")
ctrl:AppendText(“Generic plasma post for machines with or without THC\n”)
ctrl:AppendText("\n")
ctrl:AppendText(“Modal G-codes and coordinates\n”)
ctrl:AppendText(“No comments\n”)
ctrl:AppendText(“M03/M05 turn the torch on/off\n”)
ctrl:AppendText(“Incremental IJ\n”)
end

function OnInit()

post.SetCommentChars ("()", “[]”) --make sure ( and ) characters do not appear in system text
if(scale == metric) then
post.Text (" G21\n") --metric mode
else
post.Text (" G20\n") --inch mode
end
bigArcs = 1 --stitch arc segments together
minArcSize = 0.05 --arcs smaller than this are converted to moves
firstPierce = firstPierceTime
end

function OnFinish()
post.Text (" M05 M30\n")
end

function OnRapid()
post.ModalText (" G00")
post.ModalNumber (" X", endX * scale, “0.0000”)
post.ModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.Eol()
end

function OnMove()
post.ModalText (" G01")
post.ModalNumber (" X", endX * scale, “0.0000”)
post.ModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.ModalNumber (" F", feedRate * scale, “0.0###”)
post.Eol()
end

function OnArc()
if(arcAngle <0) then
post.ModalText (" G03")
else
post.ModalText (" G02")
end
post.NonModalNumber (" X", endX * scale, “0.0000”)
post.NonModalNumber (" Y", endY * scale, “0.0000”)
post.ModalNumber (" Z", endZ * scale, “0.0000”)
post.Text (" I")
post.Number ((arcCentreX - currentX) * scale, “0.0000”)
post.Text (" J")
post.Number ((arcCentreY - currentY) * scale, “0.0000”)
post.ModalNumber (" F", feedRate * scale, “0.0###”)
post.Eol()
end

function OnPenDown()
if (preheat > 0.001) then
post.ModalText (" G00")
post.ModalNumber (" Z", cutHeight * scale, “0.0000”)
post.Text ("\n G04 P")
post.Number (preheat,“0.###”)
post.Eol()
end
post.ModalText (" G00")
post.ModalNumber (" Z", pierceHeight * scale, “0.0000”)
post.Text ("\n M03\n")
if (pierceDelay + firstPierce > 0.001) then
post.Text (" G04 P")
post.Number (pierceDelay + firstPierce,“0.###”)
firstPierce = 0
post.Eol()
end
end

function OnPenUp()
post.Text (" M05\n")
if (endDelay > 0) then
post.Text (" G04 P")
post.Number (endDelay,“0.###”)
post.Eol()
end
end

function OnDrill()
OnRapid()
OnPenDown()
endZ = drillZ
OnMove()
OnPenUp()
endZ = safeZ
OnRapid()
end