node-red-contrib-s7 icon indicating copy to clipboard operation
node-red-contrib-s7 copied to clipboard

Error writing arrays

Open xrodriguez-dotcom opened this issue 5 months ago • 0 comments

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]

xrodriguez-dotcom avatar Feb 29 '24 13:02 xrodriguez-dotcom