I was wondering if there is any way to read and write values from the PLC tags folder using a custom c# application?

I have tried using Snap7 which is great tool to use and actually got it working, but only reading and writing data blocks and not tags what I am willing to achieve. I haven't tried Libnodave just yet.
Would you please recommend me a way to achieve this and if there is other ways to do this.
Update #1
I partiely understand now how to read and write Merkers. But how about Inputs and outputs such as those?

Update #2
I have setup a watch table and got it working using Python Snap7, but wasn't able to do the same using C#.

Besides any tag value from a datablock, libnodave can get/set input, output and memory tags. Snap7 can also do that. I do not see any problem with that.
Its very easy to read and write using Libnodave. Download latest Libnodave.dll from official site and refer this sample. You will get an idea.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With