PLC INTERVIEW PREP
PLC Interview Questions and Answers: 30 Questions With Model Answers
Thirty questions PLC interviewers ask, each with a short model answer: basics, programming, analog and PID, networks, fault-finding and safety.

These PLC interview questions and answers cover what interviewers ask most: the scan cycle, contacts, timers, sinking and sourcing I/O, analog scaling, PID, networks, fault-finding and safety. Each has a short model answer you can say out loud. Learn the reasoning, not the wording; a good interviewer will ask a follow-up.

PLC interview questions and answers: basics
1. What is a PLC, and how does it differ from a microcontroller? A PLC is an industrial computer built for control: it survives electrical noise and heat, has industrial I/O (typically 24 V DC), is programmed in IEC 61131-3 languages, and supports online monitoring and diagnostics. A microcontroller is a chip that needs a custom board, firmware and I/O protection before it can do the same job.
2. Explain the scan cycle. The PLC reads all inputs into a process image, executes the program from top to bottom, writes the output image to the outputs, then handles communication and diagnostics, and repeats. An input pulse shorter than one scan can be missed, which is why fast signals use high-speed counters or hardware interrupts.
3. What are the IEC 61131-3 languages? Ladder Diagram, Function Block Diagram, Structured Text and Sequential Function Charts. Instruction List was also in the standard: the 2013 edition deprecated it, and the fourth edition, IEC 61131-3:2025, no longer lists it. PLC programming languages compares the four.
4. What is the difference between NO and NC contacts in ladder? A normally open instruction is true when its bit is 1; a normally closed instruction is true when its bit is 0. They examine a bit, not the physical device. A physical stop button is usually wired normally closed, so a broken wire stops the machine, and is then read with a normally open instruction.
5. What are sinking and sourcing I/O? A sourcing device supplies current; a sinking device provides the path to 0 V. A PNP sensor sources current into a sinking input module; an NPN sensor sinks current from a sourcing input module. Mixing them up means the input never turns on. NPN vs PNP sensors has the wiring diagrams.
6. What is a retentive timer? A retentive timer (TONR in Siemens, RTO in Rockwell) keeps its accumulated time when its input goes false and continues from there. It needs a separate reset. An ordinary on-delay timer resets as soon as its input drops.
7. Explain TON, TOF and TP. TON turns its output on after the input has been true for the preset time. TOF keeps the output on for the preset time after the input goes false. TP gives a fixed-length pulse on a rising edge. PLC Timers TON, TOF and TP Explained shows each with a timing diagram.
8. What is the difference between a seal-in circuit and set/reset? A seal-in holds a coil on through its own contact in parallel with the start button, and drops out when the stop condition breaks the rung or the PLC restarts. Set and reset hold the bit until reset, and may survive a restart if the bit is retentive, which must be considered for safe restarts. See the start/stop seal-in circuit explained.
Programming
9. What is edge detection? A rising or falling edge instruction is true for exactly one scan when a signal changes. It is used to count events, toggle states or trigger a single action from a held button.
10. How do counters work? CTU counts up on each rising edge of its input until it reaches the preset, CTD counts down, and CTUD does both. Each has a reset or load input.
11. What data types do you use most? BOOL for bits, INT (16-bit signed) and DINT (32-bit signed) for whole numbers, and REAL (32-bit floating point) for scaled values. Mixing them carelessly causes overflow or lost precision.
12. What is the difference between a function and a function block? A function has no memory between calls. A function block has instance data that persists, so it can contain timers and state. Use a function block for anything with memory, such as a motor with a start delay and a fault latch.
13. Why avoid using the same output coil twice? In the scan, the last rung to write the coil wins, so the earlier rung has no effect and the program is misleading. Combine the conditions into one rung.
14. How do you program a sequence? With SFC, or a state machine: a step number and a CASE statement in Structured Text, or one rung per step transition in ladder. Only one step is active; each has clear transition conditions and a path to a fault or stop state.
15. How do you structure a larger program? Separate modules for each piece of equipment, reusable function blocks with user-defined types, consistent tag naming, and a clear split between I/O mapping, logic, alarms and HMI interface. ISA-88 gives a useful model for batch processes.
Analog and PID
16. Why is 4-20 mA used? The live zero lets you detect a broken wire, current loops resist electrical noise over long cables, and two-wire transmitters can be powered from the loop. NAMUR NE 43 standardises the signal levels a transmitter uses to report a failure; it treats a signal at or below 3.6 mA, or at or above 21 mA, as a failure. For wiring and loop power, see our 4-20 mA current loop guide.
17. How do you scale an analog input? Linearly: engineering value = (raw − raw min) × (EU max − EU min) ÷ (raw max − raw min) + EU min. On an S7-1200 or S7-1500, the nominal range is 0 to 27648 raw counts.
18. How is PID implemented in a PLC? With a PID block such as PID_Compact in TIA Portal or PIDE in Studio 5000, called at a fixed sample time from a cyclic interrupt. You set the process value, setpoint and output limits, then tune the gains. Good blocks include anti-windup and bumpless manual-to-auto transfer. PID Tuning Explained With a Simulator goes further.
19. How do you reduce noise on an analog signal? Shielded twisted-pair cable with the shield earthed at one end, separation from power cables, and a filter in the module or program where the process allows.
Networks
20. What is the difference between PROFIBUS and PROFINET? PROFIBUS DP is a serial fieldbus on RS-485 (see RS-485 wiring explained). PROFINET runs on industrial Ethernet, with IO controllers and IO devices identified by device name and configured from GSDML files.
21. Compare Modbus RTU and Modbus TCP. RTU runs on serial lines, usually RS-485, with a CRC check and one master. TCP runs over Ethernet on port 502. Both use function codes such as 03 to read holding registers and 06 or 16 to write them. Register numbering is often off by one between documents, so check the device manual. The Modbus Organization publishes the specification free.
22. What is OPC UA? A platform-independent standard (IEC 62541) for exchanging industrial data with an information model and built-in security. It connects PLCs to SCADA, MES and IT systems.
23. What is EtherNet/IP? The Common Industrial Protocol over standard Ethernet, managed by ODVA and used widely with Rockwell controllers. Implicit messaging carries cyclic I/O; explicit messaging carries requests such as reading a parameter.
Fault-finding
24. A machine has stopped. How do you find the fault? Talk to the operator, read the HMI alarms and the PLC diagnostic buffer, then go online to the rung that should energise the stopped output and trace back to the false condition. Check the input LED, then the wiring and the field device.
25. When would you force an I/O point? Only to test, with permission, following the site's procedure, with the machine in a safe state, and with the force logged and removed afterwards. Never force to bypass a safety function.
26. What happens if the scan time exceeds the watchdog? The CPU treats it as a fault and goes to stop unless the program handles the error. Causes include large loops, heavy communication and logic that runs every scan when it need not.
Safety
27. How is a safety PLC different from a standard PLC? It is certified for safety functions, with redundant processing, self-diagnostics and dedicated safety I/O, and runs a separate, protected safety program. A standard PLC alone cannot implement a safety function.
28. What is SIL? Safety Integrity Level, 1 to 4, from IEC 61508 and IEC 61511. It sets how much risk reduction a safety function must provide, and is chosen by risk assessment. Machinery often uses Performance Levels a to e from ISO 13849-1 instead.
About you
29. How do you manage changes to a running program? Back up before any change, use online edits only where the platform and site allow, compare versions, test, and archive with a note of what changed and why.
30. Tell me about a project you built. Describe the machine, your I/O list, the sequence, one problem you hit and how you found it, and what you would change. Keep it to two minutes.
Prepare with free courses
Siemens TIA Portal covers most of the basics and programming questions, Industrial Communication covers the network questions, PID Control for PLC Engineers covers analog loops and tuning, and Siemens Safety Integrated covers safety PLCs. Bring your capstone project to the interview; Are Free PLC Certificates Worth It? explains why. A free account saves your progress.
The courses are free in full. The optional EDWartens Certificate of Completion is a small one-off fee, US$8.99 for a beginner course. Anyone can check it at edwartens.com/verification. It is not a vendor certification or an accredited qualification.
Take the free course
FreePLC programming · Beginner · Free
Siemens TIA Portal
FreeIndustrial networks · Intermediate · Free
Industrial Communication: Serial, Fieldbus, Ethernet, Modbus, PROFINET and OPC UA
FreeProcess control · Intermediate · Free
PID Control for PLC Engineers
FreeSafety · Intermediate · Free
Siemens Safety Integrated: S7-1500F and S7-1200F in TIA Portal
Questions
What PLC questions are asked in entry-level interviews?
Mostly fundamentals: the scan cycle, NO and NC contacts, timers and counters, sinking and sourcing I/O, analog scaling, and a simple rung such as start-stop. Expect to explain a project too.
Will I be asked to write code in a PLC interview?
Often. Many interviews include a short practical task: drawing a rung on paper, completing a sequence, or finding a fault in a printed program.
How should I answer a question I do not know?
Say what you do know, how you would find the rest (the manual, the diagnostic buffer, a colleague), and do not guess. Interviewers value an honest method over a confident wrong answer.
Are interview questions different for Siemens and Allen-Bradley roles?
The concepts are the same, but the names differ: OB and FB in Siemens, tasks, routines and AOIs in Rockwell. Learn the vocabulary of the platform the employer uses.
Sources
- IEC: IEC 61131-3:2025, Programmable controllers, Part 3: Programming languages
- NAMUR: current recommendations and worksheets (NE 43)
- Modbus Organization: specifications
- ODVA: EtherNet/IP
Written by the EDWartens engineering team for general education. Product names are trademarks of their owners; mentioning them does not imply endorsement. Prices and terms of other providers were checked on the date shown and can change.

ATS-Friendly CV for Automation, PLC and Controls Engineers: Keywords, Bullets and Mistakes

How to Become a SCADA Engineer: Skills, Tools and a Free Path

How to Become a Commissioning Engineer in Automation: Skills, Site Work and a First-Year Plan

PLC Programmer Salary by Country (2026): A Free Salary Estimator

How to Build an Engineering Portfolio From Course Projects (Automation and Controls)

PLC Training in the UK: Apprenticeships, Vendor Courses and What 'Accredited' Means