You are on page 1of 2

START

Iesire
0
-> PORTA

Intarziere
1s

Bucla.
Un timp
1

Punct de legatura
[B]: B

Cheama Macro-ul compone...


SWITCH(0)
ARMAT=Senzor()

Cheama Macro-ul compone...


SWITCH(2)
RESET=Senzor()

Decizie
daca RESET = 1 ?
Da
Nu
Decizie

Cheama Macro
Cheama Macro
RESET()

daca ARMAT = 1 ?
Da
Nu
Cheama Macro
Cheama Macro
DEZARMAT()

Bucla.
Un timp
1

Cheama Macro
Cheama Macro
ARMAT()

Punct de legatura
[A]: A

SFARSIT

You might also like