1. basic PLC operation