Move dos add/remove slider from auto/tbl to off?

@A_Blind_Reefer
Can you check the statement again? V_NSW_FILLED never turns on and send alert. Dos add and remove never go from tbl to off either. Doorbell does work by turning V_NSW_RESET from on to off.

V_NSW_LO
Set OFF
If MXBNLO OPEN Then ON
Defer 001:00 Then ON

V_NSW_HI
Set OFF
If MXBNHI CLOSED Then ON
Defer 001:00 Then ON

V_NSW_FILL
Fallback OFF
If Output V_NSW_LO = ON Then ON
If Output V_NSW_HI = ON Then OFF

V_NSW_FILLED
Set ON
If Output V_NSW_RESET = OFF Then OFF
If Output V_NSW_HI = OFF Then OFF

V_NSW_RESET
Fallback OFF
If Output V_NSW_FILL = ON Then ON
If Sw1 CLOSED Then OFF

RODI_NOID
Fallback OFF
Set OFF
If Output V_NSW_FILL = ON Then ON
If ATO_LO OPEN Then ON
If ATO_HI CLOSED Then OFF

DOS_ADD
If Output V_NSW_RESET = ON Then OFF

DOS_REM
If Output V_NSW_RESET = ON Then OFF

EmailAlm_I5
Set OFF
If Output V_NSW_FILLED = ON Then ON
If SMP_LK CLOSED Then ON
If SMP_LO OPEN Then ON
If ATO_LK CLOSED Then ON
If ATO_2 CLOSED Then ON
If v_nsw_reset doesn’t trip then the dos will not switch to off. V_nsw_reset must turn on to trip the dos statement. The statements look correct to me. Is v_nsw_reset set to auto? Specifically, set to auto before or while v_nsw_fill is active and running. Each event in each statement must work in the exact order as written to trip the next statement. If you skip a step then the next statement will not activate. So, if the bin is already full and then you set v_nsw_reset to auto, absolutely nothing will happen until you start the cycle over again by emptying the bin and tripping v_nsw_lo. If v_nsw_fill is working and turns on when the bin is low, then v_nsw_reset should work as it’s written above. Except if it’s not set to auto, or sw1 is closed. V_nsw_reset will not clear by switching the outlet to off. It will only clear after sw1 is closed. Hope that helps
 
If v_nsw_reset doesn’t trip then the dos will not switch to off. V_nsw_reset must turn on to trip the dos statement. The statements look correct to me. Is v_nsw_reset set to auto? Specifically, set to auto before or while v_nsw_fill is active and running. Each event in each statement must work in the exact order as written to trip the next statement. If you skip a step then the next statement will not activate. So, if the bin is already full and then you set v_nsw_reset to auto, absolutely nothing will happen until you start the cycle over again by emptying the bin and tripping v_nsw_lo. If v_nsw_fill is working and turns on when the bin is low, then v_nsw_reset should work as it’s written above. Except if it’s not set to auto, or sw1 is closed. V_nsw_reset will not clear by switching the outlet to off. It will only clear after sw1 is closed. Hope that helps
when you create virtual outlets do they have to stay in the order created?
 
If v_nsw_reset doesn’t trip then the dos will not switch to off. V_nsw_reset must turn on to trip the dos statement. The statements look correct to me. Is v_nsw_reset set to auto? Specifically, set to auto before or while v_nsw_fill is active and running. Each event in each statement must work in the exact order as written to trip the next statement. If you skip a step then the next statement will not activate. So, if the bin is already full and then you set v_nsw_reset to auto, absolutely nothing will happen until you start the cycle over again by emptying the bin and tripping v_nsw_lo. If v_nsw_fill is working and turns on when the bin is low, then v_nsw_reset should work as it’s written above. Except if it’s not set to auto, or sw1 is closed. V_nsw_reset will not clear by switching the outlet to off. It will only clear after sw1 is closed. Hope that helps
v_NSW_RESET does trip. something has to be wrong . i thought it would be in the V_NSW_FILLED line. i never get the alert. in test mode its works up until V_NSW_FILLED. it nevers turns on and V_NSW_HI turns back on
 
v_NSW_RESET does trip. something has to be wrong . i thought it would be in the V_NSW_FILLED line. i never get the alert. in test mode its works up until V_NSW_FILLED. it nevers turns on and V_NSW_HI turns back on
could it have anything to do with v_NSW_Filled being set on? both statements are then off, could that be it? doesnt one of those statements have to be true?
 
If v_nsw_reset doesn’t trip then the dos will not switch to off. V_nsw_reset must turn on to trip the dos statement. The statements look correct to me. Is v_nsw_reset set to auto? Specifically, set to auto before or while v_nsw_fill is active and running. Each event in each statement must work in the exact order as written to trip the next statement. If you skip a step then the next statement will not activate. So, if the bin is already full and then you set v_nsw_reset to auto, absolutely nothing will happen until you start the cycle over again by emptying the bin and tripping v_nsw_lo. If v_nsw_fill is working and turns on when the bin is low, then v_nsw_reset should work as it’s written above. Except if it’s not set to auto, or sw1 is closed. V_nsw_reset will not clear by switching the outlet to off. It will only clear after sw1 is closed. Hope that helps
i changed v_nsw_filled to

set on
if output v_nsw_reset = off then off
if output v_nsw_hi = on then on

V_nsw_filled now comes on but when i hit the doorbell it only makes v_nsw_rest go from on back to auto. it doesnt reset the v_nsw_filled or remove the filled alert. the dos add and remove still doesnt go from tbl to off

the only thing that clears the alert and reset v_nsw_filled is by removing water from mxbnhi sensor
 
Last edited:
i changed v_nsw_filled to

set on
if output v_nsw_reset = off then offthe
if output v_nsw_hi = on then on

V_nsw_filled now comes on but when i hit the doorbell it only makes v_nsw_rest go from on back to auto. it doesnt reset the v_nsw_filled or remove the filled alert. the dos add and remove still doesnt go from tbl to off

the only thing that clears the alert and reset v_nsw_filled is by removing water from mxbnhi sensor
there was an extra virtual outlet in the tile bar with the same name; after deleting the extra one the dos now moves from tbl to off. i still need the v_nsw_filled alert to go off when reset
 
i changed v_nsw_filled to

set on
if output v_nsw_reset = off then off
if output v_nsw_hi = on then on

V_nsw_filled now comes on but when i hit the doorbell it only makes v_nsw_rest go from on back to auto. it doesnt reset the v_nsw_filled or remove the filled alert. the dos add and remove still doesnt go from tbl to off

the only thing that clears the alert and reset v_nsw_filled is by removing water from mxbnhi sensor
The statements were correct as is. Your change will not work. Put it back and try it now that you deleted the duplicate virtual outlet you found. The outlet works backwards from how you’re looking at it. Set on is always on, it has to be this way for it to work in this scenario. Reset comes on when the bin is low and starts to fill and stays on until the salt is mixed and you press the doorbell. You press the doorbell long after the high level tripped. So, going in order, set on=v_nsw_filled=on, unless v_nsw_reset is turned off by you pressing the doorbell at which it will remain off as long as v_nsw_reset stays off, up until your high level sensor trips the v_nsw_hi which then turns v_nsw_filled back on. In my previous response I mentioned that you can not reset the virtual reset outlet by switching it from auto to off, you have to press the doorbell to complete the statement. Otherwise when you switch it back from off to auto, it will go right back into v_nsw_reset=on as the condition in the statement never became true.
 
v_NSW_RESET does trip. something has to be wrong . i thought it would be in the V_NSW_FILLED line. i never get the alert. in test mode its works up until V_NSW_FILLED. it nevers turns on and V_NSW_HI turns back on
If v_nsw_filled never trips on then you will never get the alert. The v_nsw_filled outlet must trip for the alert statement to activate the alert
 
The statements were correct as is. Your change will not work. Put it back and try it now that you deleted the duplicate virtual outlet you found. The outlet works backwards from how you’re looking at it. Set on is always on, it has to be this way for it to work in this scenario. Reset comes on when the bin is low and starts to fill and stays on until the salt is mixed and you press the doorbell. You press the doorbell long after the high level tripped. So, going in order, set on=v_nsw_filled=on, unless v_nsw_reset is turned off by you pressing the doorbell at which it will remain off as long as v_nsw_reset stays off, up until your high level sensor trips the v_nsw_hi which then turns v_nsw_filled back on. In my previous response I mentioned that you can not reset the virtual reset outlet by switching it from auto to off, you have to press the doorbell to complete the statement. Otherwise when you switch it back from off to auto, it will go right back into v_nsw_reset=on as the condition in the statement never became true.
i am using the doorbell
 
The statements were correct as is. Your change will not work. Put it back and try it now that you deleted the duplicate virtual outlet you found. The outlet works backwards from how you’re looking at it. Set on is always on, it has to be this way for it to work in this scenario. Reset comes on when the bin is low and starts to fill and stays on until the salt is mixed and you press the doorbell. You press the doorbell long after the high level tripped. So, going in order, set on=v_nsw_filled=on, unless v_nsw_reset is turned off by you pressing the doorbell at which it will remain off as long as v_nsw_reset stays off, up until your high level sensor trips the v_nsw_hi which then turns v_nsw_filled back on. In my previous response I mentioned that you can not reset the virtual reset outlet by switching it from auto to off, you have to press the doorbell to complete the statement. Otherwise when you switch it back from off to auto, it will go right back into v_nsw_reset=on as the condition in the statement never became true.
i switched the filled statement back to the original. i believe it may be working now. i just pressed the doorbell and reset went from on to off, the alert went off and filled went from on to off and the dos add and remove worked also
 
i switched the filled statement back to the original. i believe it may be working now. i just pressed the doorbell and reset went from on to off, the alert went off and filled went from on to off and the dos add and remove worked also
let me test it one more time to make sure
 
If v_nsw_filled never trips on then you will never get the alert. The v_nsw_filled outlet must trip for the alert statement to activate the alert
the statements are working ive tested it twice now. the doorbell does reset the filled alert now. the dos does what it should also.
 
@A_Blind_Reefer i just want to say thanks for your help. i think ill stay away from programming for awhile. virtual outlets have me pulling hair out
so when virtual outlets run the first time it goes down the list in order and when the doorbell is hit it starts at the bottom and work back up?
 
so when virtual outlets run the first time it goes down the list in order and when the doorbell is hit it starts at the bottom and work back up?
Exactly. Everything has to go in order for everything to fall into place. Now that you’re up and running it will be smooth sailing
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top