10/18/2012 11:49 AM | |
Posts: 139 Rating: (5) |
Hello Experts, I have converted RTC to String and then tried to display String [17] on wincc faceplate without sucessful.Please see attach for details and kindly help me to correct this! Thanks! AttachmentString Display error.pdf (83 Downloads) |
Last edited by: C.kt at: 10/18/2012 3:00 PMLast edited by: C.kt at: 10/18/2012 1:34 PM |
|
10/18/2012 4:59 PM | |
Posts: 139 Rating: (5) |
Hello, Please see attach. It's ok when i have configure to show on basic picture but still problem in Faceplate. Thanks and waiting. AttachmentString[17].pdf (70 Downloads) |
10/22/2012 10:34 AM | |
Joined: 9/6/2008 Last visit: 5/7/2022 Posts: 1121 Rating: (86) |
Hi Sorry for the delay. in the RTC to String block what is the block interface type. It should be string with length say String[16] that means 16 characters can be given. Have you done that. Please check that. I have seen your PDF. Please take a look at the following link https://support.automation.siemens.com/WW/adsearch/resultset.aspx?region=WW&lang=en&netmode=internet&ui=NDAwMDAxNwAA&term=display+date+and+time+as+string+in+wincc&ID=1085941&ehbid=1085941 https://www.automation.siemens.com/tf/WW/en/Posts/9552 In WinCC IO field the property has to be string data type with IO field type as Ouput. Have fun... |
Jazz |
|
This contribution was helpful to1 thankful Users |
10/22/2012 10:34 AM | |
Joined: 11/4/2011 Last visit: 8/25/2024 Posts: 253 Rating: (53) |
I guess you just have to name your blocks in CFC correctly. It seems that you are trying to use Multi-Instace Faceplate technology, described in APL Style Guide: 6.4.8.2 Multi-instance faceplatesSo in CFC "RT" the name of the main FB is "2" ? You've cut the head off that block.. In that way the second FB RTC_STRING should be named "21" – main FB's name + specific name In the faceplate you should connect variable not as ".Date_Time", but as "1.Date_Time", because the Tag Prefix of your faceplate belongs to the main FB "2" (RT/2****) and you are connecting another Tag from another FB: RT/2 + 1.Date_Time gives you RT/21.Date_Time |
This contribution was helpful to1 thankful Users |
10/23/2012 2:53 AM | |
Posts: 139 Rating: (5) |
Excellent, I have follwed your guide and now that works. Many Thanks TerminalBuzz. again more, Is main FB's name + specific name is relevant to all data types and all multi-instance faceplace, right? Sorry, i am too much and i will read that APL Style Guide too. |
Follow us on