Re: [Emc-users] MPG HAL component

2017-02-23 Thread Kurt Jacobson
Jon, I actually got the idea for using diodes to multiplex my single pole switches form that page you linked. I simplified it a bit by soldering the diodes directly to the switch. See attached schematic. Thanks for explaining your hal file, makes sense now. I do like having it all in one component

Re: [Emc-users] MPG HAL component

2017-02-23 Thread Jon Elson
On 02/23/2017 01:32 PM, Kurt Jacobson wrote: > > I tried to edit Jon's HAL file found here > to fit my needs but I > never did get it to work. I guess I don't understand how he used select8 > and wsums. So that I could use a single-deck switch, I

Re: [Emc-users] MPG HAL component

2017-02-23 Thread Gene Heskett
On Thursday 23 February 2017 14:32:24 Kurt Jacobson wrote: > Hello all, > > I just finished writing my first HAL component. I am setting up an MPG > on a 4 axis mill and I wanted to have the axis selector switch as well > as the jog scale switch multiplexed to use fewer inputs. > > I was able to d