#1 How does a PLC work?