"If I remove power from VS2, you can hear the the harmonic of the oscillators, of stepper motor #1 energize just as the voltage displayed in the Analog I/O window for Snap0 drops below 1.3V"
I do hear a high pitched whine when the snap amp is functioning. Somewhere I read the PWM is at 32khz, obviously humans cannot hear that, especially older humans
So I assume I'm hearing a harmonic from the motor windings.
Even though the X axis is assigned to section "A", I can hear the frequency and feel a slight vibration in the shaft of Motor#1, when I try to index the "Z" axis. Probably noise getting into the input of Side A. But only when power is applied to VS1 only and "X" axis works!
When I connect the power supply to the VS2 input, the Analog I/O reads the proper input voltage of the power supply within .5% with a slight bobble. For instance when I have the 48volt supply hooked up both voltages read 48.1 to 48.3 volts. When I hook the 12 volt supply to either VS1 or VS2, the Analog I/O reads and displays the proper voltage.
"What do you mean by "goes off"? Holding torque goes away and you can turn the motor? Are you sure the fault LED doesn't come on aftyer VS2 is applied?"
Yes, holding torque is gone, there is no resistance to turning the shaft except for the pole cogging of the motor. It is the same as when I pull the Green connector off and try to turn the motors.
No Faults have ever been known to occur, It just does not work if the VS2 voltage is greater than 1.3volts.
I'm at home right now and the configuration code is at work, I can and will send it tomorrow. But it is really the "SnapAmp 2 Steppers.c" example code with the "P" of the P.I.D. set to 10 and the StepperAmplitude = 25. I have increased the StepperAmplitude value to 250 and it makes the Motor#1 really work well, but gets very hot after time, even standing still, as steppers will do. When power is applied to VS2, no current flows, the motors get ice cold!
In anticipation of this, I used thread #1 to initialize the motors with a modified [SnapAmp 2 Steppers.c], I then use and assigned thread #2 as a low power setting and assigned it to "M5", and then thread #3 to "M6" to set the motors to high power for rapid movements, and then back down to a low value for slower travel speeds. I also had thread #4 as a simulated "HOME" which sets the machine coordinates X & Y to "Zero" in case this was some issue. I had planned later to write / adapt code to look for an inductive sensors for a real homing sequence. I also mapped these threads to user "Buttons" [INIT, High Power, Low Power, Home] for ease and quick access!