DNP30 - CHANNEL CONFIGURATION

Protocol options

image-20240221-130902.png
  • Listening Port– Number of the IP TCP port in which this server mode is in a listening state waiting for a connection.

  • MasterStationID - Number between 1 and 65534, univocal, and corresponds to the address of the master station. Thus, when a master sends a message to this slave, he must enter his address. By default, this field is "65534".

  • Password for commands: To increase security when sending commands, typically initiated only by a change in the state of a tag, you can specify a 9-digit password for the command in client modules. Here, in this server module, the password used by this server module must be specified to generate the command for the client module that will send the command. This password must be the same as that used by the Client module, which is the command recipient.

  • Logging Level - You can choose from this list the way the log works created by the communication module.

Logging level

Messages included

Debug

All messages are logged in the LOG.

Info

Only Info, Warning, and Error messages are logged in the LOG.

Warning

Only Warning and Error messages are logged in the LOG.

Error

Only Error messages are logged in the LOG.

  • Get analog changes by sample - Alternatively, to receive changes to tag values (by using AccessType with WriteEventEnable), you can choose the use of sampling mode by the communication module of changes that have occurred in tags.  In this mode, the current values are checked periodically against the last values sent. In this way, the change is only considered, and the new value is sent to the client if the absolute difference between the current value and the last sent is greater than the Deadband attribute of the tag. For the use of this mode, you must use the AccessType in table Points for these measurement tags, with WriteEventEnable disabled.

The time interval between every two checks will be the one defined in the parameter below, Max time to send analog changes (ms).

  • Max time to send analog changes (ms) - This time is set to the maximum wait for sending a message with changes in analog measures. If, since you started the accumulation of measurements for the same message, this time is exhausted before the arrival of the number of measures defined above, this module will send the message with the measures that have already arrived. This time, per default, is set at 3 seconds. If analog changes by sampling mode are used (see below), this is the time to be used as an interval between two samples.

The communication module servers need to be able to function correctly during periodic calls and even to allow them to control time. Without a continuous stream of calls, its operation will be impaired. Thus, if WriteEventEnable does not use the call, or if a periodic call is not guaranteed, you must create a dummy tag and script to change it periodically and place it with a point with AccesType that triggers a call trigger to the driver.

  • Dnp Level - The maximum DNP level that this module implements, by default, is level 3.

  • Send Unsolicited DNP - If chosen, ENABLED indicates to the communication module that it can send unsolicited messages to the client.

  • TLS Enable - cryptographic security usage can optionally be defined in communication-based on the TLS - Transport Layer Security standard. In this case, both the Client and server should use the option Enabled and fill in the next three options with the names of text files containing keys and certificates to be used in communication. These files should be placed in the subdirectory where this project is located.

    • Tls Own Key - File name with own key

    • Tls Own Certificate - File name with the server's own local certificate.

    • TLS CA Certificate - File name with a certificate for chain validation

Use timestamp for Analog - By default, this field is Disabled, defining that all analog data sending (types AI and AIF) will be sent with variants without timestamp. If you want these types to be sent (in unsolicited data) with a timestamp, choose the Enabled option. In static data, such as responses to Class 0 requests, all points will always be sent without a timestamp.

Settings

TCP/IP channels:

  • ServerMode and AcceptUnsolicited are pre-marked and cannot be changed;

  • Listeningport - One must set the port on the micro where this slave channel will accept connections.

  • MaxSimultaneousConnections- It must be 1.

  • ShareNodeSameIP: Accepts IED ́s with the same IP.

Figure 3 - TCP/IP Settings

Timeout

Sets timeouts for the transmission and receipt of messages characters and the number of retries.

Figure 4 - Timeout Attributes

Home State

Sets how the channel will start: enabled or Disabled. If the channel is disabled, no messages will be sent or received through it, i.e., the channel will be inactive.

Figure 5 - Initial State of the Channel

On this page: