12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- @startuml PLC-Connector-main
- header <font color=white>**Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample Text Sample**</font>
- skinparam dpi 400
- skinparam TitleFontSize 24
- title Programmablauf PLC-Connector
- right footer jomueller, 08.2022
- <style>
- activityDiagram {
- BackgroundColor #C8C7FF
- BorderColor #7777cc
- partition {
- LineColor #7777cc
- RoundCorner 10
- BackgroundColor #fff
- }
- diamond {
- BackgroundColor #fff
- LineColor #000
- }
- }
- document {
- BackgroundColor #fff
- }
- </style>
- start
- :read config file;
- : initialze
- input modules,
- middlewares, and
- output modules;
- partition Inputs {
- while (foreach input module)
- if (enabled?) then (yes)
- #FFC5C4:start input thread|
- endif
- end while (end)
- }
- repeat
- :read input queues<
- partition Middlewares {
- -> values;
- :initialize list of results;
- while (foreach middlewares module)
- if (module enabled?) then (yes)
- #FFC5C4:execute module|
- if (output enabled?) then (yes)
- :append result to list/
- endif
- :run submodules recursively;
- endif
- end while (end)
- }
- -> results;
- partition Outputs {
- while (foreach output module)
- if (enabled?) then (yes)
- #FFC5C4:write results to output>
- endif
- end while (end)
- }
- backward :sleep;
- repeat while(end program?)
- -> yes;
- :stop input threads;
- stop
- @enduml
|