st-one-io / node-red-contrib-cip-ethernet-ip

A Node-RED node to interact with Allen Bradley / Rockwell PLCs
GNU General Public License v3.0
51 stars 26 forks source link

Error communicating with the PLC #32

Closed srebling closed 1 year ago

srebling commented 2 years ago

Getting the following error when trying to use the 'eth-ip in' node: [error] [eth-ip endpoint:fcb8299d356710ad] Error communicating with the PLC: {"generalStatusCode":5,"extendedStatus":[0],"ext":[{"func":"_getTemplateAttributes","templateID":193,"cipReq":{"type":"Buffer","data":[3,2,32,108,36,193,4,0,4,0,5,0,2,0,1,0]},"attributes":{"id":193},"members":[],"name":""}]}

Endpoint node properties correctly displays PLC info: PLC Browser 10.0.0.250 : 1769-L24ER-QB1B/A LOGIX5324ER

Node-red crashes if you click the PLC address in the browser: [red] Uncaught Exception: [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#".

Thanks