Programmable logic controllers (PLCs) continuously monitor input devices and use a custom program to control output devices. PLCs offer easier modification and maintenance than traditional controls. They can withstand harsh environments. There are three main types of PLC construction: compact PLCs, modular PLCs, and PLC plug-in cards. PLC hardware design centers around a processor that includes a CPU, memory, I/O units, and buses to connect them. The CPU controls operations while memory stores programs and device states. Input units connect to sensors and switches while output units control actuators like motors and valves.