Beckhoff / ADS

Beckhoff protocol to communicate with TwinCAT devices.
MIT License
491 stars 193 forks source link

AmsRouter et AdsDevice #195

Closed ViaudJV closed 1 year ago

ViaudJV commented 1 year ago

Hi, Can you explain the differences between AmsRouter and AdsDevice ? When should AmsRouter or AdsDevice be used ? Thx for your answer .

pbruenn commented 1 year ago

AdsDevice is a wrapper around AmsRouter. It saves you from repeating the same "amsnet, netid, port" tuple over and over again. If you often use different tuple AmsRouter might be better. But in recent times I used AdsDevice exclusively.

ViaudJV commented 1 year ago

thanks for the explanation.