PLC Hardware: PC Brain vs PLC Brain
Nov 18, 2026
PLC hardware explained: why a PLC runs on a microcontroller with permanent memory on the chip, while a PC runs on a microprocessor with cache.
ā” QUICK ANSWER
The difference between a PLC and a computer starts at the silicon, not the software. Both chips carry a command and control unit and an arithmetic logic unit, and from there they diverge completely. A microprocessor is built for flexibility, so it surrounds those cores with layers of cache, fast volatile memory sitting between the processor and RAM that the chip manages for itself, which is what lets a PC juggle an operating system and a dozen applications at once. A microcontroller is built for one job done reliably, so instead of cache it carries permanent program memory on the same die as the cores. Your control program lives there, and that single architectural choice is what makes one chip good at running Photoshop and the other good at running a machine. The permanent memory itself has a lineage worth knowing, from one time programmable PROM, through EPROM with its quartz window and half an hour under ultraviolet light, to EEPROM erased electrically in milliseconds, to the Flash in every modern controller.
š FULL STEP-BY-STEP + DOWNLOADS (diagrams, further reading)
https://accautomation.ca/plc-hardware-pc-brain-vs-plc-brain/
ā±ļø TIMESTAMPS
0:00 Introduction: What Makes a PLC Different?
0:30 Microprocessor Versus Microcontroller
1:04 Where the Word Micro Came From
1:39 Inside the Chip: CCU, ALU and the FPU
2:09 Cache Memory and How It Evolved
3:21 The Microcontroller's Permanent Memory
4:12 PROM and EPROM: One Shot Chips and UV Light
4:58 EEPROM and Flash
6:02 Why It Is Called Read-Only Memory
6:44 Recap: Cache Versus Permanent Memory
š WHAT YOU'LL LEARN
ā
Tell a microprocessor from a microcontroller by what sits beside the cores: layers of cache in one, permanent program memory in the other
ā
Follow the cache hierarchy from the 386's motherboard chips to level one on the die in the 486, and the three levels in a modern processor
ā
Understand where your control program physically lives once you transfer it, whether the target is a PLC or an Arduino
ā
Place PROM, EPROM, EEPROM and Flash in order, and know why each one replaced the last
ā
Explain why memory you can write to is still called read-only, which comes down to how often it is read against how often it is written
ā FREQUENTLY ASKED
Q: What is the difference between a microprocessor and a microcontroller?
A: A microprocessor is built for general computing and uses cache to move data quickly between the cores and RAM. A microcontroller has permanent program memory on the same die as the cores, so it runs one dedicated program reliably with very few resources.
Q: Why is a PLC not just a small computer?
A: Because the chip at its heart is designed for a different job. A PC's processor is optimised to switch between many tasks, while a controller's chip is optimised to execute one stored program the same way every time, which is what industrial control needs.
Q: What is the difference between EPROM and EEPROM?
A: EPROM is erased by ultraviolet light through a quartz window, which means pulling the chip out of the circuit and leaving it under a lamp for around half an hour. EEPROM is erased electrically in milliseconds, in circuit, and byte by byte.
Q: Why is it called read-only memory if you can write to it?
A: Because of the ratio. Almost everything that happens to that memory in normal operation is a read, and writes are rare by comparison, so the name describes how it is used rather than what it is physically capable of.
š Full write-up with the diagrams: https://accautomation.ca/plc-hardware-pc-brain-vs-plc-brain/
š MORE RESOURCES
ā¶ PLC Beginners Guide, the place to start: https://accautomation.ca/programming/plc-beginners-guide/
ā¶ Understanding the PLC program scan: https://accautomation.ca/understanding-the-plc-program-scan/
ā¶ Series: https://accautomation.ca/series/
ā¶ Free eBooks: https://accautomation.ca (subscribe for download)
š RECOMMENDED HARDWARE
ā¶ Shop: https://www.automationdirect.com/
ā¶ Parts Guide: https://www.accautomation.ca/purchase-find-parts/
š¬ Questions? Drop a comment below.
š New tutorials every Monday ā Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #PLCHardware #Microcontroller #LearnPLC #PLCTutorial
Regards,
Garry
ACC Automation
http://www.accautomation.ca
Show More Show Less 
