Port Server for Port Sharing

You can install the port server software on a ClearSCADA server or remote PC (or use the in-built port server software on SCADA Pack ES) to allow a single port to be used for communications using multiple protocols. This is especially useful on a SCADA Pack ES as there are a limited number of ports available.

There are two possible topologies for port sharing:

The port server setup for port sharing works as follows:

The port used for communicating via many different protocols is set to dynamic mode. This allows different ClearSCADA drivers to communicate via a single serial port. For example, the DNP3 driver and Advanced Modbus drivers can both communicate via the same serial port even though they use different protocols.

When the port server receives data from an outstation or similar device via the serial port, it places the incoming data in a buffer. It then checks the incoming data for specific protocol signatures—when it recognizes the protocol, it sends the data to the relevant driver in the ClearSCADA server via a TCP/IP connection. Similarly, when the port server receives data from a driver in the ClearSCADA server, it places the data in a queue before sending the data to the relevant outstation. By default, there is a delay of 50ms between each message that is sent. This delay can be changed by altering the registry setting:

  1. Use Regedit to access the PortServer registry settings:

    On a 32-bit system:

    HKEY_LOCAL_MACHINE\SOFTWARE\Schneider Electric\ClearSCADA\PortServer

    On a 64-bit system:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Schneider Electric\ClearSCADA\PortServer

  2. Change the InterMessageDelay.

 

To configure a port server for port sharing:

  1. Install the Port Server Software.
  2. In ClearSCADA, configure a direct channel of the relevant type for each protocol that is to be used by the serial port. Configure the direct channels are so that their:
    • Connection Type is set to Remote Serial
    • Node Name is set to:
      • localhost (when the port server is installed on the ClearSCADA server/a SCADA Pack ES)
      • The name/address of the remote PC (when the port server is installed on a remote PC).
    • Port is set to the same port on each channel (this has to be the port that is to be shared)
    • Shared setting is enabled.

    You will need to configure one channel per protocol and should apply the same settings to each of the channels (Baud Rate, Data Bits etc.). The channels can be of any of the following protocols:

    • DNP3 (including WITS)
    • IEC 60870 (101 and 104)
    • Modbus ASCII
    • Modbus RTU (including Advanced Modbus, SCADAPack Modbus, and SCADAPack Realflo).

    For more information, see Create the Channels in the Database.


Disclaimer

ClearSCADA 2017 R2