1/19/2009 2:57 PM | |
Posts: 1776 Rating:
|
Hi, have you seen this FAQ http://support.automation.siemens.com/WW/view/en/24325381 |
1/21/2009 1:53 PM | |
Posts: 31 Rating:
|
Hi again Jaapie! Thanks!! I am using v7.0. Next week will be fine bugmenot |
1/21/2009 10:03 PM | |
Joined: 1/17/2006 Last visit: 10/27/2023 Posts: 799 Rating:
|
Hi bugmenot, I have created a PCS7 V7SP1 WinCC project for you, but you can open it with you version 7. The only thing is that I can not post it here. It is to big. So post only the two things you need. 1-The global script (put it in WinCCProjectName\Library) open global script and compile all headers and open the script and compile it. It should show 0-errors. 2-The Testpicture with two buttons and an alarm ocx on it. In alarmlogging you have to configure like earlier discribed (with the @1%s@...in the textblocks) the 1 in this @1%s@ is the first text you will fill in. You must configure messaline 1 (can be changed within the script) So now you have everything to create operator messages. If you need the project I can send it a different way, let me know.... Good luck, Jaap AttachmentShare.zip (763 Downloads) |
Last edited by: Jaapie at: 1/21/2009 10:06 PM |
|
This contribution was helpful to
1 thankful Users |
1/26/2009 9:13 PM | |
Joined: 1/17/2006 Last visit: 10/27/2023 Posts: 799 Rating:
|
Hi bugmenot, I amsorry you have to find some space to store your old value and the best thing is to make a customized object of your I/O field with aditional parameters to store your old value. Only a plain I/O field does not do the job. The customer can look for the old value in alarmlogging BUT I triedto make it work! This example is the only thing I can think of. I use the ToolTipText for saving the old value Jaap AttachmentTestPicture.zip (508 Downloads) |
This contribution was helpful to
1 thankful Users |
1/27/2009 2:22 PM | |
Posts: 31 Rating:
|
Aaah Finally got everything working! It updates when it is supposed to, username is put where it is supposed to be, comma-values are no longer weird etc. I now use a mix of Jaapies example and the example provided by April (http://support.automation.siemens.com/WW/view/en/24325381). I have attached a example page and the modified version of the global script provided in Aprils example. AttachmentTestPicture2.zip (466 Downloads) |
This contribution was helpful to
2 thankful Users |
1/28/2009 3:36 PM | |
Posts: 31 Rating:
|
I am, but that do not help! By changing the TEST-tag (internal tag) that you made into a external tag things get delayed. If you have a PLC avaliable you should be able to test it to see what I mean. Anyway I found sort of a workaround. Using the integrated operator input message and the one in my previous post. This makes a two line operator input message, but at least it works properly. bugmenot Attachmentbugmenot - Operator input message.zip (459 Downloads) |
Last edited by: bugmenot at: 1/29/2009 8:31 AMuploaded example added/changed some text |
|
This contribution was helpful to
1 thankful Users |
2/19/2009 7:53 AM | |
Posts: 31 Rating:
|
Hi spaccabbomm. I do not have any experience with server/client solutions, but I might have removed some lines that had to do with server/client in the global script. Have you tried the original Global Script from here: http://support.automation.siemens.com/WW/view/en/24325381 ? If that works you probably have to edit it a little to show only what you want in the event log Good luck! bugmenot |
10/23/2015 11:28 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4782 Rating:
|
New question published by jitender singh is split to a separate thread with the subject How can i log comment along with old and new value in the alarm 12508141 using script?. Best regards |