Hey all, I finally gave up on grbl (sorry grbl) and flashed Marlin on my RAMBo 1.4. I’m using cnc.js to control it and I don’t have an LCD attached. When I run my gcode the machine moves up like it’s zeroing the Z-axis, then tries to go further and almost breaks the couplers. I’m not certain why this is happening, so any insight would be welcome.
After powering everything on, I connect cnc.js and run a homing sequence (nothing will work until I do this). This executes as expected, with Z homing up and X and Y homing to negative. At this point, cnc.js shows E0, X, and Y at 0.00 in both machine and workspace coordinates. Z is at 260 (the height of my machine). I noticed when jogging none of the coordinate numbers change as they do with grbl, so I’m a bit confused about that.
Anyway, I jog the machine over to the origin and then run G92 X0 Y0 Z0 to zero the machine. My probe isn’t working right now, but I figure I’ll save that for another forum post. I load in the gcode (I use Guffy’s Fusion Post Processors) and then hit play. It pauses for an M0, I hit play again to bypass it, then the Z axis goes up until it hits the limit switches, at which point it backs down like it’s homing, then proceeds to try and rip itself out of the Y plates. I thought I was going to loose the couplers when it happened.
Here’s the beginning of the gcode:
;Fusion 360 CAM 2.0.9512
; Posts processor: DIYCNC_Marlin20.cps
; Gcode generated: Monday, January 18, 2021 00:30:44 GMT
; Document: FDS Rafter Patterns v16
; Setup: Setup3
;
; Ranges table:
; X: Min=15.367 Max=602.807 Size=587.44
; Y: Min=15.367 Max=1507.305 Size=1491.938
; Z: Min=-4.318 Max=15.24 Size=19.558
;
; Tools table:
; T1 D=6.35 CR=0 - ZMIN=-4.318 - flat end mill
; *** START begin ***
G90
G21
M84 S0
G92 X0 Y0 Z0
; COMMAND_TOOL_MEASURE
M0 Attach ZProbe
G28 Z
G92 Z0.8
G0 Z40 F300
M400
M0 Detach ZProbe
; *** START end ***
; *** SECTION begin ***
;2D Contour3 - Milling - Tool: 1 - flat end mill
; X Min: 15.367 - X Max: 603.315
; Y Min: 15.367 - Y Max: 1507.813
; Z Min: -3.81 - Z Max: 15.24
; COMMAND_START_SPINDLE
; COMMAND_SPINDLE_CLOCKWISE
M0 Turn ON 24000RPM
; COMMAND_COOLANT_ON
M117 2D Contour3
G0 Z15.24
G0 X227.288 Y793.002 F2500
G0 Z5.08 F300
; MOVEMENT_PLUNGE
G1 Z4.175 F480
G1 Z-1.27
; MOVEMENT_LEAD_IN
G1 X227.292 Z-1.341 F1524
G1 X227.304 Z-1.411
G1 X227.324 Z-1.48
G1 X227.351 Z-1.546
G1 X227.385 Z-1.608
G1 X227.427 Z-1.666
G1 X227.474 Z-1.719
G1 X227.527 Z-1.766
G1 X227.585 Z-1.808
G1 X227.647 Z-1.842
G1 X227.713 Z-1.869
G1 X227.782 Z-1.889
G1 X227.852 Z-1.901
G1 X227.923 Z-1.905
G1 X228.558
G2 X229.193 Y792.367 J-0.635
; MOVEMENT_FINISH_CUTTING
I don’t know how to read gcode, so I don’t know if my issue is coming from here, or cnc.js.
Thanks for the help!