Your set up looks nice.
Here are some thoughts about the issues you are seeing with the spindle:
- The idea is that you see a 0 to 10vdc which is proportional to the commanded speed. If you command the spindle to go at full speed, you will see 10vdc. If you command it to go at half the speed, you will see +5vdc, and so forth.
- You should also see the LED for pin 14 light proportionally to the commanded speed.
- Make sure you configure the spindle to be driven with PWM at a frequency of 1000hz. Check this in the UC100 Plugin.
- Make sure you are using pins 14 and 16 for step and direction of the spindle.
- Make sure you are not using those pins anywhere else in your setup.
- Make sure you disable the spindle relays, as the C11G will control the spindle.
- Make sure you set the spindle motor tuning to be at max velocity and acceleration.
- Make sure you set the pulley to 0 at min and set the max spindle speed you will have.
- You should also hear the relays clicking when you command the spindle to start.
Considering what you are reporting, it makes me think the motor tuning may be off, the pulleys not set, or not using PWM for the spindle.
About the violent motor motion: Did you check the motor acceleration? Try lowering the motor acceleration. Test this while commanding them with MDI gcode commands, at different speeds.
Arturo Duncan
https://cnc4pc.com