DATA STRUCT ADDRESS

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
ilariabonori
Posts: 10
Joined: Thu Dec 13, 2018 1:54 pm

DATA STRUCT ADDRESS

Post by ilariabonori »

Hi to all,
is it possible to connect a entire data struct to a symbolic TAG?
I'd like to transfer a data struct address to entire structure created in the Siemens PLC (by OPC UA or S7+ driver)
In attached I send an example
I'd like that the address includes all objects

Thanks a lot
Ilaria Bonori
Attachments
Power config.png

User avatar
leoknipp
Posts: 2622
Joined: Tue Aug 24, 2010 7:28 pm

Re: DATA STRUCT ADDRESS

Post by leoknipp »

Adding an _address config to a node is only possible if the node is defined as "struct" in the datapoint type.
When a node is defined as struct the elements below this node will have the same datatype, e.g. boolean elements.

If the driver and address you want to use has the possibility to define a sub index the driver will use the sub index automatically for the elements.
Adding the _address config is then only a simplification for the configuration. Instead using the address on the node you could also define an address on any element by specifying the sub index on your own.

E.g. it can be used to read a bit array from the PLC and to write every single bit to an own DPE.

Please take into account that an address defined on a node does not count as 1 IO. The number of IOs for the license is the number of elements below the node.

Best Regards
Leopold Knipp
Senior Support Specialist

ilariabonori
Posts: 10
Joined: Thu Dec 13, 2018 1:54 pm

Re: DATA STRUCT ADDRESS

Post by ilariabonori »

Thanks a lot
Best regards,
Ilaria Bonori

Post Reply
3 posts • Page 1 of 1