node-red-contrib-cip-ethernet-ip icon indicating copy to clipboard operation
node-red-contrib-cip-ethernet-ip copied to clipboard

Error communicating with PLC, Omron NX1P

Open VanOrteppi opened this issue 2 years ago • 3 comments

I'm having a problem when trying to write to Omron PLC

It's somewhat the same issue descripted here, but this occurs when writing data to PLC in Node Red. After commented the line 125 as instructed to do in https://github.com/st-one-io/node-red-contrib-cip-ethernet-ip/issues/10 I am able to read the data from the PLC without problems.

I just noticed that this thread was already closed so probably nobody will see my message there...

So anyway, when I try to send any data from Node Red to the PLC with the "eth - ip out" -function, the status of the function block changes (for example from false to true), but after a few seconds the function block goes in error and the error message in debug window tells the following:

153571600-e1ff0487-58b4-4b9e-9098-647d7a21915f

"Error communicating with the PLC: {"generalStatusCode":30,"extendedStatus":[]}"

Is there anything I could check or do differently?

VanOrteppi avatar Feb 15 '22 08:02 VanOrteppi

any update it ?,I have the same issue , with L340ERM,and at the beginning some minutes I saw the correct data , but later it always error communicating with the PLC ,even I start/stop PLC ,version 1.1.3

caoxi1982 avatar Jun 08 '22 12:06 caoxi1982

To the best of my knowledge, these EIP nodes do not work with Omron NX/NJ PLCs right out of the box; you need adjust the timeout in \ethernet-ip\src\enip\cip\unconnected-send\index.js: image

MountainKing91 avatar Jul 24 '22 15:07 MountainKing91

Thank You for the tip. Unfortunately this didn't work out. This setting was already set to 5056, and I think that it should have worked with the previous setting. Off course I tried this new timeout setting as well, but the result is still the same. Still looking the solution for this.

VanOrteppi avatar Jul 25 '22 05:07 VanOrteppi