~ SDL diagram update
This commit is contained in:
parent
d795038445
commit
05ce7df364
23
diagram.puml
23
diagram.puml
@ -1,15 +1,16 @@
|
||||
@startuml
|
||||
!include https://raw.githubusercontent.com/bharatrajagopalan/plantuml-styles/master/activity_skin.pu
|
||||
|
||||
partition Drehteller {
|
||||
|
||||
start
|
||||
|
||||
:Drehteller ausschalten;
|
||||
while(true) is (true)
|
||||
while(Dauerschleife) is (true)
|
||||
if(Sensor aktiv ?) then (true)
|
||||
:drehen an;
|
||||
:Drehteller anschalten;
|
||||
else (false)
|
||||
:drehen aus;
|
||||
:Drehteller ausschalten;
|
||||
endif
|
||||
|
||||
endwhile (false)
|
||||
@ -47,19 +48,16 @@ while(Dauerschleife) is (true)
|
||||
if(Werkstück vorhanden?) then(true)
|
||||
:Bohrer<
|
||||
:Auswerfer>
|
||||
if(Normallage) then(true)
|
||||
if(Teil in Normallage) then(true)
|
||||
:Werkstück festhalten;
|
||||
:Bohrer anschalten;
|
||||
:Bohrer herunterfahren;
|
||||
if(Bohrer unten) then (true)
|
||||
:sleepStuff 500ms;
|
||||
:sleep 500ms;
|
||||
:Bohrer hochfahren;
|
||||
endif
|
||||
|
||||
if(Bohrer oben) then (true)
|
||||
:Bohrer ausschalten;
|
||||
:Werkstück loslassen;
|
||||
endif
|
||||
|
||||
:Bohrer ausschalten;
|
||||
:Werkstück loslassen;
|
||||
else(false)
|
||||
endif
|
||||
|
||||
@ -79,9 +77,6 @@ start
|
||||
while(Dauerschleife) is (true)
|
||||
|
||||
:Auswerfer<
|
||||
note right
|
||||
oder eher ne if hier ?
|
||||
end note
|
||||
:Auswerfen;
|
||||
|
||||
endwhile(false)
|
||||
|
Loading…
Reference in New Issue
Block a user