1.A small sample of the flexibility of PLCs is shown in thefollowing program logic. By reprogramming the T37 contact asa normally closed contact, the function of the circuit…