I made a video where i explain how to connect and read tags from and Opc server using OpcNetApi.dll library with C#. This post follows a serie of old article that you can read on my old blog. This code comes from Beckhoff OPC how-to section and if you run a ...
Read More »C#
PLC-PC communication with C#: a quick resume about data exchange libraries
Let’s say that you want to build your own HMI, because: commercial SCADAs are too expensive for your application you need more control over the code and VBA is not good you want to protect your know-how you need a better HMI and you can’t do it with a normal ...
Read More »WPF and multithread: debugging with Console
You can download the sample here: https://www.mesta-automation.com/Downloads/multithread.rar With WPF it’s almost a must to use multiple threads to keep the User Interface responsive, and debugging them can be a problem when they are complex. Usually i debug the background threads with the Console, while keeping the Main Window visible, like in ...
Read More »Using RsLinx OPC Test Client to debug OPC Servers
Usually when i have to analyze OPC Servers connectivity i use RsLinx OPC test client. This is a software provided for free in every version of RsLinx (it’s included in the lite too) and you can download RsLinx lite following the procedure described here. Using the OPC test client is ...
Read More »