Closed bunjopolo closed 1 year ago
Hey, I'm not sure we officially support Mac but it may work due to its Unix routes. You still need to create a route, I would follow the docs for setting up a route in Linux and see how you get on
@bunjopolo how did you get on? Can you please close this issue to help manage the issue tracker. Thanks.
I am tying to read and write variables to an ethernet connected plc but I am getting the following error.
pyads.pyads_ex.ADSError: ADSError: timeout elapsed (1861). 2023-03-16T13:01:42-0700 Info: connection closed by remote
The PLC is connected over ethernet and I am able to ping it and pyads will extablish a connection but the error shows up when reading or writing any variables. Im using a Mac so im pretty sure I dont have to create a route like on windows from reading the documentation.
When I get the local address it shows the address of my ethernet port that is connected to the plc and not the address of the PLC itself but i dont know why this would be.
This is the output:
2023-03-16T13:01:37-0700 Info: Connected to 192.168.100.27 <AmsAddress 192.168.100.30.1.1:30000>
This is my code: