This is a simple package to connect Dymola/Modelica to a Beckhoff PLC via the proprietary C API and the ADS protocol provided by Beckhoff (c).
The functions used to perform the communication are derived from the functions documented by Beckhoff. A complete documentation and additional functions are provided here: Beckhoff infosys documentation
Functionalities tested with Dymola 2015 32-bit, Microsoft Windows 7 64-bit and Microsoft Visual Studio 2010 Professional as a compiler.
Please check on your local installation the path variables within AdsHeaderFile.h
if the point the right path to TcAdsDef.h
and TcAdsAPI.h
.
NOTE Dymola in 64-bit mode does not work!