Network status screen on SCADA

puravdagli

Member
Join Date
Nov 2006
Location
Michigan
Posts
58
Guys,

I am sure this has been done many many times before but I just cant seem to find a good solution to my problem of creating a network status screen on SCADA.

We mostly use Cimplicity, iFix and RSView32 as OPC clients and RSLinx as the OPC server. Networks usually comprise of AB PLCs over Ethernet.

What I am basically trying to implement is to originate some form of "ping" from the SCADA and record the response into a discrete point/tag. I would then like to use this tag to fire alarms and graphically display comm status of different PLCs on a SCADA screen. Many of the PLCs on the network are programmed by others and so I do not have the luxury of adding tags or logic to them.

Another option would be to get status information from RSLinx over OPC. I do not know if RSLinx provides any OPC items that indicate device/topic status. I can monitor the health of the OPC server from the client but is there a way to get status of individual devices/topics?

Appreciate all help.
Thanks.
 
You might be able to modify the following script (from Tek-tips) to do what you want with VBA in RSView.

I'm sure this isn't what you want to hear, but I think Kepware has built in status tags and I know how to easily implement what you're looking for with FactorySQL.

Code:
On Error Resume Next

Dim strTarget, strPingResults
strTarget = "198.162.1.2" 'IP address or hostname

Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshExec = WshShell.Exec("ping -n 3 -w 2000 " & strTarget) 'send 3 echo requests, waiting 2secs each
strPingResults = LCase(WshExec.StdOut.ReadAll)
If InStr(strPingResults, "reply from") Then
  WScript.Echo strTarget & " responded to ping."  
Else
  WScript.Echo strTarget & " did not respond to ping."
End If

edit - the way to run a shell command may be a little different, but the idea is to parse the result then do whatever you need to with the result. I doubt RSView has an available ping library function.
 
RSView32 has some system tags that may do what you want, e.g.

system\ComStatusString1
system\ComErrorString1

Can't help with the other systems, but I would assume they have something similar.
 

Similar Topics

Hello all. I have a remote that uses a 1734-AENTR series C. We had to change it to a new one and, after adjusting the IP and number of slots...
Replies
16
Views
519
Hello. This one is as nerdy as it can get. Never seen this issue before. I am seeing a "Partial Network Fault", for which the specification only...
Replies
10
Views
3,030
Hello I am new to PLCS.net, I have a question here in regards to the Network Status light being solid red on the 1734-AENT. I checked the manual...
Replies
2
Views
1,728
Hi, I'm new on plc's and after spending some time trying to fix this issue I'm almost giving up... need some help. We have a ControlLogix 5555...
Replies
8
Views
3,368
Hello again, I have a 1734 AENT point IO adapter hooked up to an ethernet switch through a NAT device. All of my indicator lights are solid green...
Replies
49
Views
12,847
Back
Top Bottom