This solution works with SWGeneratorSolution to demonstrate how can control Beckhoff PLC using ADS in C#.
In this sample you can read and write different types of variables in Beckhoff PLC through ADS as well as receiving notification when a specific variable is changing in the PLC.
The solution contains a WinForm application project which is written in Visual Studio.
- OS: Windows 10 Enterprise - 64 bits
- IDE: Visual Studio Enterprise 2022 (64 bits) - version 17.8.3
- Framework: .Net 6
- Language: C#
- Beckhoff TwinCAT Ads 6.1.203
Open the solution in Visual Studio and run it using F5.
Note that you need to run it on the same PC as PLC or change AMD NetID.