1. 2. A programmable logic controller (PLC) is a solid- state device designed to perform logic functions previously accomplished by electromechanical relays.The PLC is an…