Thanks Andy, I was going to ask if there was an include function for ini
files. My lathe runs two configs, one with the tool turret installed and
one without. My turret is tiny and only suitable for a few jobs. It is
so small it can be mounted on one of the QC tool holders. Currently I
run two separate ini files but it would be much better to stick all of
config values that are common into an inc file.
The next question, is it possible to repeat sections? For instance in
[RS274NGC] I have different parameter files for each config. All other
values are the same. It would be nice to have a [RS274NGC] section in my
main config to specify the parameter file and another [RS274NGC] section
in my inc file to specify everything else that is common between the two
configs. To be honest this is purely icing on the cake. Just having
#INCLUDE makes a big difference. Repeating a few sections is not a real
problem.
As far as the original question goes, I probably won't bother with the
kinematics module. I spent a day on the machine, realigning the spindle
and generally going through the machine and readjusting everything. The
error is a lot smaller now and realistically within the limits of
anything I normally want to make. I'm surprised how good it is
considering this machine spent most of it's life with a non-functional
lube pump. As far as I can tell someone forgot to fit the foot valve
ball when they originally assembled it!
Les
On 05/07/2017 11:42, andy pugh wrote:
of a kludge, but the streamer/ halstreamer system could do what you are
describing.
Another way:
INI files can use #INCLUDE
http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_include_files
{.ini file}
[KINS]
#INCLUDE corrections.inc
...
{.inc file}
ZVALS = 0,10,20,30,40,50,60,70
XVALS = 0,0.1,-0.3,0.7.......
{.hal file}
loadrt mykins zvals=[KINS]ZVALS xvals=[KINS]XVALS
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users