How to aceppt multiple master on scada Gateway.

Created by Jose Fabian Solano, Modified on Wed, 02 Mar 2022 at 07:12 PM by Jose Fabian Solano

Only 1 Master can be connected to a DNP Slave channel at a time.

You can configure the Slave to accept a connection from any Master using “*.*.*.*” 

Or

a list if IP addresses:

  172.26.175.22 , 172.26.175.33, 172.26.175.100

PhysComChannel

Sets the Communication Channel. 

Examples: "COM1" , "192.168.1.25" or "ROCKYHILLSUBSTATION" (for a TCP/IP channel)

On Serial port -

     this is the com port name to use

On TCP client -

     this is the host name or IP address to set up TCP connection to

On TCP server -

     this is the host name or IP address to accept TCP connection from

     May be *.*.*.* indicating accept connection from any client

     May also be a list of ';' separated host names or ip addresses

       to allow connections from.

On TCP Dual End Point Device -

     this is the host names or IP address to accept TCP connection from or to connect to.

     May also be a list of ';' or ',' separated host names or ip addresses

       to allow connections from, will only try to connect to the first on the list.

INDICES: [channelIndex=0-249]

PhysComLocalIpAddress

On Client -

      Address to bind socket to. This allows you to specify which IP address

      to send as source address in TCP messages if there are multiple IP Addresses,

      for example when there are multiple Network Interface Cards (NICs).

      if "0.0.0.0" is used the TCP stack will choose which IP Address to use.

      If an address that is not present is specified, the bind will fail and

      the TCP stack will choose which address.

      This address is also used for DNP Master when sending UDP datagrams.

      Binding this address does not guarantee sending on a particular NIC.

      This is determined by the IP Routing Table depending on the destination

      IP Address. You can display this table by entering "route print" in

      a command window. It is possible to add manual routes to cause a particular

      NIC to be used. "route add destIPAddress gateway".

      Enter "route ?" for more details.

 On Server -

      not currently used for listeners.

      (Note: this address IS used for DNP Outstation if configured for UDP ONLY)

DEFAULT: 0.0.0.0

INDICES: [channelIndex=0-249]

When you allow connections from multiple Masters you have the option of how to handle new connect requests when there is already a Master connected:

PhysComDisconnectOnNewSyn[*]=TRUE  // Supported for UDP/TCP DNP ONLY. If TRUE,

                                   // when a new connect indication comes in

                                   // and this channel is

                                    // already connected, it will be marked

                                   // for disconnect. This will allow a

                                   // new connection to come in next time.

                                   // This handles not receiving notification

                                   // of disconnect from the remote end, but

                                   // remote end trying to reconnect.

NOT allowed for DNP:

                                   // If you want to allow multiple

                                   // simultaneous connections to multiple

                                   // channels

                                   // from any IP address to a particular

                                   // port number, this parameter should be

                                   // set to FALSE.

                                       // . Possible values are 0, 1, 'FALSE',

                                   // or 'TRUE'. 

                                    // DEFAULT: TRUE

                                   // INDICES: [channelIndex=0-249]


Created by  Anthony/Fabian

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article