Hi Anders I want to explain what i have. My machine is very simple - 3 axis I have 2 5i20 and 4 7i37 cards. I think i will be better without of 74hc148 and maybe without sd3486.
I only want to use Jog wheel (a; a-; b; b-), Increment selector (0.1; 0.01; 0.001), and Axis selector (off, XYZ). It is basic but for me it is plenty. without of chip i need: Jig wheel: 4 pins Increment selector; 3 pins Axis selector; 4 pins (or 3 pins?? do i need pin for OFF? ) Am I right? On my first 7i37 i have 11 pins tight to limits+home switches, and i am interesting to use second 7i37 16-in pins for pendant (pins 16in....32in) In case when i do not use 74hc148, sd3486. how it will change file- jog.hal? Thanks aram >> I am not sure how to wire 74HC148 >> Can you show how to connect wires 7-20 to 74HC148 and to 11 pins on 7i37 >> (00in, 01in, 02in. 10in) > > take a close look at the datasheet > http://focus.ti.com/lit/ds/symlink/sn74hc148.pdf > > the 74hc148 has three output bits, you wire these to your m5i20. since > it has three bits it can be in 2^3 or eight (8) different states. So > you could potentially wire an 8-way rotary selection switch to the > inputs, and it will output a three-bit pattern corresponding to the > position of the switch. You would then save 8-3 = 5 I/O pins. > With two bits you can have 4 states, so for a 4-position rotary switch > you would save 4-2 = 2 I/O pins. > > if you have lots of I/O pins to spare and are using 3 or 4-way rotary > switches it may not be worth it to encode the position of the switch > with a 74hc148 > > Anders > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users