Connx loss and GI failure handling
Feature abstract
In some cases of malfunctions, the iec104 slave will not respond to the connection establishment request or will not respond to the general interrogation request from the iec104 master. In this case, the iec104 gateway is expected to inform the centre about the data quality and/or close the connection with the centre if this mode has been activated.
Processing diagram
Configuration
IEC104 south plugin
gi_time: time to wait for General Interrogation (GI) completion (time between each consecutive step of the GI fail handling process)
south_monitoring.asset: asset name used to send the connection and gi status information to the north
Structure of the south event readings:
{
"south_event": {
"connx_status": "not connected",
"gi_status": "idle"
}
}Trigger GI request from center
In the case of connection loss with the RTU, the idea is to inform the Center that the the connection has been lost.
This is done by the Notification plugins, designed to read south event readings emitted by the south plugin and emit in turn a new reading. This new reading is a system status point, configured in tandem with the center in order for it to trigger a General Interrogation on the north side once received. The mecanism in described in detail on the page System status points .
IEC104 north plugin
"mode":
"accept_always": accept connection or maintain connection with center independently from the south asset connection status
"accept_if_south_connx_started": accept connection or maintain connection with center only if south connection is established and running
south_monitoring.asset[]: array of assets name used to monitor the connection and gi status information from the south
Structure of the south event operation to request latest status:
"request_connection_status"