1. Überblick & Funktionsprinzip
Push-Pull (totem-pole / HTL 24 V or TTL 5 V) and Open-Drain (open-collector) are the two core digital output stages used by rotary encoders, flow-pulse meters, and universal industrial proximity switches.
A Push-Pull stage stacks BOTH a high-side sourcing transistor (Q1) and a low-side sinking transistor (Q2), actively driving cable capacitance in both directions so it works with either Sinking OR Sourcing PLC inputs and achieves crisp square waves beyond 100 kHz. An Open-Drain stage omits Q1, relying on an external pull-up resistor to go HIGH — trading rise-edge speed for safe multi-sensor Wired-AND/OR sharing and effortless voltage-level translation.
Active Rise vs Passive RC Rise: Every shielded sensor cable adds ~100–150 pF per meter. A Push-Pull upper transistor (Ron ≈ 35 Ω) charges 2.2 nF in under 0.2 µs, whereas a 10 kΩ open-drain pull-up takes tr ≈ 2.2 × Rpu × Cbus ≈ 48 µs — completely rounding off a 50 kHz encoder pulse train!
Wired-OR Contention Rule: You can tie multiple Open-Drain outputs together onto one pull-up resistor without conflict. NEVER tie two Push-Pull outputs together: whenever one drives HIGH and the other drives LOW, shoot-through current shorts +Vcc straight to 0 V!

2. Step-by-step: Choosing and wiring Push-Pull vs Open-Drain sensor outputs
1Check pulse frequency and cable capacitance budget
Multiply cable length by ~125 pF/m to estimate Cbus, then require rise time tr ≤ T / 6 (one-sixth of the pulse period). Above ~10 kHz over >10 m cable, pick Push-Pull (HTL/TTL) or differential RS-422.
2Match Push-Pull voltage (HTL 24 V vs TTL 5 V) to your PLC/counter
Verify that a 24 V HTL push-pull encoder connects only to a 24 V PLC HSC card (never a 5 V MCU pin!), and never wire two Push-Pull outputs onto the same terminal.
3Size external Rpu carefully when using Open-Drain
Select the lowest Rpu that stays well within the sensor sinking current rating (I_sink = Vcc / Rpu < 0.5 × Imax) and resistor wattage, ensuring fast enough rise time without overheating.
4Inspect edges on an oscilloscope at maximum RPM / flow rate
Probe the receiver terminal at full machine speed. Confirm clean flat tops reaching >80% Vcc (no shark-fin RC rounding) and add a 47 Ω series damping resistor at the driver if fast edges ring.
3. Fehlersuche & Multimeter-Diagnose
| Symptom | Ursache | Multimeter-Prüfung | Abhilfe |
|---|---|---|---|
| Encoder counts accurately at slow speed, misses counts at high RPM | Open-drain Rpu too high for long cable capacitance (RC shark-fin rounding) | Observe signal at PLC input with scope while ramping speed | Lower Rpu (e.g. 10 kΩ → 1.5 kΩ) or upgrade to Push-Pull / RS-422 output |
| Two sensors wired in parallel get hot and PLC reads ~12 V (Vcc/2) | Push-Pull outputs wired together causing bus contention shoot-through | Disconnect one sensor; voltage immediately snaps cleanly to 0 V or 24 V | Route each Push-Pull output to its own PLC DI, or insert ORing diodes / switch to Open-Drain |
4. Häufige technische Fragen (FAQ)
Does a Push-Pull sensor work with both Sinking (PNP-style) and Sourcing (NPN-style) PLC inputs?
Yes! Because Push-Pull has both an active high-side switch (sourcing like PNP) and an active low-side switch (sinking like NPN), it drives either PLC polarity cleanly — just verify logic inversion in software when swapping modes.
Why does my Open-Drain encoder lose pulses above 20 kHz?
Cable capacitance (~125 pF/m) plus a large pull-up resistor (e.g. 10 kΩ) forms an RC low-pass filter with a 10–90% rise time tr = 2.2 × R × C. Once tr exceeds roughly one-third of a half-period, the signal fails to cross the PLC high threshold.
Can I parallel two Push-Pull sensors for OR logic?
Never directly! If Sensor A outputs 24 V while Sensor B outputs 0 V, they short-circuit the power supply through each other. Use separate PLC inputs, ORing diodes (1N4148 + pull-down), or Open-Drain / PNP sensors.
What is the difference between HTL and TTL Push-Pull?
HTL (High Threshold Logic) operates at 10–30 V (typically 24 V) with high noise immunity for PLC panels. TTL operates at regulated 5 V DC for high-speed motion controllers and CNC drives.
When should I pick Open-Drain over Push-Pull?
Choose Open-Drain whenever you need multi-sensor Wired-AND/OR fault buses (e.g. alarm chains), I²C/1-Wire bidirectional buses, or simple level-shifting from a 24 V sensor down to a 3.3 V MCU.
Why do fast Push-Pull edges sometimes ring on long cables?
Fast sub-microsecond edges excite the LC transmission-line resonance of un-terminated cable. Adding a 33–100 Ω source termination resistor right at the sensor output damps reflections cleanly.
5. Zugehörige Rechner, Leitfäden & weitere Schaltungen
- Rechner für Impulsausgänge
- Rechner für den Spannungsfall der Sensorversorgung
- NAMUR vs. PNP vs. NPN: Schaltausgänge, Verdrahtung & CSV-Referenz
- PNP-Schaltausgang (3-Leiter, Plus-schaltend) — Schaltung & Simulator
- NPN-Schaltausgang (3-Leiter, Minus-schaltend) — Schaltung & Simulator
- NAMUR 2-Leiter Eigensicherheits-Schaltung (IEC 60947-5-6)
- Optokoppler-Trennung & Relais-Freilaufdiode (Sensoreingang)
- 24-V-Sensoreingangsschutz (PMOS-Verpolschutz, TVS & PTC)
- Potentialfreier Kontakt: Hardware-Entprellung & Benetzungsstrom
- 2-Leiter 4–20 mA Stromschleife & geschützter Empfänger
- 3-Leiter vs 4-Leiter Aktiver Analog-Messumformer (0–10 V)
- Spannung-zu-4–20 mA Stromsender (OPV + Längstransistor)
- NTC-Spannungsteiler + OPV-Impedanzwandler & RC-Filter