Re: Dangerous X5 Plus Uncommanded Spindle Running
Use relays AND watchdog timers-with safety relay, to and from the PC, You MUST NOT rely on software only to control something as dangerous as a spindle.
If the OS fails. Machine stops dead.
If communications to/from the control fails. Machine stops dead.
Momentary power loss? Machine stops dead.
Big red button? Machine stops dead.
Regardless of what fails the safety relay drops out, and machine BRAKES to a halt.
You must not rely on ANY software to just turn off something. Non computer hardware must monitor the complex computer parts.
The warp9td website specifically warns of the differences between the ports.
4) Pin out: It is important to note that Port 2 on the USS and both Ports 2 & 3 on the ESS are functionally different than Port 1. Pins 2-9 of Port 1 are always outputs, whereas Pins 2-9 of the other port(s) may be used as inputs or outputs. The direction of these bits is set in the SmoothStepper’s configuration dialog. These pins have weak (47k) pull down resistors. If a pull-up resistor is desired instead of a pull-down, a pull-up resistor with a maximum value of 4.7k can be added and it will behave similar to the dedicated inputs of each port (pins 10, 11, 12, 13, and 15). When using a breakout board that uses logic ICs to drive those pins (most breakout boards), the resistor becomes irrelevant.
Regardless of this, leave computers out of the safety loop, using careful watchdog circuit design, among other things.
Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.