I am trying to design the ladder logic for an energy saving system with the following characteristics...
Whenever a person enters the room, they pass by sensor (IN_1), and light (OUT_1) in the lobby are turned on for 2 minutes, and then turn off automatically.
If a person exits, they pass...