3/30/2014 7:16 AM | |
Posts: 515 Rating: (56) |
hi, you may also try the same described in the below thread HMI n/w status with other multiple HMI. |
This contribution was helpful to1 thankful Users |
3/30/2014 7:48 AM | |
Posts: 67 Rating: (1) |
I do not understand PLC. It is my another team. Does this method very easy to be configured? Is there any method with tag redundacy or via script? |
5/30/2014 11:25 AM | |
Posts: 291 Rating: (68) |
Hello ucon89, How about trying to ping the remote PC? since it has been shutdown :D If the PC is not reachable, we may set a boolean tag to be 1 to triger an Alarm. I have attached my VB-Script for pinging as the attached text file. Please copy them into your .bmo file and calling it by: '=============================================== '-------------For detecting the connectivity with RemotePC----------------------------------------- Dim RemotePC_IPAddress, My_PingResult Dim MyAlarm RemotePC_IPAddress = HMIRuntime.Tags("RemotePC_IPAddress").Read My_PingResult = ToPing_AnIP(RemotePC_IPAddress) HMIRuntime.Trace "MY_PingResult to " & RemotePC_IPAddress & " = " & vbTab & My_PingResult & vbCrLf HMIRuntime.Tags("RemotePC_IP_PingStatus").Write Trim(My_PingResult) On Error Resume Next If My_PingResult <> "Success" Then HMIRuntime.Tags("RemotePC_IP_Disconnected").Write 1 Else HMIRuntime.Tags("RemotePC_IP_Disconnected").Write 0 End If If Err.Number <> 0 Then HMIRuntime.Trace "Error#" & CStr(Err.Number) & Space(1) & Err.Description Err.Clear End If On Error Goto 0 '=============================================== Good luck,
Komi AttachmentCode_PingAnIP.zip (111 Downloads) |
This contribution was helpful to2 thankful Users |
5/30/2014 9:03 PM | |
Joined: 10/3/2010 Last visit: 5/17/2024 Posts: 1552 Rating: (188) |
ucon89, the above replies are quite possible but in fact WinCC in a redundant system has this function built-in. Open Alarm Logging editor in WinCC Explorer, go to menu Tools > WinCC System Messages and enable system messages. Detailed information on WinCC Redundancy system messages and system tags is available in the WinCC Information System in the path "Configurations > Redundant Systems > Attachment". Also read the Redundancy Manual, chapter 4-Appendix - System Messages of WinCC Redundancy http://cache.automation.siemens.com/dnl/TQ/TQ0NTk4NDEA_1144400_HB/Redun_e.pdf |
B r g d s , |
|
5/31/2014 5:12 AM | |
Posts: 67 Rating: (1) |
'=============================================== Good luck, Komi wow, thanks. But my problem already solve with PLC. If PLC not detect in 5 seconds, it will give trigger 1 to another tag. But, I think your answer will be useful for other user.
You are rock guys, thanks for your answer. |
This contribution was helpful to1 thankful Users |
Follow us on