Rapid Gate Module is designed to synchronize data between different Rapid SCADA instances. The module allows to setup a backup server, as well as provides data transfer from SCADA installed on remote locations to the primary SCADA. The module supports an arbitrary number of independent gateways for exchanging information with several Rapid SCADA servers.
Rapid Gate Module is installed in accordance with the general sequence of installing Server modules. The module library file is ModRapidGate.dll. After adding the module, perform several additional actions are needed:
To cofigure Rapid Gate Module, edit the project file ScadaServer\Config\ModRapidGate.xml with a text editor. Note that you usually need to configure the firewall on the target server to allow incoming connections to TCP port 10000.
Briefly consider the contents of the configuration file:
|Gate||Gateway section. The file can contain several such sections|
|GeneralOptions||General gateway options|
|ConnectionOptions||Remote server connection options. Password must be encrypted using the EncryptPassword.exe utility|
|MappingOptions||Defines matching of channel, objects and device numbers between this server and the remote server|
|TransferOptions||Options for transferring data to a remote server|
|CurDataTransferOptions||Current data transfer options|
|ArcDataTransferOptions||Archive data transfer options|
|EventTransferOptions||Event transfer options|
|InCmdTransferOptions||Options that determine receiving telecontrol commands from a remote server|
|OutCmdTransferOptions||Options that determine transferring telecontrol commands to a remote server|
|ArcUploadOptions||Options that determine uploading archives to a remote server|
The upload state of archives is saved during the operation of the module and is restored when the Server service is restarted. The state file is written to the Storage directory. Uploading archives is performed automatically. However, an operator can manually send a command to upload archives for a certain period. The command of the binary type must be sent using the output channel specified in the module configuration.
cmd=ArcUpload minDT=2020-02-18 10:00:00 maxDT=2020-02-18 10:15:00