That sounds super helpful. I haven’t thought about this that far cause now I spend some time to think how to solve the first step which is to be able to connect to multiple PLCs, find a way to reload configurations dynamically in order to add/remove controllers cause I am not sure it could be possible to be fully automated in a native way. After that step I should persist, as I mentioned above and of course the final step would be to build data pipelines as you kindly suggest flow, broadway and genStage. Regarding the state_machines that you mentioned though, I am trying to understand how and why I should go that route, I mean in theory I have an expectation on specific ReadRegs for example, I should expect a specific number of values in their corresponding expected data type which means that I could potentially model it with dynamically created objects per different type of controller, am I seeing this wrong here? And would a state machine help in the modeling part? Cause in my head a state machine would be awesome for the case I would need to Write a register (send a command back to the PLC) or when I would like to keep a state in the case of an alarm for example.






















