4. Configuration
167
ptDbpVarAdr^.ON:= FALSE;
ptDbpVarAdr^.OFF:= FALSE;
// Returns finished command, only if the command hasn’t changed
IF byCmdType = 100 OR byCmdType = byState THEN
byStatus:= 7;
END_IF
// Next state: initial
byState:= 0;
END_IF
END_CASE
// Checks digital module (DBP point) quality
IF stQuality.VALIDITY <> QUALITY_VALIDITY.VALIDITY_GOOD THEN
// Disable TRIP and CLOSE outputs
ptDbpVarAdr^.ON:= FALSE;
ptDbpVarAdr^.OFF:= FALSE;
// Returns absent module
byStatus:= 4;
// Next state: initial
byState:= 0;
END_IF
// Copy DBP output states to the simple outputs
bON:= ptDbpVarAdr^.ON;
bOFF:= ptDbpVarAdr^.OFF;
General Parameters
To the General Parameter configuration of a Server IEC 60870-5-104 according to Figure 4-76,
follow the Table 4-102 parameters, presented below:
Figure 4-76. Server IEC 60870-5-104 General Parameters Screen
Set the conection mode
with the Connected Client
modules
Defines which CLP’s TCP
port number will be used to
communicate with the
Connected Client modules.
In case the “Connection
Mode” field is setted as
“IP”.
Table 4-102. Server IEC 60870-5-104 General Parameters Cofiguration
Data Mapping
To configure the Server IEC 60870-5-104 data relation, viewed on Figure 4-77 follow the parameters
described on Table 4-103: