The solution I am using is put G20  in RS274NGC_STARTUP_CODE of the 
original ini file.  Then each time I startup, I select inch in view.  
Much easier than recomputing all the velocity and acceleration values.

On my other mill's I had always used Stepconf and selected Inches.  This 
is the first time I've needed to change units.

I still need to get all configuration parameters from the vendor, as I 
still have the ATC, Tool setter and Reneshaw probe to add into the 
system.  This is based on a Mesa 5I25 7I76 interface.


On 10/18/16 8:04 AM, Gene Heskett wrote:
> On Tuesday 18 October 2016 04:44:00 andy pugh wrote:
>> On 18 October 2016 at 04:05, hubert <> wrote:
>>> My machine was initially setup by my vendor to mm.  Personally I
>>> prefer inches.
>> You can just set the GUI to display inches and issue a G20 (?) command
>> and the machine will be, effectively, an imperial machine.
>> (I am not sure it is G20, as I very rarely swap units, and the main
>> linuxcnc site seems to be down from here)
> You are correct Andy, G20 is inches, G21 is mm's for input code units.
> But he'll likely have to revert all his .ini file changes before it will
> work right. He can preset that at linuxcnc startup time by editing the
> initialization string in the axis.ini file if he is using axis.
> Example from TLM:
> [RS274NGC]
> RS274NGC_STARTUP_CODE=G8 G18 G21 G40 G49 G64 P.005 Q.005 G80 G90 G94 G97
> Thats for a lathe of course as G7/G8 is lathe specific
> And the G18 sets the active axis's to x/z for g2/g3 moves.
> Cheers, Gene Heskett

Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
Emc-users mailing list

Reply via email to