This is what Im trying to do?
Summary:
When any door or (doors) are open too long, then disable Air Condition unit.
I have the following (4) devices
Door1 (door sensor)
Door2 (door sensor)
Door3 (door sensor)
Relay1 (relay with dry contact, to disable AC)
Emxample:
If Door1 is open for greater than 15min, then energize Relay1,
While Relay1 is energized, Door2 or Door3 are allowed to open and/or close will NOT de-energize Relay1
If Door1 closes AND stays closed for 15s, then De-Energize Relay1,
If Door2 is open for greater than 15min, then energize Relay1,
While Relay1 is energized, Door1 or Door3 are allowed to open and/or closed will NOT de-energize Relay1
If Door2 closes AND stays closed for 15s, then De-Energize Relay1
If Door3 is open for greater than 15min, then energize Relay1,
While Relay1 is energized, Door1 or Door2 are alowed to open and/or closed will NOT de-energize Relay1
If Door3 closes AND stays closed for 15s, then De-Energize Relay1
Now for the challenge
While Relay1 is energize and second and/or third door is open AND its timer is greater than 10min, which ever door that energized Relay1 needs to be overridden by the last door opened keeping Relay1 energized.
Example, If Door1 is opened at 9:00, then Door2 is opened at 9:01, then Door3 is opened at 9:02, then Door1 is closed at 9:30, Door2 closed at 10:00, and Door3 closed at 11:00
Relay1 would Energize at 9:15 when door1 timer expires and Relay1 would De-Energize at 11:15 when Door3 closed at 11:00 and its 15s timer expires @ 11:15
The goal is not to allow any door to short cycle Relay1
I know how to do this in a PLC with Ladder logic, but im new to the RM, and clueless