S7plus driver and multi-instance DB

Discussion about recent product features & solutions!
2 posts • Page 1 of 1
LIGO
Posts:27
Joined: Tue Aug 02, 2016 1:57 pm

S7plus driver and multi-instance DB

Post by LIGO »

Hello.
We are trying to connect S7-1500 (TIA Portal V13 SP1) with WinCC OA 3.15 using s7plus driver.
Is it possible to query a variable from the multi-instance DB?
Driver is working fine with variables from single instance DB, but it shows all nested DBs as arrays with unknown data type. A conversion error appears when I try to set that address with default type of conversion. If a proper conversion method is set, then an unknown error (-255) appears.
As an example there is an image in attachment. Everything from nested DB (T_FrontBearing_AI) is not accessible.
[spoiler]Image[/spoiler]
Attachments
splus.png

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: S7plus driver and multi-instance DB

Post by Gertjan van Schijndel »

I have received the following answer from the developer:
The reason for the observed behavior is, that we currently only support sub-datatypes in datablocks and tags of some UDT datatype, which will be reported as "Struct".

This means the user has to use own UDT structures when defining multi-instance datablocks. This typically also makes sense because most projects we know do not use complete FB-interfaces to communicate with the HMI but only a subset of the variable interface. And such a subset is normally defined as UDT structure.
You should contact support to see what the options are to get support for FB interfaces.

2 posts • Page 1 of 1