S7 node Variables in input?

Hello, i'd like to know if it's possible with one of the S7 PLC nodes to send on input a list of variables in order to use only one node by changing the variables dynamically instead of using multiple nodes or read hundred of variables at once (i have to read then under conditions)

thanks if you can help !

yep, you can let the variable name empty in the input node, and then send a msg.variable parameter with an array of variables.
More details you can find in the node documentation.

Thanks but in the node documentation i don't find what i need... i have a flow like that:
image

In the inject nodes i'd like to send different Signal variables to read their values by using only one S7 read node. But i haven't find the good syntax (in JSON ?) to use in the injetc nodes.

Is it possible ? Or sould i use another S7 node ? i try also this:


with this in the function node:
image
Don't works too

I’m sorry, though you wanted to write (not read) the data.
Unfortunately what you want to do is not possible.
What you can do is use the S7 Control and use the trigger function to read all variables, then you can configure a S7 In node and uncheck the “(diff) checkbox. That should do the trick for you.

Where is the and " the “(diff) checkbox. " ?? And i don't want to read all the variables at once that's why i want to inject the good ones under conditions

here it is
image

If you don't want to read all variables, the only possible way then, is to configure a new endpoint, only with the variables you want to read.

Thanks for your ime & help. I'm afraid that i got no solution as want only one endpoint with mulitple possible variables in input... (like it's possible with the modbus nodes)

Tangentially related question:

Is there a big difference in terms of performance about reading half of the variables or, say, all of them?

I have a lot of machines with twin loading/unloading ports, but usually only one of them is working at any given time, so if it makes a big difference, I should split the nodes.

Also related to this:
If I have a DB with several variables (about 20-30) I need to write to implement an interface between each machine and some mobile robots that pick up the material carriers and deploy empty ones. In order to do so, I have to change a few booleans according to the interface steps, triggering them in order (that's how the supplier arranged it).

I guess according to your reply, either I create as many endpoints as variables are (a lot of work, having many machines) or I read the whole block from the PLC, modify only the values I need to modify, and then feed it back to the PLC.

Would that have a lot of impact, performance-wise?