1. If alarm is on, check sensors.
2. If window/door sensor is broken (turns off), sound alarm and turn on lights.
3. If motion sensor goes on (detects thief), sound alarm and turn on lights.
A = Alarm and lights switch (1 = on)
W = Window/Door sensor (1 = OK)
M = Motion Sensor (0 = OK)
S = Alarm Active switch (1 = on)