PLCHome / node-red-contrib-ads

Beckhoff TwinCat ADS support for Node-Red.
MIT License
15 stars 11 forks source link

connection error after power failure #32

Closed martinschki closed 4 years ago

martinschki commented 4 years ago

Hi, we had a power outage last night, everything was working and not I get a connection error... I have a Beckhoff PLC and node-red 1.0.6 on Raspberry. ads node is on the latest version

This is the error message:

{"payload":{"connectState":1,"connectStateText":"CONNECTIG","adsState":0,"adsStateText":"INVALID"},"_msgid":"6d3e8c10.73dca4"}

Error on connect: check target NetId or routing

{"payload":{"connectState":-1,"connectStateText":"ERROR","adsState":0,"adsStateText":"INVALID"},"_msgid":"4c69d41f.85b2dc"}

Could someone please help me on how I can debug this further? Thanks

martinschki commented 4 years ago

more info: cx9010 on twin cat 2 I can ping the plc from the raspi I didn't change anything in the plc ( I think), but I couldn't find the "Symbol setting" you mentioned in the readme

martinschki commented 4 years ago

alright, it is working again... I had to re-add the route on the plc....(?!?!???)

does anyone have an explanation why a route gets LOST in the configuration?