duub
May 7, 2025, 9:13am
1
I’m having an issue with a gcode and don’t know how to fix it.
When I send this gcode, the travel speed instead of being the one setup is the max travel speed setup in grbl i think it’s $110,$111 and $112
anyone had the same issue?
This is the file I’m working:
motlluraPorta-12_6mm_Ball_End001.nc (11.9 KB)
duub
May 7, 2025, 10:42am
2
I’ve tested the same code with UGS and works fine, It seems something gSender does.
@duub Please provide more information
What machine are you using?
If the machine is a Sienci machine, what controller are you using?
What version of gSender are you using?
The file shows feed rate as 2000. What speed is it really travelling at?
duub
May 7, 2025, 2:08pm
4
-It’s an Indymill, it uses an Arduino Uno with GRBL1.1h
-I’m using the latest stable version of gSender 1.4.12
-And the feed speed is 4000.
I have an screenshoot where the feed says 4000 (marked in red) and the gcodes on the right are all 2000
I’ve been working several days in this job doing some tests with different versions of this gcode, and suddenly happened this…
The weird thing is that the 4000 mm/s only applies when is on the air, when it’s milling goes at 2000
KGN
May 7, 2025, 3:30pm
5
I don’t see anything out of expected behaviour on this file.
It has G0s at the start which always move at max feedrate set in the EEPROM for those axes. This is the “Air carve” part you mention as it moves into place. I see it move at 5500 on my setup because that’s what my board has configured.
It then moves to the expected 2000 for the G1 commands (the “milling” part you mention)
File sample
G54
(Finish operation: Fixture)
(Begin operation: Pocket3D)
(Path: Pocket3D)
(Pocket3D)
G0 Z5.000
G0 X0.000 Y0.000
G0 X20.790 Y377.503
G0 X20.790 Y377.503 Z3.000
G1 X20.790 Y377.503 Z-2.000 F2000.000
G1 X20.790 Y72.497 Z-2.000 F2000.000
G3 X23.553 Y91.160 Z-2.000 I-60.562 J18.502 K0.000 F2000.000
G1 X23.553 Y358.840 Z-2.000 F2000.000
G3 X20.790 Y377.503 Z-2.000 I-63.325 J0.160 K0.000 F2000.000
G0 Z5.000
G0 X17.640 Y392.558 Z5.000
G0 X17.640 Y392.558 Z3.000
G1 X17.640 Y392.558 Z-2.000 F2000.000
G1 X17.640 Y57.442 Z-2.000 F2000.000
G3 X26.703 Y91.136 Z-2.000 I-57.611 J33.562 K0.000 F2000.000
G1 X26.703 Y358.864 Z-2.000 F2000.000
G3 X17.640 Y392.558 Z-2.000 I-66.674 J0.132 K0.000 F2000.000
G0 Z5.000
G0 X6.300 Y421.813 Z5.000
G0 X6.300 Y421.813 Z3.000
G1 X6.300 Y421.813 Z-2.000 F2000.000
G1 X6.300 Y28.187 Z-2.000 F2000.000
G3 X38.043 Y91.048 Z-2.000 I-46.262 J62.806 K0.000 F2000.000
G1 X38.043 Y358.952 Z-2.000 F2000.000
G3 X6.300 Y421.813 Z-2.000 I-78.002 J0.057 K0.000 F2000.000
It moves into position with a G0 (max feedrate, your 4000) and then respects the feedrate for the G1 (2000).
This is all expected behaviour for CNC commands.
3 Likes
duub
May 7, 2025, 6:03pm
6
thanks for clarifying! Then I don’t understand why UGS behaves different… it doens’t go that fast.
It’s confusing to me, because the file is generated with freecad and I specify the rapid speeds, wich I decided that those would be the traveling speeds, I thought it should be coded somewhere in the gcode…
KGN
May 7, 2025, 6:33pm
7
G0 always uses maximum feed rate otherwise it would just be the same as G1.
1 Like