On Thursday, 19 May 2022 16:19:37 EDT Marius Alksnys wrote: > Gene, > > how about setting min and max limits to zero (or other initial value), > maybe also not enabling B drive? > This can be done in a bash script like: > halcmd unlinkp io-board-going-to-b-servo-drive.enable-pin > halcmd setp ini.4.min_limit 0 > halcmd setp ini.4.max_limit 0 > halcmd setp ini.b.min_limit 0 > halcmd setp ini.b.max_limit 0 > > or in HAL with mux_generic > http://linuxcnc.org/docs/html/man/man9/mux_generic.9.html > First I've heard of this, sounds like it could be usefull. ATM I'm carving up an e-stop coupling between linuxcnc and a couple of those 3 phase drives.
Thank you for bringing it to my attention. > 2022-05-19 11:07, gene heskett wrote: > > Greetings all; > > > > On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like > > to > > devise a way to put ALL the B axis stuff in seperate files, but have > > not figured out how to do that to the ini. > > > > What I have started is an additional jumper on the home switch that > > sets a hal file "net" titled "b-prsnt" true or false according to > > whether or not its plugged in. But this signal is not available at > > ini file read time. > > > > What I need is a common way to control whether an include file is > > loaded for both the ini and the hal. Two separate files obviously. > > > > I hate the idea of having to keep two configurations in synch with > > each other. One for xyz, and one for xyzb. > > > > Can something like that be cobbled up? > > > > Thank you all. > > > > Cheers, Gene Heskett. > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > . 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, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users