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

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

Open bombjackit opened this issue 1 year ago • 1 comments

Describe the bug

I have some arrays (all of 150 elements) :

  • x of type DINT
  • y of type DINT
  • z of type STRING
  • k of type STRING

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

  • Version of this node: node-red-contrib-cip-st-ethernet-ip 2.0.0-beta.3
  • Node-RED version: 2.2.2
  • PLC Part Number: 1756-L83ES
  • OS: Windows 10 professional 21H2

bombjackit avatar Aug 21 '23 11:08 bombjackit

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

bombjackit avatar Jan 30 '24 07:01 bombjackit