pyads icon indicating copy to clipboard operation
pyads copied to clipboard

PyAds Client running Local to 4026 Runtime on Windows

Open peterrathke opened this issue 9 months ago • 0 comments

The following was tested with Python v3.12.3 Windows installer version and PyAds version 3.4.0

In Tc3.1.4024 and previous versions. TcAdsDll.dll (which PyAds references) is installed in the following directory: “C:\TwinCAT\AdsApi\TcAdsDll\x64\TcAdsDll.dll”.

In Tc3.1.4026 install, the TcAdsDll.dll moved to “C:\Program Files (x86)\Beckhoff\TwinCAT\Common64\TcAdsDll.dll”.

Because of this directory change on 4026, I found that by editing the following file, i could get everything to work as expected. "C:\Program Files\Python312\Lib\site-packages\pyads\pyads_ex.py" pyads_ex py File Edit

peterrathke avatar May 08 '24 15:05 peterrathke