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

Error writing arrays #128

Open
xrodriguez-dotcom opened this issue Feb 29, 2024 · 2 comments
Open

Error writing arrays #128

xrodriguez-dotcom opened this issue Feb 29, 2024 · 2 comments

Comments

@xrodriguez-dotcom
Copy link

bug description

When trying to write an array, I get this error: "Error: Number of tags must match the number of values"

To Reproduce

  1. Create an array variable. e.g. DB1001,X0.0.10 (10 bit array variable)
  2. Set up a S7 out node with this variable
  3. pass the payload: [false,false,false,false,false,false,false,false,false,false] to the s7 out node
  4. after the version 2.2.1 you will get the error "Error: Number of tags must match the number of values"

It was working fine in version 2.2.1

Environment

  • Version of this node: [3.1.0]
  • Node-RED version: [3.1.5]
  • PLC Part Number: [6ES7 517-3FP00-0AB0 ]
  • OS: [Windows Server 2022]
  • Browser: [Edge]
@gtf016
Copy link

gtf016 commented Aug 30, 2024

使用[[false,false,false,false,false,false,false,false,false]]的形式在进行尝试一下看看

@xrodriguez-dotcom
Copy link
Author

xrodriguez-dotcom commented Sep 16, 2024

使用[[false,false,false,false,false,false,false,false,false]]的形式在进行尝试一下看看

Thank you, but doing this I get: Error: Write error [0x7]: Data type inconsistent.

I have also tried with [[0,0,0,0,0,0,0,0,0]] with the same result.

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

2 participants