Hi, all, I'm trying to put together a jog pendant to show at NAMES. To save digital I/O points I want to multiplex the axis selection, then I can select 3 axes with 2 points. But, I need to do a demultiplexer, like the reverse of the mux4 HAL component. I don't see such a component, so maybe I am missing a simple way to do this numerically, or something. Any ideas, or should I write a new component?
Also, all my encoder counters are in use on that setup, so I am going to try feeding the MPG into a pair of digital inputs also, and then using the HAL encoder conponent. That seems like it should be straightforward. While I'm asking questions, is there an example anywhere where a spindle speed tach is set up to display on the VCP? I have a shaft encoder on the spindle of my minimill, and wired to an encoder counter on my UPC board, for threading operations. I can see that just taking encoder delta (raw encoder counts) from the PPMC driver and multiplying by the right factor would give RPM most of the time, but it would glitch when the encoder counter is syncing up for threading. I'd have to hard-code in the servo period, too. Also, a bit of filtering would give a more stable value. Has anyone done this? Are there better signals on a HAL pin somewhere? Jon ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers