
4. Configuration
154
Function Type
Configurations
Description
Transmission Mode
Freeze by conter-
interrogation command,
transmit spontaneously
It is equivalent to Mode D of counters
acquisition (integrated totals) defined by IEC
60870-5-104.
In this mode, counters' interrogation commands
(freeze) from the control stations will freeze the
counters.
If the frozen values have changed, they will be
reported through events.
Freeze abd transmit by
cunter-interrogation
command
It is equivalent to Mode C of counters
acquisition (integrated totals) defined by IEC
60870-5-104
In this mode, counters' interrogation commands
(freeze) from the control stations will freeze the
counters.
Subsequentials counters interrogation
commands (read) are sent through control
station to gather frozen values.
Table 4-108. Transmission Modes of IEC 60870-5-104 Server Frozen Counters
ATTENTION:
The IEC60870-5-104 standard, section “Transmission control using Start/Stop”, proposes the use of
STARTDT and STOPDT commands to control the data traffic between cliente and server, using
simple and multiples connections. Even that Xtorm supports this commands, their utilization is not
recommended to control data transmission, mainly with redundant CPUs, because such commands
are not synchronized betweeen both redundant CPUs. Instead of using multiple connections between
client and Xtorm server, it is suggested the utilization of NIC Teaming resource to supply redundant
Ethernet channels (physically) and preserve the CPU resourses (control centers by CPU).
Server Diagnostics
The diagnostics and commands of the set IEC 60870-5-1 Server protocol are stored in T_DIAG_
IEC104_SERVER_1 variables, which are described in Table 4-109:
Diagnostic Variable T_DIAG_IEC104_SERVER_1.*
Size
Description
Command Bits, restarted automatically:
tCommand
bStop
BOOL
Disable Driver
bStart
BOOL
Enable Driver
bDiag_01_Reserved
BOOL
Reserved
bDiag_02_Reserved
BOOL
Reserved
bDiag_03_Reserved
BOOL
Reserved
bDiag_04_Reserved
BOOL
Reserved
bDiag_05_Reserved
BOOL
Reserved
bDiag_06_Reserved
BOOL
Reserved
Diagnostics
tClient_X
bRunning
-
BOOL
DNP Server in execution
eConnectionStatus
CLOSED
ENUM
(BYTE)
Communication channel is
closed. Server will not accept
the connection request. ENUM
Value (0)
LISTENING
Server is listening on the
configured port, and there are
no connected clients. ENUM
value (1)
CONNECTED
Client connected. ENUM value
(2)
tQueueDiags
bOverflow
BOOL
Client queue overflow