Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Module description

A plugin has been developed to manage status points system. This plugin handles the processing of the following status points system :

...

This module is responsible for managing status points system. It will evolve as new status point are added. 

Status point cyclic

The 104 centers must receive an accessibility status point indicating that the connected RTU is still functional.

This status message is generated and sent cyclically. The details of the sent message and its cycling are determined in the configuration.


Image Modified

PRT.INFO

In case of a loss of connection with the RTU, the idea is to inform the Center that the connection has been lost. This information is sent as follows:

  • A 0 is sent when the RTU is disconnected.
  • A 1 is sent to the Center after the end of the GI from the RTU, triggering a request for GI from the Center.

Therefore, the plugin must detect the disconnection of the RTU and the end of the GI issued by the South service to send the information to the Center. In this case, the plugin must create and send a unique and specific datapoint to the North, which will, in turn, transmit it to the Center. This datapoint should be present in the Exchanged_data configuration, tagged with the subtype prt.info.

Since this information is configured as fugitive, it is not necessary to reset the piloting to 0.


Image Modified

Configuration

Status point cyclic

The configuration of a status point cyclic is present in the Exchanged_data configuration.

...

Code Block
languagejs
 {
	"label" :"GAMBS_0_TS-SYST_ACCES",
	"pivot_id" :"xxx",
	"pivot_type" :"SpsTyp",
	"pivot_subtypes" : ["prt.inf"],
	"protocols" :[
	   {
		  "name" :"hnzip",
		  "typeid":"yyy",
		  "address":"zzz"
	   }
	]
 }


Also, a new attribute is configured for PRT.INFO. This attribute allows naming the status reading of the monitored South service.

The format of this attribute is a "string":

"asset": "CONSTAT-1"

Where:

  • "asset" is the name of the status transmission asset.

Filtering rules

Status point cyclic

...

The readings are transmitted without verification or modification.

Data processing

Status point cyclic

Input

The cycling of the status point is not conditioned by the reception of data by the module.

Ouput

For each status point configured to be sent cyclically, the generated data is as follows:

For a Simple type data:

  • PIVOT.GTIS.<TypeDataInExchangedData>.stVal = True
  • PIVOT.GTIS.<TypeDataInExchangedData>.t.SecondSinceEpoch (Timestamp of the gateway)
  • PIVOT.GTIS.<TypeDataInExchangedData>.q.Source = substituted
  • PIVOT.GTIS.TmOrg.stVal = substituted

The type of the status point is read directly from the exchanged_data configuration.

PRT.INFO

Input

The plugin listens to the status reading of the associated South service.

...

If the "gi_status" is in the "finished" state, the plugin must generate a status piont configured with the value 1.

Output

The plugin generates the status point in its output as follows:

  • For a Simple type data:
    • PIVOT.GTIS.Cause.stVal = 3
    • PIVOT.GTIS.Identifier = Identifier from the configuration
    • PIVOT.GTIS.<TypeDataInExchangedData>.stVal = True
    • PIVOT.GTIS.<TypeDataInExchangedData>.t.SecondSinceEpoch (gateway timestamp)
    • PIVOT.GTIS.<TypeExchnagedData>.q.Source = substituted
    • PIVOT.GTIS.TmOrg.stVal = substituted

The type of the status point is read directly from the exchanged_data configuration.