plc-connector-main.plantuml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @startuml PLC-Connector-main
  2. 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>
  3. skinparam dpi 400
  4. skinparam TitleFontSize 24
  5. skinparam defaultFontName DejaVu Sans
  6. title Programmablauf PLC-Connector
  7. right footer jomueller, 08.2022
  8. <style>
  9. activityDiagram {
  10. BackgroundColor #C8C7FF
  11. BorderColor #7777cc
  12. partition {
  13. LineColor #7777cc
  14. RoundCorner 10
  15. BackgroundColor #fff
  16. }
  17. diamond {
  18. BackgroundColor #fff
  19. LineColor #000
  20. }
  21. }
  22. document {
  23. BackgroundColor #fff
  24. }
  25. </style>
  26. start
  27. :read config file;
  28. : initialze
  29. input modules,
  30. middlewares, and
  31. output modules;
  32. partition Inputs {
  33. while (foreach input module)
  34. if (enabled?) then (yes)
  35. #FFC5C4:start input thread|
  36. endif
  37. end while (end)
  38. }
  39. repeat
  40. :read input queues<
  41. partition Middlewares {
  42. -> values;
  43. :initialize list of results;
  44. while (foreach middlewares module)
  45. if (module enabled?) then (yes)
  46. #FFC5C4:execute module|
  47. if (output enabled?) then (yes)
  48. :append result to list/
  49. endif
  50. :run submodules recursively;
  51. endif
  52. end while (end)
  53. }
  54. -> results;
  55. partition Outputs {
  56. while (foreach output module)
  57. if (enabled?) then (yes)
  58. #FFC5C4:write results to output>
  59. endif
  60. end while (end)
  61. }
  62. backward :sleep;
  63. repeat while(end program?)
  64. -> yes;
  65. :stop input threads;
  66. stop
  67. @enduml