On Fri, 11 Sep 2020 at 21:18, Dave Matthews <n36...@gmail.com> wrote:

> The examples that I have found are for Mesa cards and seem to have a
> lot of stuff in them that I don't have in my .ini and .hal files.

Have you looked at the supplied sim-axis-gantry config?

> Any hints on where I can find the docs on editing the ini and hal
> files to add the second Y home switch and having 4 joint homing?

The important parts are the [KINS] section and the homing sequence
numbers for the joints here:
https://github.com/LinuxCNC/linuxcnc/blob/master/configs/sim/axis/gantry/gantry.ini

Then you just need to connect the two joint.N.home-sw-in pins to the
relevant parport pins in the HAL file.

(I wouldn't suggest looking at the simulated-gantry-home HAL file,
that is almost entirely related to _simulating_ home switches.)

If the home switches end up not in exactly the right places then you
can tweak the home-switch-offset in the INI until it homes exactly
square.

There is a bit more detail here:
http://linuxcnc.org/docs/2.8/html/config/ini-homing.html#_home_sequence

But, basically, wire up the home switches and make some very small
tweaks to the INI. There isn't much to find as there isn't much to do.

And I _think_ that Stepconf knows how to do it, so you could make a
config from scratch that matches your machine for reference.

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


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

Reply via email to