pyads icon indicating copy to clipboard operation
pyads copied to clipboard

"Router interface is not available on Win32 systems." but im using 64bit

Open GoncaloDias98 opened this issue 4 years ago • 2 comments

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

GoncaloDias98 avatar Mar 15 '22 12:03 GoncaloDias98

Same here still. Did you manage to find out something else?

mflova avatar May 14 '24 15:05 mflova

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
)

mflova avatar May 15 '24 11:05 mflova