SerafinTech / node-red-contrib-cip-st-ethernet-ip

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

Offline plc related to a mismatched order in tags (only for arrays) #3

Closed bombjackit closed 5 months ago

bombjackit commented 9 months ago

Describe the bug

I have some arrays (all of 150 elements) :

To read some data I inserted the tags (without explicity indication of type) in "eth-ip endpoint node" for example :

  1. x[1]
  2. x[2]
  3. z[50]
  4. y[3]
  5. k[30]

the result is that plc is signed offline (in eth-ip in with mode All tags)

How to solve problem

The problem, only if I read data from arrays, seems to be the order : I must read in group all equal data type.

For example this not work

  1. x[1] DINT
  2. x[2] DINT
  3. z[50] STRING
  4. y[3] DINT
  5. k[30] STRING

But this work

  1. x[1] DINT
  2. x[2] DINT
  3. y[3] DINT
  4. z[50] STRING
  5. k[30] STRING

Expected behavior

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

Environment

bombjackit commented 9 months ago

Original issue https://github.com/st-one-io/node-red-contrib-cip-ethernet-ip/issues/41

SerafinTech commented 9 months ago

Can't duplicate issue on the PLC I am testing on. Try updating to current versions.

bombjackit commented 5 months ago

With version 2.0.2 this error does not occur.