Choosing a PLC 1: count the I/O and leave spare
166 Views •4-20 mA input reading wrong: check it step by step
330 Views •Scaling a 4-20 mA signal in the PLC: formula, constants and code
309 Views •Digital input not reading: NPN or PNP, step by step
343 Views •Relay or transistor output: which one and how to check it
266 Views •Digital input not reading: NPN or PNP, step by step
343 Views •4-20 mA input reading wrong: check it step by step
330 Views •Scaling a 4-20 mA signal in the PLC: formula, constants and code
309 Views •RS-485: how to check a bus step by step
305 Views •Relay or transistor output: which one and how to check it
266 Views •Modbus RTU timeout: 6 checks before blaming the wiring
266 Views •Upload fails: 6 checks before blaming the code
224 Views •LoRa works on the desk, fails in the field: 6 checks before you install
209 Views •SD card corrupted? 6 habits for Linux in the field
193 Views •4G PLC not connecting: 6 checks before blaming the code
188 Views •Touch panel: screen turned, touch didn't. 6 checks
178 Views •Choosing a PLC 1: count the I/O and leave spare
166 Views •Arduino IDE compile error: 6 checks before the code
166 Views •LoRaWAN node won't join: 6 checks, in order
156 Views •Choosing a PLC 2: which communications do you really need
149 Views •Node-RED not starting after a reboot? 6 checks
116 Views •Modbus RTU master and slave with two ESP32 PLC, step by step
107 Views •Modbus register 40001 or address 0? 6 checks
101 Views •PLC on Ethernet with no ping? 6 checks
88 Views •Relay or transistor output: which one and how to check it
Short answer: as a rule of thumb, use a relay output for AC loads, for loads with their own supply or when you need isolation, and a transistor output for DC loads that switch often or need PWM, where the output supports it. When an output does not work, check the output supply, the load current, the inrush and the protection of inductive loads.
Download the checklist (PDF, 2 pages)
Descarga la lista de comprobación (PDF, 2 páginas)
This works for any PLC or I/O module with digital outputs. At the end you will find the page for your PLC range.
The idea in one minute
A relay output is a contact. It closes a circuit that can carry AC or DC and is isolated from the PLC electronics. It is slower, typically in the millisecond range, and its electrical life depends on the load: datasheets give it as a number of operations. Its DC breaking capacity is often much lower than its AC rating at the same voltage.
A transistor output switches DC electronically. It is fast, has no contact wear and supports PWM where the output is designed for it. It works only with DC, switching either the + side (PNP type) or the 0 V side (NPN type), and many transistor outputs need a supply on their common.
Which one to use
| Need | Relay | Transistor |
|---|---|---|
| AC load | Yes | No |
| DC load | Yes | Yes, within its current rating |
| Fast switching or PWM (where the output supports it) | No | Yes |
| Many operations a day | Limited electrical life | No contact wear |
| Isolation from the PLC | The contact is isolated | Depends on the model |
Five checks when an output does not work
| Check | What to do | Good result |
|---|---|---|
| 1. Output LED | Activate the output from the program | LED on. On most PLCs it shows the command, not that the load is switched |
| 2. Output supply | On transistor outputs that need it, measure the supply on the output common | Supply present and within range |
| 3. Voltage at the load | Measure across the load with the output on | For a fully switched DC output, close to the load supply. PWM and AC need a suitable meter |
| 4. Load current | Compare the load current with the output rating | Below the rating of each output and of the group |
| 5. Inductive loads | Check the protection on coils and valves | A suppressor chosen for the load: typically a diode on DC coils, RC snubber or varistor on AC |
What the readings tell you
- LED on, no voltage at the output: no supply on the output common (transistor), or the load circuit is open (relay).
- The output works and then stops: a possible cause is the output protection tripping on overload or short circuit, if the output has it. Measure the load current and the inrush.
- Load that stays on with the output off: check first that the command is off and the wiring. On relays, contact welding from excessive inrush is one possible cause: check the inrush against the contact rating, and use a properly rated interface relay or contactor when needed.
- Transistor output with an AC load that does nothing: transistor outputs switch DC only. Use a relay output or an AC solid-state (triac) output.
If the output has never worked
- On a relay output, power off the load circuit and measure continuity between the contacts with the output on and off.
- On a transistor output, check the polarity of the load and the supply on the common.
- Check the switches that select the output mode, where your PLC range has them.
Commenting is not enabled on this course.