Internal Data Point Types of the Disaster Recovery System
The Disaster Recovery System has two internal data point types:
-
_2x2_FileSync with the instance _2x2_FileSync
-
_2x2_Redundancy with the instance _2x2Redu
-
_2x2_DriverConnectionStates - a data point of this type with the syntax _2x2_Driver_<num> is created automatically and filled for each driver handled by the DRS at start-up of the DRS CTRL manager.
_2x2_FileSync
Data point Element | Data Type | Description |
---|---|---|
Server | dyn_string | Saves all defined computer names for the file synchronization. |
Paraserver | string | Saves the name of the configuration server for the file synchronization. |
Ausnahmedateien | dyn_string | Saves all files excluded from the file synchronization. |
lastUpdates | dyn_string | Saves the data from the last update. |
autoParaServer | bool | The configuration server is determined by WinCC OA (TRUE). A fixed configuration server has been specified by the user (FALSE). |
Verzeichnis | dyn_string | Directories for the projects of each computer defined in Computer name. |
SubProj.SubProjNames | dyn_string | List of registered sub projects (contains the project names). |
SubProj.SubProjDirs | dyn_string | List of directories that are the source directories for each sub project. |
SubProj.SubProjSync | dyn_string | List of sub projects that will be synchronized. |
SubProj.SubProjLastUpdates | dyn_string | List of the last date when manual synchronization was performed for each sub project. |
SubProj.manual | bool |
|
_2x2_Redundancy
Data point Element | Data Type | Description |
---|---|---|
state.otherSys | bool | Displays the current status of each of the others systems - OK (TRUE), not OK (FALSE). |
state.active | bool | Displays whether the local system is the managing (active) system - yes (TRUE), no (FALSE). |
state.errorState | int | Displays the error status number of the active redundancy partner of the local system. |
state.maxErrorState | int | Shows the maximum possible error status number of the local system. |
state.break | bool | Is set to TRUE if the connection to the other system is lost, but its local connection is still running. This information can be used to distinguish between system failures and connection failures. |
state.lostConnTime | dyn_time |
If a connection to the other system or the connection to the RDB/Oracle® database is lost, the times are saved here. |
state.gotConnTime | dyn_time |
When the connections to the RDB/Oracle® database and to the other system are re-established, the times are saved here. |
state.dbConn | bool | Displays whether the active server of the local system has a connection to the Oracle® database. |
state.histSyncDone | dyn_int | Saves the status of the synchronization for each time interval between loss and reconnection. |
state.PSSValues | dyn_int | Values in the PSS database for each time interval between loss and reconnection. |
state.SSSValues | dyn_int | Values in the SSS database for each time interval between loss and reconnection. |
state.splitModeOn | bool | Displays whether the active server of the local system is running in split mode - yes (TRUE), no (FALSE). |
state.PSSActiveHost | string | Active host on the PSS. |
state.ManagerState | int |
State of the Disaster Recovery System Manager. 0 => unknown state 1 => start / initialize 2 => started / running |
state.AsciiState | bool |
Status of the ASCII Manager of the DRS Configuration Synchronization FALSE => ASCII Manager stopped (Import / Export stopped) TRUE => ASCII Manager running (Import / Export started) |
state.SystemFaultTime | time |
Timestamp of the Error/Switching of the system. Caution The timestamp is reset to the value 0 (1.1.1970) when the connection between the DRS is re-established. |
state.maxOfflineErrorState | int | Maximum error state during a system failure. |
state.projectWasStopped | bool | Shows the information whether the entire project or just the DRS CTRL manager was restarted. The state is set when the DRS CTRL manager is started. |
cmd.switch | bool | If TRUE, then a system switchover is carried out. |
cmd.sendAll | bool | If TRUE, then a general synchronization of the online data and the alert status is carried out. |
cmd.restart | bool | If TRUE, the connection to the local system is restarted. |
cmd.ascExp | bool | If TRUE, then an ASCII export is performed on the local system for the configuration synchronization. |
cmd.histSync.from | time | Sets the start time for a historical synchronization. This is always set simultaneously with histSync.to. |
cmd.histSync.to | time | Sets the end time for a historical synchronization. This is always set simultaneously with histSync.from. |
cmd.ascImp | bool | If TRUE, then an ASCII import is performed on the local system for the configuration synchronization. |
settings.lastExportedTime | time | Saves the time of the last ASCII export of the configuration synchronization. |
settings.driver | dyn_uint |
Defines the driver mode for the driver managers managed by the DRS (according to the order in settings.handleManager): 0 -> Start / Stop - drivers are stopped and started using simulation drivers 1 -> Active / Passive - driver connections are set to active/inactive. 2 -> Active / Standby - driver connections are set to active/Standby (alive check of the driver connection). Supported only for IEC 104 drivers. |
settings.handleManager | dyn_string | List of all numbers of managers that will be started when the system is set to active and stopped when it is set to passive.
Syntax: <idx>;<manager>;<no>;<options> <idx> - manager index according to Console <manager> - manager name <no> - manager number <options> - manager options |
settings.simDriver | dyn_string |
List with all of the numbers of the simulation driver managers that are started when the system is set to passive. Syntax: <idx>;<manager>;<no>;<options> <idx> - manager index according to Console <manager> - manager name <no> - manager number <options> - manager options |
settings.PSSprojName | string | Project name on the PSS. |
settings.SSSprojName | string | Project name on the SSS. |
settings.PSSAscExp | string | Directory where the ASCII export files for the configuration synchronization are saved. |
settings.SSSAscImp | string | Directory where the ASCII import files for the configuration synchronization are saved. |
settings.PSSsrv1 | string | Name of the first PSS server. |
settings.PSSsrv2 | string | Name of the second PSS server. |
settings.SSSsrv1 | string | Name of the first SSS server. |
settings.SSSsrv2 | string | Name of the second SSS server. |
settings.ascInternal | dyn_string | List of internal data point types whose original values are synchronized cyclically. |
settings.PSS_System | string | WinCC OA system name of the PSS. |
settings.SSS_System | string | WinCC OA system name of the SSS. |
settings.dpSync | dyn_string | List of the data points that are synchronized at runtime. |
settings.ascIntervall | int | Time interval in minutes at which the configuration is synchronized. |
settings.switchDelay | int | The delay before an automatic system switchover is performed when both systems are running and connected to each other (e.g. failback). |
settings.fileIntervall | int | Time interval in minutes during which the file synchronization is performed. |
settings.PSS_Client | string | The name of the client project on the PSS. |
settings.SSS_Client | string | The name of the client project of the SSS. |
settings.dpsNotReplicated | dyn_string | List of the data points whose values are not synchronized. |
settings.allowAutomicSwitch | bool | If TRUE, then the automatic switching to the PSS is allowed when both systems are running. |
settings.managerStartDelayTime | int | The delay time between the individual manager starts (hierarchical start) in case of a system switchover. |
settings.PSSOraDbName | string | Name of the Oracle® database on the PSS. |
settings.SSSOraDbName | string | Name of the Oracle® database of the SSS. |
settings.oraUserName | string | The user name of the database user. |
settings.oraUserPass | string | The password of the database user (encoded). |
settings.prefClientSys | string | Currently not in use. |
settings.useServerProj | bool | Indicates whether the client uses the same project names as the server (TRUE) or own ones (FALSE). |
settings.automaticClientSwitch | bool | Specifies whether the visualization on the client is switched automatically (currently not in use). |
settings.maxParaFileNum | int | Specifies the maximum number of ASCII files used to cache the data points exchanged between the systems. For more information, see the description of Configuration - Step 4 - Internal DPTs Synchronization. |
settings.maxParaFileSize | int | Specifies the maximum size of ASCII files used to cache the data points exchanged between the systems. For more information, see the description of Configuration - Step 4 - Internal DPTs Synchronization. |
activation.syncActivated | bool | The synchronization of the online values and the acknowledgement states is active (TRUE). |
activation.ascActivated | bool | The synchronization of the configuration data is active (TRUE). |
activation.fileActivated | bool | The synchronization of the project files is active (TRUE). |
alarm.fileSyncAlarm | int | Impulse alert if any problems occur during the file synchronization. |
alarm.paraSyncAlarm | int | Impulse alert if any problems occur during the configuration synchronization. |
alarm.histSyncAlarm | int | Impulse alert if any problems occur during the historical database synchronization. |
alarm.onlineValueSyncAlarm | int | Impulse alert if any problems occur when the setting the online values on the SSS. |
alarm.distConnection | bool | Displays the connection status between the PSS and the SSS. If the connection is interrupted (FALSE), an alert is triggered. |
client.number | uint | Number of the client who dispatched the command or for whom the command is intended |
client.userInfo | string | Encrypted user information. |
client.command | string |
Command that is passed or that is expected, the following commands are implemented:
|
_2x2_DriverConnectionStates
Data point element | Data type | Description |
---|---|---|
ConnectionNames | dyn_string | List of connection names of the respective driver. |
ConnectionActiveStates | dyn_uint |
Indicates the state of the driver connection: 0 -> passive 1 -> active 2 -> standby (for IEC 104 drivers only) |
DriverType | string | Manager name of the driver. |
StandBy | bool |
TRUE -> driver connection is in standby FALSE -> driver connections is active |