9/14/2009 3:45 PM | |
Posts: 3 Rating: (0) |
I have implemented FB2 which contains an Alarm_8P. I have then used FB2 in a multi-instance FB3. This contains 2 instances of FB2. I then call FB3 from OB32 using Instance DB1. In the message properties I have set the message text for SIG1 to be 'A', and 'B' for Instance 1 and 2 respectively. See attached project. I have compiled this into WinCC and the messages work OK. My problem is this: I now add another network into OB32 and call FB3 again but now use instance DB2, I cannot specify message texts 'C' and 'D' as it appears that FB3 has a common set of message properties.i.e is forcing me to use the existing 'A' and 'B' message texts I am assuming that each call of FB3 should allow me to configure different message texts. AttachmentMessages.zip (159 Downloads) |
9/16/2009 5:03 PM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating: (102)
|
Hi Different message texts in each instance of FB3 would be a big problem. An Example: For a valve-function-block you programm the behavior and call a Alarm_8P for the messages (p.E. ValveON or ValveOFF). Now you take the valve block an call it 50 time for your 50 valves. If you now have to configure49 times themessages again, you has a lot work. For the variable part of the messages you can use associated values (Inputs SD1...SD9 of Alarm_8P). The Inputs you link to a input of the valve-block. So you have only define 50 times the variable part. here how to do I hope you understand the problem and the advantage. regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
Follow us on