Versions Compared

Key

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

...

AttributeDescriptionExpected valuesMandatory
namethis identifies the protocol stackiec104client, iec104server, tase2client, tase2server, 61850client, 61850server, etc...Yes
versionversion number of the configuration file2 digits x.y => x = major change, y = minor changeYes
ied_nameIED nameany non empty stringYes
connectionsarray of connections to IED
Yes
connections.srv_ipIP address to remote IED serverIP addressYes
connections.portport number to remote IED serverdefault = 102Yes
connections.osi.local_ap_titlelocal OSI AP Titleany non empty string following the format "int0,int1,int2,int3", ex: 1,3,9999,23No
connections.osi.local_ae_qualifierlocal OSI AE QualifierintegerNo
connections.osi.remote_ap_titleremote OSI AP Titleany non empty string following the format "int0,int1,int2,int3", ex: 1,3,9999,23No
connections.osi.remote_ae_qualifierremote OSI AE QualifierintegerNo
connections.osi.local_psellocal presentation layer addressvalid PSelectorNo
connections.osi.local_ssellocal session layer addressvalid SSelectorNo
connections.osi.local_tsellocal transport layer addressvalid TSelector No
connections.osi.remote_pselremote presentation layer addressvalid PSelectorNo
connections.osi.remote_sselremote session layer addressvalid SSelectorNo
connections.osi.remote_tselremote transport layer addressvalid TSelector No
read_modedefines how to read data objectsenum do | dataset, default = doNo
reading_perioddefines the reading period in msinteger, default = 1000 msNo

Configuration JSON structure

Code Block
languagejs
{
   "protocol_stack":{
      "name":"61850client",
      "version":"1.0",
      "transport_layer":{
         "connections":[
            {
               "srv_ip":"192.168.0.10",
               "port":8102,
               "osi": {
		         "local_ap_title":"1,3,9999.13",
	             "local_ae_qualifier":12,
                 "remote_ap_title":"1,2,1200,15,3",
                 "remote_ae_qualifier":1,
                 "local_psel":"0x12,0x34,0x56,0x78",
                 "local_ssel":"0,1,2,3,4",
                 "local_tsel":"0x00,0x01,0x02",
                 "remote_psel":"0x87,0x65,0x43,0x21",
                 "remote_ssel":"0,1",
                 "remote_tsel":"0x00,0x01"
               }   
            },
            {
               "srv_ip":"192.168.0.11",
               "port":8102
            }
         ],

      },
      "application_layer":{
		 "read_mode":"do",
         "reading_period":1000
      }
   }
}

Exchanged datasets

Data sets are groups of data attributes (DA) or functional constraint data objects (FCDO). They are used to simplify access to functional related groups of variables. E.g. if you want to read the most important status values of a server you don’t have to ask the server for each individual variable. Instead you define a data set (or most probably use a predefined one) that contains all the required data and request them with a single read with the data set reference as an argument.

Attributes definition

AttributeDescriptionExpected valuesMandatory
dataset_refthis identifies the dataset referenceAny non empty stringYes

Configuration JSON structure

Code Block
languagejs
{
   "exchanged_datasets":{
      "name":"SAMPLE",
      "version":"1.0",
      "datasets":[
         {
            "dataset_ref":"simpleIOGenericIO/LLN0.Events"
         },
         {
            "dataset_ref":"simpleIOGenericIO/LLN0.Events2"
         },
         {
            "dataset_ref":"simpleIOGenericIO/LLN0.Measurements"
         }
      ]
   }
}