A Viper drive Step/Direction input does not use separate ground returns for the Step and Direction signals. Wire the interface for active-low operation: apply +5 V to the two middle input pins and connect the parallel-port Step and Direction outputs to the outer pins, where the port driver pulls each signal low.
Correct the 25-Pin Cable Plan
The proposed cable assigned parallel-port pins 2 through 7 to the three axes and pins 18 through 23 as individual signal grounds. Retain the software-selected Step and Direction outputs, but do not connect those six proposed ground conductors to the Viper Step/Direction inputs.
| Axis | Parallel-port assignment | Viper-side connection |
|---|---|---|
| X | Pin 2: Step; Pin 3: Direction | Step and Direction outer pins; +5 V on both middle pins |
| Y | Pin 4: Step; Pin 5: Direction | Step and Direction outer pins; +5 V on both middle pins |
| Z | Pin 6: Step; Pin 7: Direction | Step and Direction outer pins; +5 V on both middle pins |
| Proposed returns | Pins 18 through 23 | Do not use as individual Viper Step/Direction grounds |
Provide the Required +5 V
Feed +5 V to the two middle pins of each Viper Step/Direction connector. A USB connector was identified as a possible +5 V source, but the evidence does not specify the drive-input current requirement or the source capacity. Confirm polarity, pin position, and supply suitability against the drive manual before energizing the interface.
Use a Breakout Board for Signal Conditioning
The drive inputs are opto-isolated, but that isolation does not replace the recommended breakout board. Place a breakout board between the computer parallel port and the drives to buffer the output signals and filter input noise. The evidence does not establish that a direct cable provides equivalent buffering or noise filtering.
Integrate Fault Handling and Verify Operation
Connect each Viper Fault output to an EMC input and configure that input to stop motion when a drive fault occurs. Verify the finished system in this order:
- Compare every Viper connector position with the drive manual, specifically the two middle +5 V pins and the outer Step and Direction pins.
- Confirm that EMC maps parallel-port pins 2, 4, and 6 to X, Y, and Z Step, and pins 3, 5, and 7 to the corresponding Direction signals.
- Confirm that pins 18 through 23 are not wired as individual Step or Direction returns at the Viper inputs.
- Command controlled motion on each axis and verify the assigned Step and Direction outputs.
- Trigger or simulate the available drive-fault condition and verify that EMC stops motion.
FAQ
Do Viper Step and Direction inputs need separate ground wires?
No. The documented interface arrangement uses +5 V on the two middle pins, while the outer Step and Direction pins are pulled low by the parallel-port driver.
Can I connect a Viper drive directly to a parallel port?
The evidence recommends a breakout board to buffer the signals and filter noise. On-board opto-isolation does not provide those two breakout-board functions.
How should a Viper drive fault stop EMC motion?
Wire the Viper Fault output to an EMC input, configure that input as a stop condition, and test that a drive fault stops commanded motion.