Using a parallel port to drive a SpectraLight 0200 Controller Box.
WARNING
The technique documented on this page works for me. However it has not been extensively tested. This is a "hobby" project that could well damage your mill, controller box and your PC. In fact you might die, hurting the entire time, if you follow these instructions. The author is not responsible for any damage or harm that results from attempting to replicate this project.
These plans are being published so that others can contribute and refine the techniques presented here. The techniques should not be used for anything but research projects. Anyone using these plans does so at their own risk.
These plans should not be used in educational settings. Important safety features of the mill are not implemented.
Overview
This adapter enables you to eliminate the need to use the controller card to operate your mill, provided your controller box and mill are operational. Your controller box must be operational for this adapter to be of any use.
Who might want to do this?
- Someone who doesn't have the ISA or PCI controller card but does have the controller box and a mill. There is a good chance that a mill on e-bay does not include the controller card. These cards are reported to cost around $1,000.00. If you don't want to spend $1,000.00 on a card, this project is for you.
- Someone who has a perfectly working mill, including the controller card, but would like to use alternative controller software such as EMC2, Mach3 or TurboCNC. This adapter will allow you to retrofit your software.
Instructions
What you need:
- 25 pin Male Solder D-Sub connector, qty 1 (link)
- 25 pin Female Solder D-Sub connector, qty 1 (link)
- 6" lengths of wire suitable for serial communication, qty 10
- Solder iron and solder supplies
- 30 minutes of time.
Connect the two connectors according to this chart:
Version 2.2
| Parallel port (Male) | Controller box cable (Female) | Notes |
| 1 | 22 | Enables the spindle |
| 2 | 6 | X Dir |
| 3 | 21 | X Step |
| 4 | 18 | Y Dir |
| 5 | 20 | Y Step |
| 6 | 5 | Z Dir |
| 7 | 19 | Z Step |
| 8 | 4 | Spindle on/off |
| 13 | 23 | ESTOP (May or may not work, if this causes EMC to stop thinking the button has been pressed at random times, disable it in the stepconf). Placing a 10uf (and possibly much smaller) capacitor in parallel with this signal and grounding it acts as a filter. Problems with this line were resolved using this technique. |
| 14 | 17 | Mill Amp on/off |
| 25 | 7 | GND |
| -- | -- | -- |
| ---------------------------------- | -------------------------------------------- | -------------------------------------------------------------------- |
Version 2.1 -> Version 2.2 changes:
Fixed typo in the pin assignment. Pin 24 on the parallel port should have been pin 14.
Version 2.1 (Do not use)
| Parallel port (Male) | Controller box cable (Female) | Notes |
| 1 | 22 | Enables the spindle |
| 2 | 6 | X Dir |
| 3 | 21 | X Step |
| 4 | 18 | Y Dir |
| 5 | 20 | Y Step |
| 6 | 5 | Z Dir |
| 7 | 19 | Z Step |
| 8 | 4 | Spindle on/off |
| 13 | 23 | ESTOP (May or may not work, if this causes EMC to stop thinking the button has been pressed at random times, disable it in the stepconf). Placing a 10uf (and possibly much smaller) capacitor in parallel with this signal and grounding it acts as a filter. Problems with this line were resolved using this technique. |
| 24 | 17 | Mill Amp on/off |
| 25 | 7 | GND |
| -- | -- | -- |
| ---------------------------------- | -------------------------------------------- | -------------------------------------------------------------------- |
Version 2.0 -> 2.1 changes:
- Prevents the "runaway spindle" situation on my mill. Other users report that this configuration doesn't solve the problem on their mills.
- Includes an input from the mill for the emergecy stop function. However, the issue documented here may prevent reliable detection using EMC2. At least one user had reported that it works for them. My advice is to try it, if it works - great. If it doesn't work, disable it in EMC2 and continue on your merry way.
Version 2.0
| Parallel port (Male) | Controller box cable (Female) | Notes |
| 1 | 17 | Enables the spindle |
| 2 | 6 | X Dir |
| 3 | 21 | X Step |
| 4 | 18 | Y Dir |
| 5 | 20 | Y Step |
| 6 | 5 | Z Dir |
| 7 | 19 | Z Step |
| 8 | 4 | Spindle on/off |
| 14 | 7 | GND |
| 15 | 17 | Mill Enable |
| ---------------------------------- | -------------------------------------------- | -------------------------------------------------------------------- |
EMC configuration is available here:
Please leave a comment if you attempt this mod with your mill.
Feedback is essential, thanks!
