Professional Documents
Culture Documents
Generic System Supervision
Generic System Supervision
DocNo/Rev. Page 1 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Contents
1 INTRODUCTION ................................................................................................... 5
DocNo/Rev. Page 2 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Dependencies ................................................................................................. 37
Mapped subdrawings ...................................................................................... 37
DocNo/Rev. Page 3 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
0 Revision History
Date Version Description/Changes Written Approved
by by
21.04.2017 1.0 First version AnBr
05.11.2017 1.1 Added functions for global memory pool AnBr
supervision and parallel queue supervision
DocNo/Rev. Page 4 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
1 Introduction
This document describes two SA-LIB addon functions:
- ICMP (ping) Supervision
o Sends a ping request to given device. The function can generate alarm
when it’s connected or disconnected.
- Windows Service Supervision
o Generates alarm in case abnormal state is entered for a given Windows
Service. The abnormal state can be configured as running or not running.
- Windows Process Supervision
o Generates alarm in case abnormal state is entered for the Windows
Process. The abnormal state can be configured as running or not running.
Additionally this function can also keep a count on how many processes
with the same image name is running. If that count differs from configured
count, an alarm is generated.
- System Uptime
o Indicates SYS600 system uptime for up to the last 10 years. The indications
show daily, weekly, monthly and yearly uptime in percent.
- SYS600 Global Memory Pool Supervision
o Logs SYS600 system global memory pool usage. Trends are analyzed and
a continous increasing usage of memory will cause alarms. Trends are
analyzed both for a 1h time period.
All functions support Hot Standby Server Configurations. For the Process and Service
Supervision functions, this means that alarm is also generated if a service or process
on the Standby server enters an abnormal state.
DocNo/Rev. Page 5 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Operation
The only user interaction with these functions is alarm indication and
acknowledgement. The indications are typically LED-type symbols or texts. Clicking
these symbols will allow authorized users to acknowledge the alarm.
Below is a few of the available symbols.
DocNo/Rev. Page 6 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Configuration
The functions are installed through the standard interface in Object Navigator. Once
the SA-LIB Addon package has been installed, the functions are available under
- Standard Functions > SA_LIB > Supervision > Windows Service Supervision
- Standard Functions > SA_LIB > Supervision > Windows Process Supervision
Configurable Attributes
Some of the configuration attributes are known from the standard SA-LIB functions.
They also have the same meaning as for other SA-LIB functions. These are listed in
the table below.
Attribute name Description
DocNo/Rev. Page 7 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Examples:
Service or Process Name Generated P_OBJECT_LN
PROCESS_NAME: notepad.exe WINPRO_NOTEPADEXE
PROCESS_NAME: my app.exe WINPRO_MYAPPEXE
SERVICE_NAME: pla WINSVC_PLA
SERVICE_NAME: WINSVC_MSSQLPCMSERVER
MSSQL$PCMSERVER
DocNo/Rev. Page 8 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
The Object Identifiers are not used, except STATION_NAME which is automatically set
to the System Name (SYS:BCX attribute).
DocNo/Rev. Page 9 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Test by starting Internet Explorer. Within 30 seconds you should get an alarm:
Display:
DocNo/Rev. Page 10 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
You can also add same symbols in a display as for the Windows Process function.
Alarming:
DocNo/Rev. Page 11 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
DocNo/Rev. Page 12 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
DocNo/Rev. Page 13 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Dependencies
api_update.txt
API_SALIB:C
Mapped subdrawings
04 - SA_Indication\Tripping.sd
20 - NAM_Indications\LED OX Left.sd
20 - NAM_Indications\LED OX Right.sd
20 - NAM_Indications\LED Status OX Left.sd
20 - NAM_Indications\LED Status OX Right.sd
20 - NAM_Indications\LED Status.sd
20 - NAM_Indications\LED.sd
20 - NAM_Indications\Square LED OX Left.sd
20 - NAM_Indications\Square LED OX Right.sd
20 - NAM_Indications\Square LED Status OX Left.sd
20 - NAM_Indications\Square LED Status OX Right.sd
20 - NAM_Indications\Square LED Status.sd
20 - NAM_Indications\Square LED.sd
20 - NAM_Indications\Status Tag Letters.sd
21 - NAM_Alarms\Alarm Tag Background Status Color.sd
21 - NAM_Alarms\Alarm Tag Text Status Color.sd
21 - NAM_Alarms\Alarm Tile.sd
21 - NAM_Alarms\LED Alarm Descr Left.sd
21 - NAM_Alarms\LED Alarm Descr Right.sd
21 - NAM_Alarms\Square LED Alarm Descr Left.sd
21 - NAM_Alarms\Square LED Alarm Descr Right.sd
21 - NAM_Alarms\Square LED Alarm.sd
21 - NAM_Alarms\LED Alarm.sd
DocNo/Rev. Page 14 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Operation
Configuration
The function is installed through the standard interface in Object Navigator. Once the
SA-LIB Addon package has been installed, the function is available under
- Standard Functions > SA_LIB > Supervision > ICMP (PING) Device Supervision
Configurable Attributes
DocNo/Rev. Page 15 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
ICMP_192_168_1_5
ICMP_WORKSTATION01
ICMP_WWWABBCOM
Example configuration
DocNo/Rev. Page 16 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Application Objects
DocNo/Rev. Page 17 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Files
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
Dependencies
api_update.txt
API_SALIB:C
Mapped subdrawings
04 - SA_Indication\Tripping.sd
20 - NAM_Indications\LED OX Left.sd
20 - NAM_Indications\LED OX Right.sd
20 - NAM_Indications\LED Status OX Left.sd
20 - NAM_Indications\LED Status OX Right.sd
20 - NAM_Indications\LED Status.sd
20 - NAM_Indications\LED.sd
20 - NAM_Indications\Square LED OX Left.sd
20 - NAM_Indications\Square LED OX Right.sd
20 - NAM_Indications\Square LED Status OX Left.sd
20 - NAM_Indications\Square LED Status OX Right.sd
20 - NAM_Indications\Square LED Status.sd
20 - NAM_Indications\Square LED.sd
DocNo/Rev. Page 18 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
DocNo/Rev. Page 19 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
General
This function has a 10 second ‘heartbeat’. Some accuracy is lost whenever the
SYS600 is started and stopped. The accuracy error is max 9 seconds. Total accuracy
depends on how many times the system has been restarted – this function does not
keep track of restarts.
Operation
The system uptime is presented in displays as a normal measurement. Also all the
subdrawings available for normal measurements are also available for system uptime.
The user can set limits etc. from the standard Measurements control dialog.
DocNo/Rev. Page 20 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Configuration
The function is installed through the standard interface in Object Navigator. Once the
SA-LIB Addon package has been installed, the function is available under
- Standard Functions > SA_LIB > Supervision > System Uptime
Configurable Attributes
Example Configuration
DocNo/Rev. Page 21 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
DocNo/Rev. Page 22 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Application Objects
DocNo/Rev. Page 23 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
For example, to get the uptime for this year to date, you can use the following SCIL
code:
@start = pack_time(year,1,1,0,0,0)
@uptime = do(SYS_UPTIME_GET:C,%start)
No need to give an end time because it automatically uses current time. Variable
%uptime will now be a LIST:
DocNo/Rev. Page 24 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Files
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
DocNo/Rev. Page 25 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Dependencies
api_update.txt
Mapped subdrawings
05 - SA_Measurement\Value FG.sd
05 - SA_Measurement\Value FG Basic.sd
05 - SA_Measurement\Value BG.sd
05 - SA_Measurement\Value BBox.sd
05 - SA_Measurement\Value.sd
05 - SA_Measurement\Bar Graph.sd
05 - SA_Measurement\Line Graph 20 Samples.sd
05 - SA_Measurement\Circle.sd
05 - SA_Measurement\Current Transducer IEC.sd
05 - SA_Measurement\Current Transducer IEC H.sd
05 - SA_Measurement\Voltage Transducer IEC.sd
05 - SA_Measurement\Voltage Transducer IEC H.sd
05 - SA_Measurement\Current Transducer ANSI.sd
05 - SA_Measurement\Current Transducer ANSI H.sd
05 - SA_Measurement\Voltage Transducer ANSI.sd
05 - SA_Measurement\Voltage Transducer ANSI H.sd
23 - NAM_Measurements\Tag Value Unit.sd
23 - NAM_Measurements\Tag Value Unit Background Status.sd
23 - NAM_Measurements\Tag Value Unit Background Conf.sd
20 - NAM_Indications\LED Status.sd
20 - NAM_Indications\Status Tag Letters.sd
DocNo/Rev. Page 26 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
General
The global memory pool is accessed by all SYS600 base system processes. It is used
for process and report databases, execution queues, inter-process communication and
so on. The pool is pre-allocated and fixed in size. If it is exhausted, a hot stand-by
switchover is initiated. In a non-HSB system, the kernel tries to continue, but the
application may not function properly.
This function will log the used amount in percentage of the global memory pool and
continously check the trend. Alarms can be set to activate if the trend slope is
increasing too much during a time period. The logged data is stored for 90 days.
Operation
The values can be shown in process displays and you can open the standard
Measurement Control dialog by clicking on the symbol.
The values are shown in Simulated state since they are not connected to any process
units.
An additional detailed control dialog with information and trend curves can also be
opened. Access the control dialog by right-click > Details…:
DocNo/Rev. Page 27 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
NOTE! If you cannot see the Details… menu, try to click to open the Measurement
dialog and then try right-click again.
Control
From this dialog the user can turn the function on and off. Required authorization level
is 1 – Control.
The control button also indicates by colors and text the state of the function.
Colors:
The RUNNING and STOPPED states when everything is ok, the color used is the
Generic state On and OFF colors.
DocNo/Rev. Page 28 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
If something is not quite right (mainly, if the standby server is unreachable in a HSB
system), the Warning status color is used.
By hovering over the button you will get a detailed ‘status message’.
To operate, click on the control button and answer Yes to confirm or No to cancel.
DocNo/Rev. Page 29 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Measurements
Measurements are seen under the server name. There are two measurement values
shown:
If installed on a Hot Standby system, there will be two sets of the values.
Hovering with the mouse over the value will show the latest time stamp of the value. By
clicking on the status button (left side of value), the limits (and blockings) can be set.
DocNo/Rev. Page 30 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
If the value has an unacknowledged alarm, there will be a tab to acknowledge it.
Trends
Trends are shown in graphs. The time span, start and end times can be modified. The
detault time span is approximately 1 hour, but depends on the actual time stamps of
the values.
DocNo/Rev. Page 31 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
All settings are user specific and automatically stored when the dialog is closed. To
restore the default settings, a file sc\apl\’apl name’\PAR\’user name’\sys_gmem.sdb file
should be renamed or deleted by an administrator.
There are two trend curves, note that the trend slope is not shown by default:
The example below demonstrates how to read the trend curves. If the orange curve
(memory pool usage) slope had increased more than the green curve during the last 1
hour, an alarm is generated.
Please note that the Trend Slope curves are not updated at the same time as the
Usage curves, so if e.g. changing the time span it may take up to 30 seconds for the
Trend Slope curves to update.
DocNo/Rev. Page 32 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Configuration
The function is installed through the standard interface in Object Navigator. Once the
SA-LIB Addon package has been installed, the function is available under
- Standard Functions > SA_LIB > Supervision >Global Memory Pool Supervision
Configurable Attributes
DocNo/Rev. Page 33 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
11 The calculated trend factor for the last 1 hour. The trend
factor is calculated using linear regression on the collected
real-time values for the last hour.
Example Configuration
Install on a Hot Standby System. Make sure both Hot and Standby servers are running
and connected. Install from the main application:
Create the process objects. Note that you will only see the process objects for server 1
here, even if you have selected RUN_ON_HSB_SERVERS.
DocNo/Rev. Page 34 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Add to the display, note that only the memory usage is available:
Application Objects
DocNo/Rev. Page 35 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Files
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
DocNo/Rev. Page 36 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Dependencies
Mapped subdrawings
DocNo/Rev. Page 37 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
General
The application queues are used to buffer application object execution, such as
command procedures and data objects. There are five different queues of interest:
- Process Event Queue. Incoming updates of a process object that will run an event
channel are queued here. When this queue reaches its maximum, the incoming
data updates are not accepted, which normally means that the data will be stored in
a buffer of the process device (IED, RTU etc.)
- Time Channel Queue. All objects that are executed by a time channel (and not
assigned to any parallel queues) are queued here.
- Event Channel Queue All objects that are executed by an event channel (and not
assigned to any parallel queues) are queued here.
- Parallel Execution Queues (0..30 queues possible, configurable).
- Delayed Execution Queue. Objects executed by the SCIL statement #exec_after
will use this queue to wait for its execution.
If any of the queues are starting to build up, it could eventually mean that data is lost or
some function stops working. In most cases when this happens, it is caused by a
command procedure that is taking to long to execute and therefore the queues start
building up. The root cause for the long execution time must be investigated.
Using this function, it is possible to catch any problems with the queues before they
overflow. A trend slope factor is calculated and an alarm is generated if the slope factor
is too high (this essentilally means that the queue is growing faster than expected). The
default time period used is 15 minutes.
This function does not have any specific Hot Standby functionality, but can be installed
in both single and hot standby systems. It is always the main application queues that
are supervised, in hot standby system, the watchdog application is NOT supervised.
Operation
The values can be shown in process displays and you can open the standard
Measurement Control dialog by clicking on the symbol. Note that the trend slope factor
can also be shown in process displays, but it is not possible to open the measurement
control dialog.
DocNo/Rev. Page 38 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
The values are shown in Simulated state since they are not connected to any process
units.
An additional detailed control dialog with information and trend curves can also be
opened. Access the control dialog by right-click > Details…:
The detailed dialog can be opened both from the Used and Trend symbols.
NOTE! If you cannot see the Details… menu, try to click to open the Measurement
dialog and then try right-click again.
DocNo/Rev. Page 39 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Control
From this dialog the user can turn the function on and off. Required authorization level
is 1 – Control.
The control button also indicates by colors and text the state of the function.
Colors:
The RUNNING and STOPPED states when everything is ok, the color used is the
Generic state On and OFF colors.
DocNo/Rev. Page 40 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
If something is not quite right (mainly, if the standby server is unreachable in a HSB
system), the Warning status color is used.
By hovering over the button you will get a detailed ‘status message’.
To operate, click on the control button and answer Yes to confirm or No to cancel.
DocNo/Rev. Page 41 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Measurements
Measurements are seen under each of the queue names. There are two measurement
values shown per queue:
3. Queue Usage in percent. This is tha latest logged value. This value is updated
every 10 seconds, except when the control dialog is open it is updated every 2
seconds.
4. Queue Trend. This is a factor showing how much the value has increased (positive
value) or decreased (negative value) during the last 15 minutes. In most cases
values are very small. To calculate this trend, it requires at least 90% good data
samples for the 15 minute period. This means that with 10 second samples, at least
81 of the 90 samples must be good quality. This value is recalculated every 10
seconds.
Hovering with the mouse over the value will show the latest time stamp of the value. By
clicking on the status button (left side of value), the limits (and blockings) can be set.
If the value has an unacknowledged alarm, there will be a tab to acknowledge it.
DocNo/Rev. Page 42 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Trends
Trends are shown in graphs. The time span, start and end times can be modified. The
detault time span is approximately 15 minutes, but depends on the actual time stamps
of the values.
Refer to chapter Trends for Global Memory Pool Supervision for details about the trend
graphs.
There are two trend curves per queue, note that the trend slope is not shown by
default:
Configuration
The function is installed through the standard interface in Object Navigator. Once the
SA-LIB Addon package has been installed, the function is available under
- Standard Functions > SA_LIB > Supervision >Application Queues Supervision
Configurable Attributes
DocNo/Rev. Page 43 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Example Configuration
DocNo/Rev. Page 44 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
There are four different subdrawings available, same as for Memory Pool Supervision:
Application Objects
DocNo/Rev. Page 45 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Files
All files associated with this function are placed in folder sc\sa_lib\base\nam
subfolders.
Dependencies
DocNo/Rev. Page 46 / 47
Generic System Supervision Functions
MicroSCADA Pro ABB Grid Automation
Mapped subdrawings
DocNo/Rev. Page 47 / 47