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

Logix 5000 Series - Error communicating with the PLC: {"generalStatusCode":30, "extendedStatus":[]} #30

Closed ChZeman closed 2 years ago

ChZeman commented 2 years ago

I have several Logix 5000 systems I'm attempting to use cip-ethernet-ip with (showing two here, one working and one not). I get the following error message on two of the systems: Error communicating with the PLC: {"generalStatusCode":30, "extendedStatus":[]}

One of the systems I'm having problems with is a 1756-L71S and Logix55L7SP with a 1756-EN2T with the last slot of the rack. 1 - Entire Rack

One of the systems that works fine is a Logix5561S and Logix55LSP with a Ethernet card in the last slot of the rack. 2 - Entire Rack

Each system has its own Pi running node-red and the cip-ethernet-ip nodes in each are configured the same. I've looked at and tried everything I can think of. Is there something I need to do with the PLC or Ethernet interfaces?

Thank you, Chris

ChZeman commented 2 years ago

For anyone else having this problem... Check your data types. I found that a data type of DINT in Logix needs to be specified as SINT in the node. Data types of DINT[1] in Logix should be specified as DINT in your node. Doing that fixed this problem for me.