5/15/2018 3:19 AM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
I really should read before I reply OK, you can not use a tag of UDT type to multiplex. You can used any other data type (and use TIAV13SP1 or later) and it will work. Try it out, change the data type from Analog_UDTV1.0 to Int and you will be able to multiplex the address by going to Properties>Properties>General and select the field "Address" to open the dialogue box then in the "DB number" filed click to select HMI tag. But that's not what you're trying to do. It looks like you will have several sets of analog values for different devices and you will create more than one DB for those analog values base on AnalogUDT. in that case you will need to follow a different path of multiplexing which as you know requires TIA14: Create a PLC Data Type with the tags you want. Assume it's named "udtAnalogs" and add it to a type in your Project Library Create a global DB "dbAnalogs" and inside it add a a tag of data type Array[lo..hi] of udtAnalogs Then create a new tag in HMI tags in your WinCC device and connect it to the first array element of your dbAnalogs with data type "dbAnalogs" You can then multiplex that array with a tag of data type UInt ( i thing it has to be UInt). All that is explained in here |
Last edited by: Kal.A at: 5/15/2018 3:22:17 AMLast edited by: Kal.A at: 5/15/2018 5:35:33 AM |
|
This contribution was helpful to
1 thankful Users |
5/15/2018 8:31 AM | |
Joined: 2/16/2018 Last visit: 5/6/2022 Posts: 6 Rating:
|
I just finished a project like yours and was using faceplates and udt also for the first time. Here is my thread for this. AttachmentPopUp with Faceplate UDT and multiplex.pdf (353 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on