@startuml PLC-Connector-main title Programmablauf PLC-Connector right footer jomueller, 08.2022 start :read config file; : initialze input modules, middlewares and output modules; :start input threads; repeat :read input queues; partition Middlewares { -> values; split :module a; :submodule b; split again :module c; -[hidden]-> split again :module d; split :e; split again :f; end split end split } -> results; :write to outputs; backward:sleep; repeat while(interupted?) -> yes; :stop input threads; stop @enduml