System tags

System tags are objects, values of which are calculated or detected by the D2000 Server, based on their definition. Values are calculated periodically or on change.

Usage of system tags in D2000 system (examples):

  • controlling output tags in the AUTO mode
  • operands in logical and arithmetical expressions
  • operands in conditions to raise and finish alarms
  • displaying in graphical figures
  • displaying in graphs

In the documented version of the D2000 system, the following system tags are implemented: 

NameTypePeriodMeaning
ActNrDynamicObjectInteger60 sCurrent number of dynamic objects in the system.
ActTagNrIntegeron changeCurrent number of tags in the application.
ActTransListNrInteger1 sNumber of active transactions that have been opened by theD2000 Server.
Act_ClientIntegeron changeNumber of connected clients.
AllocatedMemInteger10 sAllocated memory size [kB].
ArchivChange
not calculatedChange of values in the archive.
CPU_LoadInteger10 s

Processor load [%] of the D2000 Server in the last 10 seconds.

Note: This is the utilization, which is calculated as 100 * (user_time + kernel_time)/10. The value is in the interval <0, 100 * number_of_CPU_cores>.

DayInteger24 hCurrent day
DiskSpaceInteger30 sFree disk space [kB]
FreeMemInteger10 sFree memory size [kB]
HourInteger1 hCurrent hour
IN_QUEUEIntegernot calculatedNumber of requests for D2000 Server
LogFileSizeInteger15 minLog database size [kB]
MinInteger1 minCurrent minute
MonthInteger24 hCurrent month
Pending_Cfg_RqInteger10 sNumber 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_RqInteger10 sNumber of queued write requests for the log database.
Perf_Cfg_RqInteger10 sNumber of executed configuration database write requests per second.
Perf_Kernel_RqInteger10 sNumber of executed requests for the D2000 Server per second (message processing rate per second).
Perf_Monitor_RqInteger10 sNumber of executed log database write requests per second.

ProcAlarmsNr

Integeron changeNumber of active process alarms
SecInteger1 sCurrent second

Signal_Trigger

Booleanon changeStart signal of the trigger. The system will generate an impulse with the TRUE value of this system tag according to the configuration of the system or process alarms - the Raise Signal parameter.
SysAlarmsNrIntegeron changeNumber of active system alarms.
SystemError


System error information. The value of the variable is set by the system - D2000 Server and D2000 system processes. The value of the variable shows the last warning. Each value change sets the process alarm of the object. The text in the columns Event description (the Alarm list window in process D2000 HI) and Incident (the Logging window 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). The occurrence of a system error is signaled by a process alarm, and history is stored in the log database.

SystemWarning



System warning information. The value of the variable is set by the system - D2000 Server and D2000 system processes. The value of the variable shows the last warning. Each value change sets the process alarm of the object. The text in the columns Event description (the Alarm list window in process D2000 HI) and Incident (the Logging window 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). The occurrence of a system error is 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.
SysTimeTime1 sSystem time
TimeFromStart
Relative time10 sTime from starting the D2000 system.

Note: For redundant D2000 systems, it is the running time of HS (Hot Server).

UpTimeRelative time10 sRunning time of a redundant D2000 system.

Note: For non-redundant D2000 systems, UpTime = TimeFromStart.

WeekDayInteger24 hDay of the week
YearInteger24 hCurrent year
Napíšte komentár