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

Array of Structure Read #92

Closed INDRANI125 closed 11 months ago

INDRANI125 commented 3 years ago

How I can read elements in array of structures/array/PLC data type using this? I do not see anything in documentation

fernandoamorim1703 commented 2 years ago

If I understand your question correctly, you need to do the following.

You need to declare as follows: DB1,DW0.6

The last numeric value (.6) refers to the number of elements you would like to read, thus returning an array of data.

fernandoamorim1703 commented 11 months ago

We will be closing this issue, if there is a need to revisit the subject, please open a new one. Thank you very much.