4. Configuration
146
Diagnostic Variable T_DIAG_DNP_SERVER_1.*
Size
Description
dwUnsolEna
DWORD
Mask used to indicate
which classes are enabled
the unsolicited messages.
dwReserved_1
DWORD
Reserved
tStats
wRXFrames
WORD
Number of frames
received
wTXFrames
WORD
Number of frames sent
wCommErrors
WORD
Communication error
counter including errors in
the Physical Layer, Data
Link Layer and Transport
Layer.
dwReserved_0
DWORD
Reserved
dwReserved_1
DWORD
Reserved
Table 4-100. DNP3 Server Diagnostics
Note:
dwUnsolEna:
The
bits
0, 1 and 2 correspond respectively to the bit indicating the status of
qualification of unsolicited messages of classes 1, 2 and 3. When connected indicate that the sending
of unsolicited messages has been enabled for the appropriate class.
Cold Restart Command
The Cold Restart command forces a reboot of the remote. The internal queue events are not lost, that
is, the values of the retentive and persistent variables are not changed. However, the events of the
drivers queue (due to overflow), will be lost. Once the remote is reset, all settings made during the
Runtime will be lost, and the system will return to the original settings made through the MasterTool
software.
Commands for Output Points and Counters
The commands received by the DNP3 Server driver may have the following destinations:
Internal Points
Output Module (e.g. HX2320)
Driver DNP3 Client
Interception (CommandReceiver function block)
The CPU only supports commands to freeze counters in a certain range of points, if they are of
internal type. If this is not the case (points redirected to an IED connected to a DNP3 Client driver for
example), the command will not be accepted. In such cases, freeze each point individually.
Internal Points
Internal points are those ones represented by variables which are not associated to any of the others
destinations described above. For this type of point, the CPU only supports commands for simple
points. If the DNP3 server receives a trip/close command to an internal point, it returns the error code
0x04 (not supported), unless the command interceptor is used.
Output Module
If the variable mapped to the DNP3 output point is associated to an output card (e.g. HX2320), the
command will be redirected and executed by the card itself. In case of trip/close commands, this
redirection will work only if the variable is the of DBP type. If a variable of type BOOL is used, the
DNP3 server returns the error code 0x03 (wrong format) for pulsed commands, as well as when a
Latched command is directed to a BPD variable mapped in the output card. With the interceptation
and treatment of these commands by the application it can be avoided the return of failure messages.