Skip to Content

ALERT Tunneler Setup 🔒

Plus utilisé car directement dans la section OPC Tunneler et en sous partie.

1. Introduction :

In order to access data of an OPC server, Windows DCOM objects configuration is required on the OPC server host when it is not installed on the same host.

"ALERT Tunneler" module permit an easier interrogation of OPC server data from the remote OPC DA or AE client of ALERT.

 


“ALERT Tunneler” is installed on hosting the OPC server host in order to display the availabled Tags for ALERT client software

 

2. ALERT Tunneler Setup:

2.1 ALERT Tunneler application Setup:

"ALERT Tunneler" module setup of the ALERT solution must be done on OPC server host.

Run the "ALERT Tunneler" setup and accept the execution by clicking the "Yes" button:


Click on "Next" button:


Check or change the location of the setup folder, this folder contains the folder "AlertTunneler" including the following files:

  • the configuration file « AlertTunneler.cnf »
  • the executable « AlertTunneler.exe »
  • The setup file for service « AlertTunneler_ServiceInstall.bat »
  • The uninstallation file for service « AlertTunneler_ServiceUninstall.bat»
  • the dll file « m_OPC_Tunneler.dll »

​Click on "Next" button:


Check or change the location of the data storage folder, this folder contains the folder

"AlertTunneler" including the following files:

  • ALERT Tunneler logs
  • the "AlertTunneler.ini" options file
  • the "m_OPC_Tunneler.ini" options file

Then click on "Install" button:


Wait the end of setup and then click on the "Next" button:


If you do not want to launch ALERT Tunneler at the end of this installation, uncheck the "Launch Alert Tunneler" option, then click on "Finish" button:


If the "Launch Alert Tunneler" option was checked "Alert Tunneler" will be executed in a "Terminal":


2.2 ALERT Tunneler setup as service :

Navigate to the folder:

« C:\Program Files\Micromedia\AlertTunneler » for a 64-bit installation

or

« C:\Program Files (x86)\Micromedia\AlertTunneler » for a 32-bit installation


Do a right click on the "AlertTunneler_ServiceInstall.bat" file, then select "Run as administrator":


"AlertTunneler_ServiceInstall.bat" file is executed in a terminal, when the installation is complete enter "y" if you want to start the service immediately otherwise enter "n" then press the "Enter" to validate:


The result of the execution of the "AlertTunneler" service is specified at the bottom of the terminal window:


Press a key to make the window disappear.

3. ALERT Tunneler Configuration:

​3.1 « AlertTunneler.cnf » Configuration:

The default location for this file is:
"C: \ Program Files \ Micromedia \ AlertTunneler" on 64-bit systems
or
"C: \ Program Files (x86) \ Micromedia \ AlertTunneler" on 32-bit systems.

This file is used to configure the listening port of "ALERT Tunneler" module and the data folder location :


Options description:

IpPort 

Listening port Configuration of the ALERT Tunneler module.

The default listening port is 2495

DataPathSetting location of the ALERT Tunneler data directory

3.2 « Alert Tunneler.ini » Configuration:

The default location for this file is « C:\ProgramData\Micromedia\AlertTunneler » :


3.3 « m_OPC_Tunneler.ini »Configuration:

The default location for this file is « C:\ProgramData\Micromedia\AlertTunneler » :


4. Communication configuration with ALERT 4.0:

4.1 ALERT Tunneler configuration as data server:

In order to establish communication with the remote "ALERT Tunneler" module, you must declare a new data server. Do a right-click on “Tags”, then click on “Add a data server…”:


In the "Add a data server" window, set the server type to “Generic OPC”, then click on “Source…” button:


The "OPC source selection" window is displayed:


​Click on "Network station" radio button:


In the field next to "Network station", enter the IP address or the computer name of "ALERT Tunneler" module host.
Check the "Tunneler" checkbox and modify the "TCP / IP port" if you are not using not the default one:


Select the type of OPC server to use using the “OPC DA” or “OPC AE” radio button
Click on the “...” button located on the right of the “OPC server” field in order to display the list of remote OPC servers:


In the displayed window, select the OPC server to connect
Click on the "OK" button:
 


​Click on the "OK" button:


The new data server appears in the expantion tree under the "Tags" section:


4.2 Communication check beetwin ALERT and ALERT Tunneler :

On "ALERT Tunneler" host (when it run as an application), it is possible to know the status of the connection made by ALERT :


When the client connection (ALERT) is successful, the terminal should display :

  • Connection client accepted: Address=X.X.X.X, Port=XXXX

The OPC mediator is then activated and its execution status is displayed

OPC mediator activationOPC mediator activation
result of OPC mediator activationOPC mediator activation SUCCESSFULL

4.3 Add Tag from ALERT Tunneler :

Select the data server corresponding to "ALERT Tunneler":

Right click on data server name, then click on "Add a Tag":


Click on the "..." button on the right of the "Data path:" field:


Navigate in the expantion tree to display the Tags associated to the selected group in the right side of the window:


Select the item to be monitored, then click on "OK" button:


Click on "OK" button:


Define alarms parameters :


​Click on " OK " button to create the Tag:



4.4 Verification of Tag addition:

When a Tag is add in ALERT, the " ALERT Tunneler " module will display the connection attempt to the OPC server in its Log (Terminal window)

Connection attempt to the OPC server Connecting to OPC DA server "OPC Server Name"
Successful connection to OPC serverConnected to OPC DA server "OPC Server Name"

5. Uninstalling d’ALERT Tunneler :

Navigate to the folder:

« C:\Program Files\Micromedia\AlertTunneler » for a 64-bit installation

or

« C:\Program Files (x86)\Micromedia\AlertTunneler » for a 32-bit installation


Right click on "AlertTunneler_ServiceUninstall.bat" file, then select "Run as administrator":


The file "AlertTunneler_ServiceUninstall.bat" is executed in a terminal, when the uninstallation is finished, press any key on the keyboard to close the terminal window:


6. Troubleshooting :

6.1 Link with OIGateway problem (before ALERT 4.0 R1 B504):

Until the version of ALERT 4.0 R1 B519, the interfacing with an OI.GATEWAY OPC server through the ALERT Tunneler requires the use of the "Registry" option when adding the data server (chapter 4.1) in the interface of ALERT.

The "Registry" option can be activated through the radio button present in the "OPC server selection" window.