On Friday 11 April 2014 00:07:59 Sebastian Kuzminsky did opine: > On 04/10/2014 06:36 PM, Gene Heskett wrote: > > On Thursday 10 April 2014 20:29:33 Andy Pugh did opine: > >>> On 10 Apr 2014, at 18:38, Gene Heskett <ghesk...@wdtv.com> wrote: > >>> > >>> Fspeed for instance, is not scaled up to the metric equ, so the sim > >>> runs painfully slow > >> > >> How do you think it should be done? > >> Are you suggesting that after switching to metric and the interpreter > >> seeing f15 it should guess you meant inches really? Why shouldn't it > >> assume miles per microsecond instead? > >> > >> I think that the only choice has to be "currently active units" > > > > I don't think it was quite all that encompassing before, Andy, and you > > are by pure common sense correct. So if I run in metric mode, I'll > > have to recall that F is in mm per min. That means a bunch of them. > > As in 15 ipm=384mm-min. > > I usually think in imperial, but i have some programs written by CAM > software that thinks in metric. When i have to modify those programs I > use inline math, like this: > > G21 > F [15 * 25.4] ; 15 inches/minute * 25.4 mm/inch > > > I just tried to reproduce your issue with 2.5.3-131-ged3ed34 and > 2.6.0~pre0-5418-gf74c5d3, and in both cases it behaves correctly as far > as i can tell: > > If i run "G20 F10" it gives a feed rate of 10 ipm. > > If i then run "G21" the machine switches to metric but leaves the feed > rate unchanged, staying at 10 ipm aka 254 mm/min. > > If i then run "F508" it changes the feed rate to 508 mm/min (aka 20 > ipm). > > If i then run "G20" the machine changes back to imperial and again the > feed rate is unchanged at 20 ipm aka 504 mm/min. > > > Gene, can you show us a gcode program that doesn't behave as you expect?
If I load some code that expects to run in G20, and before I exec it, goto MDI and issue a G21, the only F command in it, f1.5 (was polishing a taper with a diamond wheel in a dremel when I cut that code) and then run it, it takes the f1.5 as 1.5mm per minute. Surprised me at first, but makes perfect sense since it was in G21 mode before I hit the run arrow. I don't see it as a problem, just a surprise. It took it literally. And I sure didn't mean for you to waste an hour checking, my apologies Seb. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers