ok, the Accel time took care of the turning on problem.
See my edits to the previous post that explains why the accel/decel delays were less than expected.
You already have my entire config there... you're still working on my error 7 issue.
Some people try making various changes to their configuration when trying to get something to work. I want to make sure you haven't changed any of the configuration since the version you sent me earlier - aside from changing the accel and decel times.
I have it wired exactly as shown on page 25 of the SuperPID manual, with the exception of another ground wire run to the ground pin of the 410.
Looking at your Mach4 config, it looks like you have the SuperPID "RUN" input connected to pin 5 on the G540 connector (which in turn is driven by pin 17 on the parallel port/SmartBOB). And for now I have to presume that this is indeed the case, since you are able to stop the spindle by clicking on "Spindle CW" button.
The behavior you describe sounds like the RUN input on the SuperPID is not going high when you click on the "Stop" button in Mach4. The SuperPID manual says that it limits the lower speeds to 5000 RPM minimum. Which I interpret to mean that if the PWM goes away (zero volts as the control voltage), but the RUN input is still low, the SuperPID will keep the spindle running at the minimum speed. Why this happens for the "Stop" button and not for the "Spindle CW" button I cannot yet explain. And I cannot replicate this here in the lab.
So please run this test and send me the resulting log file:
(1) Exit Mach4 and delete any PMDX-SmartBOB-USB.log in your profile directory.
(2) Run Mach4 with your profile and Enable the debug log if it not already enabled in our plug-in configuration dialog (device = file, level = debug).
(3) Display the SmartBOB real-time display. Go to the Diagnostics menu and select PMDXSmartBOB, then click on the real-time display. You can move the real time display off the main Mach4 window it your screen has enough room.
(4) Start the spindle using the "Spindle CW" button.
(5) While the spindle is running, verify the real-time display shows pin 17 green and pin14 as yellow. Measure the voltage between the RUN and GND terminals on the SuperPID (it should be close to zero volts)
(6) Click on the "Spindle CW" button again to halt the spindle, verify the real-time display shows pin 17 as red (pin 14 should be red or green but not yellow). Also measure the voltage between RUN and GND (it should be close to +5V).
(7) Open the GCode file that has been having trouble with the spindle. Start running the file. After the spindle is running, verify that the real-time display shows pin 17 as green and pin 14 as yellow.
(8) Click on the "Stop" button. Verify that the real-time display shows pin 17 as red and pin 14 as red or green but not yellow. When the spindle reaches its lowest RPM, measure the voltage from RUN to GND on the SuperPID.
(8) Go to our plug-in configuration and restore the debug log setting to their defaults values.
(9) Exit Mach4 and send me the log file from your profile directory and tell me what your voltage measurements were.
Bob