On Wed, 10 Apr 2019 at 16:07, Gene Heskett <ghesk...@shentel.net> wrote:

> So I don't see a tasty way to do it as I'd still have two pairs of files
> to keep in synch with such as MAX_VELS etc. With the sheer number of
> variables to keep synched, the N! could rapidly exceed 69, the maximum
> my now elderly ti-51 calculator can do.

You set these things _once_ I really don't see your problem.

You _can_ do conditional stuff in HAL files, if you write them in Tcl.
I have never considered it worth the trouble of learning Tcl.

Example: 
https://github.com/LinuxCNC/linuxcnc/blob/master/lib/hallib/wheeljogpins.tcl

(And I think that file actually has a typo...)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to