st-one-io / node-red-contrib-s7

A Node-RED node to interact with Siemens S7 PLCs
GNU General Public License v3.0
108 stars 55 forks source link

Error writing arrays #128

Open xrodriguez-dotcom opened 4 months ago

xrodriguez-dotcom commented 4 months ago

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