Closed breiler closed 1 year ago
Thanks for pointing this out. We'll take a look.
Update: As I suspected, this is an artifact of the order of execution in Gcode:
NIST RS274NGC Interpreter - Version 3
The F word is interpreted before the change in units, and remains in MM - assuming MM was in effect beforehand. That said, it probably makes sense to have the units conversion apply to the F word - a change we should consider.
In the mean time, try breaking the line up to 2 lines:
G20 G91
G1X-2 F1000
Wow, thanks for digging into this! I'll try to fix the code generating this gcode as you suggested. Thanks!
I'm trying to figure out how the feed speed is interpreted by g2core. In this GCode I'm switching to G20 and then a do a G1 movement two inches at the feed rate of 1000 (which I would assume is 1000 inches/min). In the status report it says that the velocity achieved is 39.37 inches/min.
If I use the gcode with feed rate 800
G20G91G1X2F800
, I get the reported velocity of 31.5 inches/min.Is there a unit conversion missing for the feed rate?
I'm using the version g2core 100.26