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
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