5/19/2016 2:16 PM | |
Joined: 9/27/2006 Last visit: 9/4/2024 Posts: 12282 Rating:
|
Hello Dolpong; The standard mechanism to access the operating status of S7-400H CPUs is SFC 51, with SSL ID: xx71 (hex). Since it requires a bit of study I order to be proficient with SFC51 "RDSYSTST" and the different SSL ID# (look at the System and Standard Functions manual, see attachment), Siemens Support has prepared a Function Block (as a program library) that you can integrate in your program to read the status of master/ standby CPUs, in PCS 7 CFC blocks. See the following FAQ: How do you read out the operating state and status of an H system? https://support.industry.siemens.com/cs/ww/en/view/19537149 There are many posts on the forum from users working with SFC51 and H-systems. In the following thread, member Ti, de Bruin proposes a S7 program with a solution you could use (reading the status LEDs of master and standby CPUs). See if it helps. https://support.industry.siemens.com/tf/ww/en/posts/74952/ Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 5/19/2016 2:35:34 PMLast edited by: dchartier at: 5/19/2016 4:08:18 PM |
|
This contribution was helpful to
2 thankful Users |
5/19/2016 4:34 PM | |
Joined: 5/28/2008 Last visit: 9/5/2024 Posts: 4515 Rating:
|
Hello, Please tell us what is the host you have connected to S7-400H. If I assumed that you have a PC+WinCCm then try RSE "Report System Error" Here's bellow the procedure: How do you report S7 system errors in WinCC? For WinCC flexible: How can you have system error messages from a SIMATIC S7-300 / 400 displayed in WinCC flexible? Hope this helps |
Ayman Elotaify |
|
This contribution was helpful to
2 thankful Users |
5/20/2016 7:32 AM | |
Posts: 45 Rating:
|
Hello Ayman, Thank you for kind comments. We are using Siemens OPC server. And, I am not sure that solution with WinCC can work for our case. |
5/24/2016 9:23 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi, Here you find information about the SFC/SFC´s and of course the SFC51. See chapter 34. System Software for S7-300/400 System and Standard Functions Volume 1 and Volume 2 To access the DataRecord on Output-Parameter DR Create a DB that is long enough and contains the stucture of the SSL you want to read out and put a Pointer on Output-Parameter DR that indicates this struture.
I hope you are not writing W#16#xy71. The xy are just placeholder. You can put W#16#0071 for the actual state of your H-system or W#16#0F71 only for SSL Header-Info hope this helps, regards, |
FCK WAR! |
|
This contribution was helpful to
1 thankful Users |
Follow us on