Hi guys. i’m running a cnc with openbuilds control box. Every job i have done ran fine, but today nothing happens after loading my g-code and i hit «run project» i’t reacts as if it’s running, but nothing happens. Tried another g-code, and the machine works, so it’s clearly the code. Can anyone spot any faults here? Link to the g-code First lines from code: (more can be added if needed) (Made in : Autodesk CAM Post Processor) (G Code optimized for GRBL V1.1 controller) (swarfers Openbuilds GRBL 1.1 post V15 for Blackbox,xPro etc) (Program Name : l nn v bit) (Program Comments : kunst) (1 Operation in 1 files.) (File List ( l nn v bit.nc) (This is file: 1 of 1) (This file contains the following operations: ) (1 : Trace3) ( Tool 5: Chamfer Mill 2 Flutes, Diam = 12.7mm, Len = 19.00mm) ( Spindle : RPM = 5000) ( Machining time : 28 min 39 sec) G90 G94 G17 G21 (When using Fusion 360 for Personal Use, the feedrate of rapid moves is reduced to match the feedrate of cutting moves, which can increase machining time. Unrestricted rapid moves are available with a Fusion 360 Subscription.) (Operation 1 of 1 : Trace3) G90 G53 G0 Z0 G54 S5000 M3 G4 P1.8 G0 X3.203 Y83.16 Z15 G1 X3.203 Y83.16 F1000 X3.203 Y83.16 Z5 X3.203 Y83.16 Z-1.5 X3.082 Y85.434 X3 Y87.71 X2.956 Y89.987
Just an overview, the motors won't spin if 1) $4 in Grbl settings MUST be set to $4=1 (Enabled) 2) It needs power So usually, check your Grbl settings, and if its not that, check power: Make sure PSU is plugged directly into the Wall, and the 115/230v switch is set correctly (see docs:powercase:start [OpenBuilds Documentation]) As you mention gcode specific, any chance you have your 24v psu plugged into the IoT relay by mistake? (so it gets turned off by the M3)
Thanks for the reply. The machine works fine if i run any other g-code, it’s just this it won’t run. So all wires and everything should be fine. neither did i change anything when i made the code. Same as all other g-codes i made. mayb i’ll just try to generate the code again and see if it works. I’m confused.
So can you post a Working gcode to compare against Attach the complete files (both working and not working) (not just a paste of a couple lines) And please do answer, is your 24v PSU directly into wall/powerstrip, or by accident into an IoT relay (common mistake, so lets eliminate it, do you have an IoT relay? It looks like a power strip, but its not) - see docs:blackbox:connect-dewalt-iotrelay [OpenBuilds Documentation]
I do have a relay, but only the spindle is connected to it, the PSU is directly to the 230V wall. The "2.3 sponarmbrakett.nc" is a working code (just tried it and it works) "lønn v bit.nc" is not working
Line 24 of the broken file: (When using Fusion 360 for Personal Use, the feedrate of rapid moves is reduced to match the feedrate of cutting moves, which can increase machining time. Unrestricted rapid moves are available with a Fusion 360 Subscription.) You aren't using our latest post, or latest Fusion360 that addresses the "too long comment" that Fusion adds. Update your Post Processor docs:software:fusion360 [OpenBuilds Documentation] Also update Fusion: See October 2020 Product Update - What's New - Fusion 360 Blog (they also fixed the too-long comment) More info Life After Fusion 360
This post is deprecated...because... your job fails because this line is much too long for GRBL to process. You need to upgrade your post to the latest Openbuilds Post, which supercedes the swarfer one, and handles this long comment correctly, among other things.. docs:software:fusion360 [OpenBuilds Documentation]