...
System tags are objects, values of which are calculated , or detected by process the D2000 Server, based on the basis of their definition. Values are calculated periodically or on change.
Usage of system tags in D2000 system (examples):
- controlling of output tags in the AUTO mode
- operands in logical a and arithmetical expressions
- operands in conditions to raise and finish alarms
- displaying in picturesgraphical figures
- displaying in graphs
The In the documented version of the D2000 system, the following system tags are implemented in D2000 system at the time of creating this documentation::
| Name | Type | Period | Meaning |
|---|
| ActNrDynamicObject | Integer | 60 s | Current number of dynamic |
object | objects in the system. |
| ActTagNr | Integer | on change | Current number of tags in the application. |
| ActTransListNr | Integer | 1 s | Number of active transactions that have been opened |
by | by theD2000 Server. |
| Act_Client | Integer | on change | Number of connected clients. |
| AllocatedMem | Integer | 10 s | Allocated memory size [kB]. |
| ArchivChange |
|
| not calculated | Change of values in the archive. |
| CPU_Load | Integer |
1 | 10 s | Processor load [%] of |
the process a total average processor load which is computed by following formula:the utilization, which is calculated as 100 * (user_time + kernel_time)/ |
TimeFromStart10. The value is in the interval <0, 100 * number_of_CPU_cores>. |
| Day | Integer | 24 h | Current day |
| DiskSpace | Integer | 30 s | Free disk space [kB] |
| FreeMem | Integer | 10 s |
for Win32 - for VMS - Remaining paging file quota of process D2000 Server in pagelets (on Alpha systems) | Hour | Integer | 1 h | Current hour |
| IN_QUEUE | Integer | not calculated | Number of requests for D2000 Server |
| LogFileSize | Integer | 15 min | Log database size [kB] |
| Min | Integer | 1 min | Current minute |
| Month | Integer | 24 h | Current month |
| Pending_Cfg_Rq | Integer | 10 s | Number of queued write requests for the configuration database. These requests may cause a configuration change, alarm blocking or a value change of the object with enabled start value saving. |
| Pending_Monitor_Rq | Integer | 10 s | Number of queued write requests for the log database. |
| Perf_Cfg_Rq | Integer | 10 s | Number of executed configuration database write requests per second. |
| Perf_Kernel_Rq | Integer | 10 s | Number of executed requests for |
process | the D2000 Server per second (message processing rate per second). |
| Perf_Monitor_Rq | Integer | 10 s | Number of executed log database write requests per second. |
| Integer | on change | Number of active process alarms |
| Received_Kernel_Rq | Integer | 10 s | Number of received requests for the D2000 Server per second (message input rate per second). |
| Sec | Integer | 1 s | Current second |
| Kotva |
|---|
| signal_trigger |
|---|
| signal_trigger |
|---|
| Signal_Trigger | Boolean | on change | Start signal of the trigger. The system will generate |
the of TRUE on | this system tag according to the configuration of the system or process alarms - |
the parameter | the Raise Signal parameter. |
| SysAlarmsNr | Integer | on change | Number of active system alarms. |
|
| |
|
| System error information. |
Value | The value of the variable is set by the system - D2000 Server and D2000 system processes. |
Value | The value of the variable shows the last warning. Each value change sets the process alarm of the object. The text in the |
columns | columns Event description (the Alarm list window in process D2000 HI) and Incident (the Loggingwindow in process D2000 HI) for process alarm is controlled by the display mask of the alarm - SM.SystemError (predefined value of the mask is {V} - so it copies the object value). |
Occurrence | The occurrence of a system error is |
signalized | signaled by a process alarm, and history is stored in the log database. |
|
SystemWarning |
|
| System warning information. |
Value | The value of the variable is set by the system - D2000 Server and D2000 system processes. |
Value | The value of the variable shows the last warning. Each value change sets the process alarm of the object. The text in the |
columns | columns Event description (the Alarm list window in process D2000 HI) and Incident (the Loggingwindow in process D2000 HI) for process alarm is controlled by the display mask of the alarm - SM.SystemError (predefined value of the mask is {V} - so it copies the object value). |
Occurrence | The occurrence of a system error is |
signalized by process alarm | signaled by a process alarm, and history is stored in the log database. |
| SystemInfo |
|
| System information. The value of this tag is set by the system - by the D2000 Server, or by other processes of the D2000 system. The value of the tag shows the latest system information. Each value change sets the process alarm of the object. The text in the columns Event description (the Alarm list window in the D2000 HI process) and Incident (the Logging window in the D2000 HI process) for the process alarm is controlled using the alarm display mask "SM._SystemError" (predefined value of the mask is {V}, meaning it copies the object value). The emergence of system information is thus signaled by a process alarm, and history is stored in the log database. |
| SysTime | Time | 1 s | System time |
| Kotva |
|---|
| timefromstart |
|---|
| timefromstart |
|---|
| TimeFromStart | Relative time | 10 s | Time from starting the D2000 system. Note: For redundant D2000 systems, it is the running time of HS (Hot Server). |
| UpTime | Relative time | 10 s | Running time of a redundant D2000 system. Note: For non-redundant D2000 systems |
- UpTime , UpTime = TimeFromStart. |
| WeekDay | Integer | 24 h | Day |
in | of the week |
| Year | Integer | 24 h | Current year |