Concept Flow - What is a PLC
Start
Input Signals
PLC CPU Processes
Logic Execution
Output Signals
Control Machines
End
A PLC takes input signals, processes logic in its CPU, and sends output signals to control machines.
INPUT: Sensor ON PROCESS: CPU runs logic OUTPUT: Motor ON
| Step | Input Signal | CPU Action | Output Signal | Effect |
|---|---|---|---|---|
| 1 | Sensor OFF | Wait for input | Motor OFF | Machine idle |
| 2 | Sensor ON | Run logic: if sensor ON then motor ON | Motor ON | Machine starts |
| 3 | Sensor ON | Maintain motor ON | Motor ON | Machine running |
| 4 | Sensor OFF | Run logic: if sensor OFF then motor OFF | Motor OFF | Machine stops |
| Variable | Start | After Step 1 | After Step 2 | After Step 3 | After Step 4 |
|---|---|---|---|---|---|
| Sensor | OFF | OFF | ON | ON | OFF |
| Motor | OFF | OFF | ON | ON | OFF |
| CPU State | Idle | Idle | Processing | Processing | Idle |
PLC (Programmable Logic Controller): - Reads input signals from sensors - Processes logic in CPU continuously - Sends output signals to control machines - Runs cycles repeatedly to monitor and control - Used in automation for reliable machine control
IF input1 = ON THEN output1 = ON ELSE output1 = OFFinput1 is OFF?IF input1 = ON THEN output1 = ON ELSE output1 = ON
start_button is pressed and safety_sensor is active. Which logic correctly represents this?Pass the test and this pattern moves unknown