You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started sim/axis/axis, F1 F2 Ctrl-Home, switch to the MDI tab, G21, G95,
F10 (10 mm/rev).
Then in another window I ran python, imported the linuxcnc module, instantiated linuxcnc.stat, polled, and got settings = (0.0, 10.0, 0.0). Back in Axis I switched to the Manual tab, jogged around a little, switched back to MDI and ran 'S1000 M3'. Back in python i polled linuxcnc.stat again and got settings = (0.0, 600.0, 1000.0). In Axis MDI tab, the 'Active G-Codes' also shows F600.
Another data point: same version of linuxcnc, same (imperial) config, F1 F2 Ctrl-Home, no G21, G95, F10, jog around, then S100 makes the Active G-Codes F-word and linuxcnc.stat.settings[1] jump to an unexpected value.
There are two bugs here. One is that the F-word changes surprisingly, and the other is that you have to issue an MDI command (after Aborting, or switching into and back out of Manual) before the wonky F-word is revealed.
Activity
SebKuzminsky commentedon Oct 20, 2016
I can replicate this problem with LinuxCNC 2.7.7.
I started sim/axis/axis, F1 F2 Ctrl-Home, switch to the MDI tab, G21, G95,
F10 (10 mm/rev).
Then in another window I ran python, imported the linuxcnc module, instantiated linuxcnc.stat, polled, and got settings = (0.0, 10.0, 0.0). Back in Axis I switched to the Manual tab, jogged around a little, switched back to MDI and ran 'S1000 M3'. Back in python i polled linuxcnc.stat again and got settings = (0.0, 600.0, 1000.0). In Axis MDI tab, the 'Active G-Codes' also shows F600.
SebKuzminsky commentedon Oct 20, 2016
Another data point: same version of linuxcnc, same (imperial) config, F1 F2 Ctrl-Home, no G21, G95, F10, jog around, then S100 makes the Active G-Codes F-word and linuxcnc.stat.settings[1] jump to an unexpected value.
SebKuzminsky commentedon Oct 20, 2016
There are two bugs here. One is that the F-word changes surprisingly, and the other is that you have to issue an MDI command (after Aborting, or switching into and back out of Manual) before the wonky F-word is revealed.
tests: add an abort-vs-feed-rate test (skipped)
canon: return correct feed rate in G95 mode
canon: return correct feed rate in G95 mode
canon: Enable smarter blending in spindle-synchronized motion.
Fix feed rate handling problem