Small problem with the gcode after sending it to cnc

277 views
Skip to first unread message

M H

unread,
Jan 17, 2015, 4:45:05 PM1/17/15
to js...@googlegroups.com

Hi,

First thanks for creating this nice software. I have been facing small problem which am not sure whether it is software or my own settings. Whenever I send the gcode to cnc if I leave my bit at tool zero lower left corner (which I usually set around .2mm below surface) the machine will retract the bit on the same z level while going to the first object position for cutting it does not raise up for clearance which is sat at 5mm.

Am using shapeoko 2 cnc stock except for Makita router with grbl 0.9g & I have sat the clearance on jscut Material section to 5mm.

Todd Fleming

unread,
Jan 17, 2015, 5:24:52 PM1/17/15
to js...@googlegroups.com
Forget to reply all...

---------- Forwarded message ----------

Take a look at the generated gcode and make sure the beginning looks something like this:

G21         ; Set units to mm
G90         ; Absolute positioning
G1 Z5 F2540      ; Move to clearance level

; ... comments ...

; Path 0
; Rapid to initial position
G1 X48.3951 Y11.4300 F2540
G1 Z0.0000
; plunge
G1 Z-3.1750 F127
; cut
G1 X11.4300 Y11.4300 F1016


Todd


--
You received this message because you are subscribed to the Google Groups "jscut" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jscut+un...@googlegroups.com.
To post to this group, send email to js...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jscut/cacdd85c-9270-4670-96a5-71474c9f287a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


M H

unread,
Jan 18, 2015, 6:04:30 AM1/18/15
to js...@googlegroups.com

Here is one example & I have attached another gcode as well. It looks the same except for the number after "F"


G21         ; Set units to mm
G90         ; Absolute positioning
G1 Z3 F2000      ; Move to clearance level

;
; Operation:    0
; Name:        
; Type:         Inside
; Paths:        1
; Direction:    Conventional
; Cut Depth:    9
; Pass Depth:   1.5
; Plunge rate:  800
; Cut rate:     1400
;


; Path 0
; Rapid to initial position
G1 X21.0259 Y7.6459 F2000
G1 Z0.0000
; plunge
G1 Z-1.5000 F800
; cut
G1 X11.8961 Y7.6459 F1400
tri-center-plate-2.gcode

Todd Fleming

unread,
Jan 18, 2015, 12:00:33 PM1/18/15
to js...@googlegroups.com
The gcode looks correct. Here are a couple things to try:

1. Are you using Univeral Gcode Sender? It has a bug that prevents it from setting the origin correctly. Workaround: move to your origin, disconnect, then reconnect. This workaround only works if you're not using endstops.

2. Your Z acceleration or max Z speed settings in GRBL may be too high; try reducing these.

Todd


M H

unread,
Jan 18, 2015, 2:34:01 PM1/18/15
to js...@googlegroups.com

Correct am using Universal Gcode sender & it was version 1.0.7 but this version started giving me errors while sending the file to cnc since I upgraded to grbl 0.9g so I started using UGS version 1.0.8 & the problem occurs in both versions only when using jscut it does not happen when using makercam. I even tried making 2 gcode from the same svg file one using makercam just to do the drill operation ( btw I hope you'll be able to add drilling op to jscut) then 2nd gcode using jscut to do rest of profiles.

& here are my grbl settings I took them from shapeoko forum not sure how good are they:

Grbl 0.9g ['$' for help]
>>> $$
$0=30 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=0 (dir port invert mask:00000000)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.050 (junction deviation, mm)
$12=0.025 (arc tolerance, mm)
$13=0 (report inches, bool)
$14=1 (auto start, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=0 (homing dir invert mask:00000000)
$24=25.000 (homing feed, mm/min)
$25=250.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=40.020 (x, step/mm)
$101=40.020 (y, step/mm)
$102=320.000 (z, step/mm)
$110=1500.000 (x max rate, mm/min)
$111=1500.000 (y max rate, mm/min)
$112=250.000 (z max rate, mm/min)
$120=50.000 (x accel, mm/sec^2)
$121=50.000 (y accel, mm/sec^2)
$122=50.000 (z accel, mm/sec^2)
$130=280.000 (x max travel, mm)
$131=280.000 (y max travel, mm)
$132=280.000 (z max travel, mm)
Reply all
Reply to author
Forward
0 new messages