Read an array of object

#1

hi,

i´m searchin for a solution to read this array of objects.

It is the status of the Siemens Logo8 Outputs which is controlled from LogoControl. There i can use request when a output had changed the status.
I want to read this, for e.g. start other tasks. The yellow marked part is on which changes from object 1 to 46.

Any idea / help to read that to put it into a switch node?

0 Likes

#2

If you hover over the preporty you are interested in then some little square buttons appear to the right. Clicking on one of those will say something like Path Copied. You can then paste that into the Property field of a Switch node, for example. In your case you want something like msg.payload.attributeUpdates[29].A

0 Likes

#3

Ahh ... that´s easy. Thank you very much.

0 Likes