This object is in archive! 

Open and close a roller shutter with panic button using if-else

Dami shared this question 11 years ago
Need Answer

Hello World ! I've some troubles using the if-else operator lately, there's the algo :


  1. While : Panic Button -> button hold
  2. | If : Roller Shutter -> Off
  3. | | Action : Roller Shutter -> On // 100%
  4. | Else
  5. | | Action : Roller Shutter -> Off // 0%
  6. | EndIf
  7. EndWhile


It doesn't work, it only opens the roller Shutter when it's close, but doesn't close it when it's open...

Leave a Comment
 
Attach a file