4/12/2022 12:48 PM | |
Joined: 4/7/2022 Last visit: 11/28/2022 Posts: 3 Rating:
|
Hi, I created a faceplate and connected its objects properties to UDT "dot", then i put 5 instances of that faceplate on Screen_1. I created two new tag tables and drag-dropped in them two databases I use. Then in the Interface property of faceplate container_1 I connected the faceplate with tag of object points[0](which is an element of "points" array[1..100] of type "dot"...in PLC its points[1] object) from HMI tag table. I did the same for the next four faceplate containers (second container being connected to points[1], third to points[2] etc.)(see pic1). Then when simulating this none of the 5 faceplate containers displays atributes of object they are connected to (See pic2). When connecting same faceplate to objects (of the same UDT "dot" ) which are not a part of an array, and running the simulation the faceplate containers display atributes of objects they are connected to. Interesting thing happens when connecting one of the faceplate containers to HMI tag points[9] which should be connected to PLC tag points[10], then when simulating that container shows values but not of those from PLC points[10] rather it shows values from PLC points[9]. (See pic3 and pic4). I also tried unticking Optimized block acces for all function and data blocks and that didn't help. I'm using TIA Portal V17.0, WinCC Unified V17.0 , and inside the project PLC- ET200SP CPU 1512SP-1 PN, PC station with PROFINET/Ethernet IE general module and SIMATIC WinCC Unified PC. on Windows 10 Attachmentpics.zip (513 Downloads) |
Follow us on