pcdshub / ads-async

Asyncio (or sans-i/o) TwinCAT AMS/ADS client + test server in pure Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ads-s (ADS over TLS)?

klauer opened this issue · comments

Current Behavior

  • There are two methods TwinCAT PLCs use for communicating using the ADS Protocol: insecure (ADS) and secure (ADS-S, using TLS)
  • TwinCAT BSD by default only allows for ads-s through its firewall
  • Insecure ADS is only supported is currently only supported in ads-async

Possible Solution

Use Python built-in support for TLS: https://docs.python.org/3/library/ssl.html , add a certificate, and see if TwinCAT will accept our communication.