pyads
pyads copied to clipboard
"Router interface is not available on Win32 systems." but im using 64bit
Hello, i get this error:
"RuntimeError: Router interface is not available on Win32 systems.
Configure AMS routes using the TwinCAT router service."
even though i'm on a 64bit windows system.
Does anyone know how to fix this?
Thank you
Same here still. Did you manage to find out something else?
For those who are struggling with this issue in Windows:
The example in the docs is only compatible with Linux. If you want to run it in Windows, remove this section of the example:
# add a new route to the target plc
pyads.add_route_to_plc(
CLIENT_NETID, CLIENT_IP, TARGET_IP, TARGET_USERNAME, TARGET_PASSWORD,
route_name=ROUTE_NAME
)