Draw a PLC ladder diagram for the situation described in Exercise 3.
Exercise 3
A small house has three windows and two doors. Each window and door has a switch attached such that the contacts close when a door or window opens. Draw a ladder logic diagram that will turn on a light if one or more windows are open or if both doors are open.