For the encoders, I've build a separate circuit for the spindle encoder to clean up the signals from the optical sensors. I have the A, B, and Index signals (0V to 12V) running through a comparator triggered at 50% maximum amplitude. After the comparator, the square wave signal runs through a voltage divider to bring it down to 5V. The signal from my board produces a clean square wave running between 0V and 5V. I've noticed that after I connect my board to the 7i76 input pins for A, B, and Index, the square wave signal no longer pulls down to 0V. Instead, the signal oscillates between 2.5V (roughly) and 5V. Is this typical or am I doing something incorrectly that's not allowing me see any spindle speed values on PNCconf?
Also, I still can't figure out why I can't get an output on the 7i76 for the Spindle speed controller. I've attached a photo of my 7i76 wiring connections. I might be doing something obviously wrong but I'm at a loss right now.
PCW, in your last post, you mentioned "
2. hm2_5i25.0.7i76.0.0.spinena must be "true"". Does that mean I need to wire +6V to SPINENA or is that set to "true" programmatically?