Light ON OFF Control using PLC

We most often come across light ON OFF control; single switch with multiple conditions using programmable logic control (PLC) is