9/5/2016 4:39 PM | |
Joined: 3/14/2008 Last visit: 8/16/2024 Posts: 2086 Rating:
|
Hi, You need to set the following attribute to a parameter: S7_server:='alarm_archiv' and S7_a_type:='alarm_8p'. S7_server means that the compiler generates options to use by assigning this parameter to a messagenumber S7_a_type means that the system knows what type of message the block is sending. S7_alarm_ui means that the message dialog of PCS7 is used rather than the classic WinCC. This is valid for blocks, not for parameters |
Last edited by: Oreca at: 9/5/2016 4:45:01 PMLast edited by: Oreca at: 9/5/2016 4:49:39 PMLast edited by: Oreca at: 9/5/2016 4:51:05 PMIf I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to
1 thankful Users |
9/6/2016 5:20 AM | |
Posts: 16 Rating:
|
thank you for your response I am using CFC for creating function block and these parameters (s7_server, s7_type) are not accessible in it. |
9/6/2016 2:09 PM | |
Joined: 3/14/2008 Last visit: 8/16/2024 Posts: 2086 Rating:
|
Hello! Ahh OK, I assumed you were using SCL to create your source. In order to use these attributes, you need to create a variable of the type: "DWORD". APL blocks use the variable name: "MsgEvId1", so you can take a look at it: Go to your Blocks folder and open an APL block with messaging like FB1845. Go to Interface and then "IN". Find "MsgEvId1" and open properties. Then check tab: "Attributes" to see which attributes are used by MsgEvId. |
If I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to
1 thankful Users |
Follow us on