Stepper driver control signals come in common-anode and common-cathode flavours; wire it backwards and pulses never get in. This page explains the difference, how to read the label, and matching to PLC outputs.
Common anode means the signal positive, often internal 5 V, is common, and the external controller uses NPN open-collector to pull the signal line low to trigger; common cathode means the signal negative is common ground and a PNP source output pulls high to trigger. In short, common anode is active by pulling low, common cathode by pulling high.
The driver label or manual states which, sometimes drawn as internal pull-up or pull-down. For common anode tie the 5 V to the PLC source-output common and the signal to the input point that pulls low; for common cathode tie signal ground to the PLC sink common and drive high. The point is to make a valid level transition at the driver input. Mismatches mean pulses are ignored and the motor will not turn or runs wild. Most PLC transistor outputs can be sink or source by common wiring; if the driver is common anode but the PLC only sources, add a relay or opto-coupler, and never use relay output for high-frequency pulses. Match 5 V or 24 V with series resistors or level shifters.
| Type | Active level | PLC output | Caution |
|---|---|---|---|
| Common anode | Pull low | NPN sinking | Shared +5 V |
| Common cathode | Pull high | PNP sourcing | Shared ground |
| Check the label | Read the manual | Internal | Pull-ups |
| Matching | Convert | Relay/optocoupler | Prevent errors |
| Level | 5/24 V | Series resistor | Match it |
Common anode ties the signal positive sides internally to +5 V and triggers by pulling the negative side low (NPN sinking); common cathode ties the negative sides to ground and triggers by pulling high (PNP sourcing). Read the driver label, and the essence is making each pulse a valid edge at the driver. PLC outputs must be transistor type, since relays cannot follow the pulse rate; series resistors or converters handle 5 V versus 24 V levels. Get it wrong and the driver never sees the pulses.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Electrical safety: GB/T 5226.1 / IEC 60204-1; PLCs: GB/T 15969 / IEC 61131. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.