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
49 stars 22 forks source link

Error communicating with the PLC #32

Closed srebling closed 1 year ago

srebling commented 1 year 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