PLC-Based Lamp and Motor Control System Using Trilogi