1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- @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**</font>
- skinparam dpi 400
- skinparam TitleFontSize 24
- skinparam defaultFontName DejaVu Sans
- 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
|