G53 error in LinuxCNC

Having problems with or questions about SheetCam? Post them here.
Post Reply
plasmaguy
Posts: 4
Joined: Tue Oct 10, 2017 4:14 pm

G53 error in LinuxCNC

Post by plasmaguy »

I'm currently switching over from running Mach 3 THC w scriber post and am in LinuxCNC, when I load my gcode there is an error stating must use G01 or G02 with G53...my LinuxCNC THC post is by default putting out a G53 G90 G40...is that something I need to change?
in my post>?
OnInit()

offX = 0
offY = 0
offZ = 0
lineNumber = 10

post.SetCommentChars ("()", "[]") --make sure ( and ) characters do not appear in system text
post.Text (" (Filename: ", fileName, ")\n")
post.Text (" (Post processor: ", postName, ")\n")
post.Text (" (Date: ", date, ")\n")
if(scale == metric) then
post.Text (" G21 (Units: Metric)\n") --metric mode
else
post.Text (" G20 (Units: Inches)\n") --inch mode
end
post.Text (" F1\n G53 G90 G40\n")
minArcSize = 0.2 --arcs smaller than this are converted to moves
firstRef = true
currentZAxis = "Z"
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: G53 error in LinuxCNC

Post by Les Newell »

Take the G53 out. G53 is used to make the current line move in machine coordinates.
plasmaguy
Posts: 4
Joined: Tue Oct 10, 2017 4:14 pm

Re: G53 error in LinuxCNC

Post by plasmaguy »

That did it :D
Post Reply