Jump to content

Abort timing routine


prak7121

Recommended Posts

Posted

I have two separate IO Lincs that have limit switches connected to Sensor inputs.

If either of the limit switches are closed (on), the IO Linc sends a signal to the to the ISY which in turn sends a signal to one of the outputs on an EZIO2x4 and closes the contacts to start a fan.

If both limit switches return to an open state (off), the ISY is programmed to open the contacts on the EZIO after a 3 minute delay. In other words, the fan runs for an additional 3 minutes after the limit switches are opened.

 

The question I have, if either limit switch is re-closed within the 3 minute time delay, does the ISY still send a signal to the output on the EZIO to open its contacts and result in the fan turning off? Do I need to create a subroutine that aborts the 3 minute delay to ensure the fan continues running if either of the limit switches are closed during the 3 minute delay?

 

Here is the current routine that we have:

 

If

Status 'P23-Sensor' is Off

And Status 'P22-Sensor' is Off

 

Then

Wait 3 minutes

Set 'VeriCONTROL' Off

Set 'VeriCONTROL - 2' On

Send Notification to 'fansetback' content 'fanmotoroff'

 

Else

Set 'VeriCONTROL' On

Set 'VeriCONTROL - 2' Off

Posted

The way I understand that this would work is that if the "status" of your two sensors would change during the three-minute wait period, the program would trigger an evaluation, halt execution of the wait period, and start fresh down a new path, based upon results of the evaluation.

 

Wow! I think I just created a 100-word sentence to say "no".

Guest
This topic is now closed to further replies.

×
×
  • Create New...