FYI, I did something similar to Jon and used only 2 wires for the 3 feed rates. Though, I left the smallest (X1) increment as the unconnected one to use as the default if one of the other two weren't active. So if the switch is between positions, flaky contact, broken wire, etc it defaults to the smallest increment.
Stephen On Mon, Jun 3, 2013 at 1:15 PM, Jon Elson <[email protected]> wrote: > Marius Liebenberg wrote: > > Jon > > Do you care to elaborate on the diode encoder? > > > Down at the bottom of this page is a link to a pdf file with the > schematic. > http://pico-systems.com/pendant.html > > This one encoder X, Y and Z, feedrate and spindle > overrides. The diodes convert the single pole switch so it > creates a binary code, which is then decoded in the HAL > file. I have HAL files linked there for two versions. The > UPC pendant file matches the schematic, the PPMC pendant > is a bit different, it has 4 axes before the spindle and feedrate > settings. These connect to the digital inputs of my > motion control boards, which require a sinking-type switch. > In a case where the contacts need a voltage source, the > diodes would be reversed. > > The whole purpose of this is to save digital inputs. On the > UPC/Minimill setup, I had already used up all my encoder > counters, so I interfaced the MPG also through digital > inputs, and was running very short. The multiplexing > allowed me to have 5 or 6 selections (axes plus overrides) > as well as 3 rate selections with only 5 wires and 5 digital > inputs. > > Jon > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
