Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading a value from a matrix (bidimensional array) of STRING_8 cause the write of truncated string on plc #44

Open
bombjackit opened this issue Sep 6, 2023 · 2 comments

Comments

@bombjackit
Copy link

Describe the bug

In Eth IP In, reading 2 tags of type STRING_8 in a matrix (10,2), x in the example belowe, cause the rewrite of the smaller string in the plc.

For example, I read x[0,1] (value "AABBCC") and x[0,0] (value "DDEEFFGG") : at first read of x[0,0] assume the value "DDEEFF" (it was write on plc), I have noted that has same lenght of x[0,1].

Expected behavior

Eth IP In must not write data to plc in any case

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
Copy link
Author

Going deeper on this issue, I discovered that if I read tags of type STRING_8 I had the same problem (not only inside an array but single tag) : maybe there is something correlate to the order of inserted tags inside the configuration (like #41)

@bombjackit
Copy link
Author

Issue reposted in the right place : SerafinTech#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant