Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoncaloDias98 opened this issue Mar 15, 2022 · 2 comments

Comments

@GoncaloDias98
Copy link

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

@mflova
Copy link

mflova commented May 14, 2024

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

@mflova
Copy link

mflova commented May 15, 2024

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
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants