On Wednesday 17 February 2021 12:27:58 Gene Heskett wrote: > On Wednesday 17 February 2021 04:25:57 andy pugh wrote: > > On Tue, 16 Feb 2021 at 01:23, Gene Heskett <[email protected]> > > wrote: > > > How should I proceed? > > > > Is it really too hard to just reboot from a different INI file? > > > > Most of the HAL can stay the same with the right splitting up of the > > HAL files, and much of the INI can be common too, using #INCLUDE in > > the master INI file for each config. > > http://linuxcnc.org/docs/2.8/html/config/ini-config.html#_include_fi > >les > > That would work, but still leaves me trying to keep 2 or more ini > files synchronized, because there is no way to make one master file > call in the correct .inc's for each config. However, inverting the > idea might work, have each custom file call the same master.inc for > all the common stuffs but different hal files. Lots of editing ensues > either way. > > Thanks Andy > > Cheers, Gene Heskett
Trying to get my thoughts organized, raises a couple questions. 1. Are the AXIS_X or JOINT_N labels used for anything but a search anchor when hal is looking for a param whose value is set in an ini file? And that brings up a 2nd related question: 2. Are the params whose value is set in an .inc file still available to hal by the usual syntax? What I have in mind is to use JOINT_3 for all three axis variaions since it is the exact same hardware, although its tipable in that any of them can become C if its turned straight up. but just connect it to look like an A or a B or a C in the event its tipped up. Yet another possibility might be for a secont joint_3.inc file, but that one describes the 4th axis that came with the 6040 and which I am in the process of making a set of timing sprockets to gear it down by a factor of 3 or so for increased holding power. Thanks Andy Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
