S7NetPlus / s7netplus

S7.NET+ -- A .NET library to connect to Siemens Step7 devices
MIT License
1.29k stars 577 forks source link

Is it possible to implement (or does it already exist) a subscription method with a related notifications event for value ? #497

Open LucaRossi96 opened 1 year ago

mycroes commented 1 year ago

There's no functionality on the PLC side to support this. It's easy to build this from C# by reading data in a polling fashion, however to create a solution that fits everybody is an entirely different story. That by itself is reason enough not to implement this in S7NetPlus.

I wouldn't mind providing some guidance on this problem though, or a sample implementation that might fit your needs. Let me know if you need any help.

SmartMeterQ commented 1 year ago

Hi! I think an example about this "subscription" would be a wonderful example, for example I will use the ReactiveX library, what would you use?