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

Some Plcs going offline after updating st-ethernet-ip #40

Open bombjackit opened 1 year ago

bombjackit commented 1 year ago

Describe the bug

After updating library st-ethernet-ip (used by node-red-contrib-cip-st-ethernet-ip 2.0.0-beta.3) from 2.5.3 to 2.6.1 some plcs was signed as offline by eth ip in, but this is not true (all work well).

How to solve problem

Going deeper thru the problem, I focused on a PLC from which I read only one element x.y[50] : x is a struct, y is an array of 64 DINT, it was enough to change type from DINT to empty (in plc tags configuration on nodered), after deploy plc was signed online and all go well.

Expected behavior

Eth ip in must not sign offline a plc that work and that is well configured.

Environment

zenovix commented 1 year ago

i was facing the same problem, then i read all struct using data type Struct, the output type was a object then i filter it out of my requirement.

neben commented 1 year ago

I'm facing a similar issue, where the struct element is read only once after restarting the flow, and then nothing. Reading the entire struct works though.

bombjackit commented 9 months ago

Reposted in the right place https://github.com/SerafinTech/node-red-contrib-cip-st-ethernet-ip/issues/4