What's new
What's new

Fusion and GRBL Help

DieselMater86

Aluminum
Joined
Apr 23, 2015
Location
Murfreesboro, Tennessee
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.

F360 issue.jpg
 
Image is super blurry but I think I can read it. The error code is pretty self explanatory, the post does not support plasma tables. There might be more comments in the post itself.

The nice thing about Fusion 360 posts is that they are in JavaScript which is human readable and you can debug and edit them if you are willing to learn JavaScript.

Teryk

Sent from my XT1710-02 using Tapatalk
 
If you go here:

Post Library for Fusion 360 and Autodesk HSM | Autodesk HSM

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,waterjet and plasma.

I'm going to give this a shot tonight also I have this file the guy sent me to use as a post processor if the other doesn't work I could add this into my post processor library correct.

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
 
I tried the other post off of Autodesk still a no go says only for Laser Cutting

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 (C) 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.
 
Now if I change it to laser it works but not on plasma.
Here's the post I'm going to try this when I get back to my shop. Just delete the S values.

%
(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
%
 
ya you could probably figure out a quick regex command to replace a Z retract and entry move with a command to turn on and off the nozzle.

using the geometry that the haas or fanuc post processor would certainly be adequate if you change up the preamble to be compatible with your setup.
 








 
Back
Top