PLC Quiz
GIFSQ ID: ART-1961
Test your knowledge with this free 20-question PLC quiz from Food Industry Automation & Instrumentation, part of…
What this quiz covers
A PLC, a Programmable Logic Controller, is best described as an industrial computer that controls machinery through programmed logic and I/O, rugged and deterministic, built for the plant floor, and this quiz tests the whole machine: its cycle, its languages, its inputs and outputs, and its safety duties. A PLC scan cycle reads inputs, executes the program, updates outputs, then does housekeeping, over and over. Digital inputs accept ON/OFF signals such as switches, pushbuttons and photoeyes, while analog inputs commonly use 4-20 mA current loops or 0-10 V signals, the live-zero current loop giving noise immunity and broken-wire detection. I/O modules interface field devices to the CPU, with types for digital, analog and specialty signals. Timers, such as TON, delay actions, like keeping a conveyor running after a sensor clears, and counters track events like bottles filled for batch control and production counts. A watchdog timer protects against program crashes or infinite loops by resetting the CPU if the scan stalls.
The second half of the quiz covers programming languages and the safety rules that surround them. Ladder logic resembles electrical relay schematics, rungs, contacts and coils, because it was designed for electricians to read. Function Block Diagram suits process control loops and reusable logic blocks, and Structured Text is a high-level text language similar to Pascal for complex logic and calculations. A latch, or seal-in, circuit keeps an output on after a momentary start signal until a stop condition. An HMI connected to a PLC provides the operator interface, graphics, alarms and setpoint entry. Emergency stop circuits should be hardwired independent of the PLC program, because the E-stop must work even if the PLC has crashed or is mid-scan. A fail-safe output design means outputs de-energise to a safe state on power or CPU failure. PLC redundancy, hot standby, is used where downtime is unacceptable, such as continuous critical processes, with a second PLC shadowing the first and taking over instantly. Version control matters because unauthorised edits can compromise food safety interlocks, so changes need documentation and testing. In food plants, PLCs controlling allergen changeovers must guarantee validated cleaning sequences complete before the next product runs, and remote access for support should be secured via VPN with authentication and logging. The main difference from a DCS: PLCs suit discrete machine control while DCS suits large continuous processes with integrated advanced control.
One idea runs through the set: the PLC is the plant’s nervous system, and safety must never depend on software alone
Logic controls the line, but the E-stop, the fail-safe state and the cleaning interlock are what keep people and product safe when the logic fails.
How to use this quiz
Take the quiz cold first, then read the explanations below the player. Each answer gives the reason behind the key, with the scan cycle, the languages and the safety rules an automation student is expected to know by heart.
Choose how you want to play
A short note: programmable logic controllers (PLCs) in food plants
A programmable logic controller, or PLC, is an industrial computer running machinery through programmed logic and input and output signals. Rugged and deterministic, it is built for the plant floor and suits discrete machine control; a distributed control system fits large continuous processes that need integrated advanced control.
Each PLC scan cycle reads inputs, runs the program, refreshes outputs, then does housekeeping, over and over. Ladder logic looks like electrical relay drawings, with rungs, contacts and coils, because electricians were meant to read it. Digital inputs accept on and off signals such as switches, pushbuttons and photoeyes, while analog inputs commonly use 4 to 20 mA current loops or 0 to 10 V signals.
A latch, or seal-in, circuit holds an output on once a momentary start signal comes in, until a stop condition arrives. A watchdog timer resets the CPU if the scan stalls, protecting against program crashes or infinite loops.
Wire emergency stop circuits hard, independent of the PLC program, so the stop works even with the PLC crashed or mid-scan. Fail-safe output design means outputs drop to a safe state when power or the CPU fails.
For allergen changeovers, the PLC must guarantee validated cleaning sequences finish before the next product runs. Version control matters: unauthorized edits can compromise food safety interlocks, so changes need documentation and testing.
Keep safety hardwired and interlocks version-controlled: software must never be the only barrier.
Questions and answers
Note: the player shuffles the questions and the answer options on every attempt, so the numbers in the player will not match the numbers in the questions and answers below. Match each answer by its wording.
Question 1: In PLC programming, a 'latch' (seal-in) circuit is used to:
Correct answer: Keep an output on after a momentary start signal until a stop condition
A latch (seal-in) circuit keeps an output on after a momentary start signal until a stop condition : press start once, the contact seals itself in, stop breaks the seal. It is logic, not an enclosure seal or encryption.
Question 2: A PLC scan cycle consists of:
Correct answer: Reading inputs, executing the program, updating outputs, then housekeeping
A PLC scan cycle reads inputs, executes the program, updates outputs, then does housekeeping : over and over, deterministically. Printing reports and booting are not in the cycle.
Question 3: PLC redundancy (hot standby) is used where:
Correct answer: Downtime is unacceptable, e.g., continuous critical processes
PLC redundancy (hot standby) is used where downtime is unacceptable, e.g., continuous critical processes : a second PLC shadows the first and takes over instantly. Where cost is key, redundancy is the first thing cut.
Question 4: Ladder logic programming resembles:
Correct answer: Electrical relay schematics with rungs, contacts, and coils
Ladder logic resembles electrical relay schematics : rungs, contacts and coils : because it was designed for electricians to read. That familiarity is the whole reason the language exists.
Question 5: A 'fail-safe' PLC output design means:
Correct answer: Outputs de-energize to a safe state on power or CPU failure
A fail-safe PLC output design means outputs de-energize to a safe state on power or CPU failure : the machine stops safe, not stuck on. 'Never fails' is not a design philosophy anyone can deliver.
Question 6: A PLC (Programmable Logic Controller) is best described as:
Correct answer: An industrial computer that controls machinery through programmed logic and I/O
A PLC is best described as an industrial computer that controls machinery through programmed logic and I/O : rugged, deterministic, built for the plant floor. It is not a motor, a sensor or a home computer.
Question 7: Digital inputs to a PLC accept:
Correct answer: ON/OFF signals such as from switches, pushbuttons, and photoeyes
Digital inputs to a PLC accept ON/OFF signals : switches, pushbuttons, photoeyes. Continuous signals like 4-20 mA go to analog inputs, not digital ones.
Question 8: Counters in PLC programs typically:
Correct answer: Track events like bottles filled for batch control and production counts
Counters in PLC programs track events like bottles filled : for batch control and production counts. They count events, not money, temperature or weight.
Question 9: In food plants, what must PLCs controlling allergen changeovers guarantee?
Correct answer: Validated cleaning sequences complete before the next product runs
PLCs controlling allergen changeovers in food plants must guarantee validated cleaning sequences complete before the next product runs : the interlock proves the clean happened. Low cost and speed are not guarantees.
Question 10: Remote access to food plant PLCs for support should be:
Correct answer: Secured via VPN with authentication and logging
Remote access to food plant PLCs for support should be secured via VPN with authentication and logging : controlled, visible, auditable. Open to the internet or public WiFi is an invitation to an incident.
Question 11: I/O modules in a PLC rack:
Correct answer: Interface field devices to the CPU, with types for digital, analog, and specialty signals
I/O modules in a PLC rack interface field devices to the CPU : with types for digital, analog and specialty signals. They are the hands and eyes of the PLC, not decoration or power supplies.
Question 12: Function Block Diagram (FBD) programming is well suited for:
Correct answer: Process control loops and reusable logic blocks
Function Block Diagram (FBD) programming suits process control loops and reusable logic blocks : drag-and-drop blocks for PID and logic that gets reused. Not accounting or wiring diagrams.
Question 13: Structured Text (ST) PLC language is:
Correct answer: A high-level text language similar to Pascal for complex logic and calculations
Structured Text (ST) is a high-level text language similar to Pascal : for complex logic and calculations that are awkward in ladder. It is a programming language, not a drawing tool or sensor.
Question 14: Emergency stop circuits should:
Correct answer: Be hardwired independent of the PLC program
Emergency stop circuits should be hardwired independent of the PLC program : the E-stop must work even if the PLC is crashed or mid-scan. Running it through software only is a safety violation.
Question 15: An HMI connected to a PLC provides:
Correct answer: Operator interface with graphics, alarms, and setpoint entry
An HMI connected to a PLC provides the operator interface : graphics, alarms and setpoint entry. It does not cool anything, add I/O or supply power.
Question 16: Timers in PLCs (e.g., TON) are used for:
Correct answer: Delaying actions, such as keeping a conveyor running after a sensor clears
Timers in PLCs (e.g., TON) delay actions : like keeping a conveyor running after a sensor clears. They time logic, not shifts or product dates.
Question 17: Version control of PLC programs matters because:
Correct answer: Unauthorized edits can compromise food safety interlocks; changes need documentation and testing
Version control of PLC programs matters because unauthorized edits can compromise food safety interlocks : changes need documentation and testing. It is change control for safety, not disk space.
Question 18: Analog PLC inputs commonly use:
Correct answer: 4-20 mA current loops or 0-10 V signals
Analog PLC inputs commonly use 4-20 mA current loops or 0-10 V signals : the industrial standards, live-zero current loop for noise immunity and broken-wire detection. Not 240 VAC.
Question 19: A PLC watchdog timer protects against:
Correct answer: Program crashes or infinite loops by resetting the CPU if the scan stalls
A PLC watchdog timer protects against program crashes or infinite loops : it resets the CPU if the scan stalls. Dust, dogs and power surges are not what it's watching.
Question 20: The main difference between a PLC and a DCS is:
Correct answer: PLCs suit discrete machine control while DCS suits large continuous processes with integrated advanced control
The main difference: PLCs suit discrete machine control, while DCS suits large continuous processes with integrated advanced control : different architectures for different plant types. Not price, brand or colour.