-
Notifications
You must be signed in to change notification settings - Fork 100
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
Docs: Improve description on how to connect and create routes from Linux #281
Comments
https://pyads.readthedocs.io/en/latest/documentation/routing.html This is the routing section which contains an This has been rewriten a few times and clearly is still not quite right. To aid us, could you please give some specific feedback about what you struggled with and what would have aided you. I have plans to do a video showing how to connect from Windows and Linux. Would this be a good idea? |
Yes, this is the page of documentation I struggle with.
Yes, video is a brilliant idea. |
I finally managed to get the connection working. I decided to make this little "guide" on how to setup the routes. Lets assume two computers on the same lan (I have disabled firewalls on both of them): Target PC
Client PC
Goal is to read and change variables of PLC (running on Target PC) from Python script (Client PC) 1. SET ROUTE ON TARGET PC, USING TWINCAT:
2. Obtain TARGET_AMS_ID from Target PC:
3. Finnaly our python script on Client PC:
Don't forget to run your PLC. |
We can look at adding a more step by step guide to create a route and possibly add a video too. Thanks for this. |
Hi @CreaM129129 In Windows, Twincat -> About Twincat, give you the AmsId Regards, |
I've tried to fix the documentation in this pull request: #278 |
@stlehmann can you activate Discussion feature on this repository, And Discussion can be a better for people ask for question Regards, |
Hello,
I appreciate your work on this module. It is very handy.
Unfortunately, I really struggle with connecting from Ubuntu. (On windows everything works fine)
It seems I am not the only one. There are many git-issues covering this topic. I have unsuccessfully gone through several of them, only to find more, without actually solving the problem.
Please consider making a clear to follow cookbook on how to set routes and connect from Ubuntu.
Thank you.
EDIT:
I have finally managed to get this working and added a simple "guide" below.
The text was updated successfully, but these errors were encountered: