stlehmann / pyads

Python wrapper for TwinCAT ADS
MIT License
252 stars 93 forks source link

Running PyAds from Jetson Nano #336

Closed cunhafh closed 1 year ago

cunhafh commented 1 year ago

Hi, I'm trying to run PyAds on a Jetson Nano however I keep getting "ADSError: target port not found ADS server not started"

These are the steps that I followed so far:

import pyads

remote_ip = MY_PLC_IP

remote_ads = MY_PLC_AMS_NET_ID

pyads.set_local_address(MY_JETSON_AMS_NET_ID)

with pyads.Connection(MY_PLC_AMS_NET_ID, pyads.PORT_TC3PLC1, MY_PLC_IP) as plc:

plc.read_by_name('.TAG_NAME', pyads.PLCTYPE_INT)

Any ideas of what I could be doing wrong? Thanks

cunhafh commented 1 year ago

Never mind, network issues! In case you ever wondered, it works on the Jetson Nano. Cheers

chrisbeardy commented 1 year ago

Thanks @cunhafh , please close this issue if it works