Page 1 of 1
DATA STRUCT ADDRESS
Posted: Fri Mar 01, 2019 11:42 am
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
Re: DATA STRUCT ADDRESS
Posted: Tue Mar 05, 2019 10:00 am
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
Re: DATA STRUCT ADDRESS
Posted: Thu Mar 14, 2019 9:19 am
by ilariabonori
Thanks a lot
Best regards,
Ilaria Bonori