Trying to find a program in order to switch off the multiplus 10 minutes after a Grid Failure :
- I managed to do it with my attached “initial program” : the Multiplus switches OFF 10 minutes after a Grid Lost alarm appears → GREAT !
BUT I need to take into account the following scenario : in case the Grid Lost alarm dissapears before the Timer ends (AC In recovery within less than 10 minutes), I do not want the Multiplus to switch OFF at the end of the Timer !
- So I imagined the attached program n°2 :
- When Grid Lost Alarm is not active, I send an “ON” command to the Multiplus every 5 seconds.
- When Grid Lost Alarm is active, I send a delayed “OFF” command to the Multiplus (only one, node configured as “only changes”)
→ In case of a Grid failure lasting less than 10 minutes, only one “switch off” command will be sent to the Multiplus, and “switch on” commands will be sent every 5 seconds (so that the Multi does not switch off for more than 5 seconds).
Explanation of the problem :
-
When I test the program only with the debug function (disactivating the Switch Position) output : everything works fine.
I can see the Grid Lost Alarm appear on the Node-Red, on the Dashboard, and I can hear the BIP of the Cerbo that means that an alarm is ON. -
BUT when I test the program completely (activating the Switch position output on the Node-Red program), the system does not detect the Grid Lost Alarm anymore !
I can see on the Dashboard that the grid is lost, the Multiplus is inverting, but no alarm detected (and no BIP coming out of the Cerbo).
I guess the fact that the Multiplus receives “switch on” commands every 5 seconds prevents it from being able to send the Grid Lost Alarm (but I am note sure about that).
Can someone help me solve this problem ?
Is there a more elegant way to program this function ?
Thanks !!