I'm trying to run a file created for another post processor, but standard non-modal gcode. (see attached for the first few lines). I home (G28) my Workbee1510 machine, hit "Run" and get a soft limits exceeded error. Zooming out on the viewer shows my geometry at the max x,y corner, despite standard machine parameters set, and origin at 0,0,0 bottom left. What am I missing? I have several similar cut files that elicit the same result. Thank you
Thank you. Do I need to do that prior to running any of my programs, or just at machine start-up? When I was G28'ing the machine to 0,0,0, then hitting "Set zero xyz", that is the routine on my large cnc machine running Wincnc. I'm trying to adapt to Grbl. And does the $ have to appear at the beginning of every line of code in my programs? .
G28 is a "stored position" not Home refer to G Codes You should home on power up and after any event that could make it lose reference (alarms, errors, resets, power cycles, crashes, stalls, skips, etc)
Ok, all problems finally solved, and a big "AHA" moment !. Starting with Peter's "$H" solution, I needed to also place a G20 command at the head of all of my existing imperial programs so the software could read them as inches instead of millimeters. Beer time!
yep, all gcode must have a header that sets the modals to the values it needs. the moment you assume a mode is already set is the moment you are configured for a crash (-: a basic header would be G90 G46 G17 G54 then add G20 or G21 as needed.