Versions Compared

Key

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

HNZ connexion initialization

...

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
connectionsarray of connections
Yes
connections.srv_ipIP address to remote HNZ serverIP addressYes
connections.port

port number to remote HNZ server

default = 6001No
remote_station_addrremote server station address6 bitsYes
Inacc_timeouttimeout before declaring the remote server unreachable (DF.GLOB.TS)default = 180 (seconds)No
max_sarmmax number of SARM messages before handing over to the passive path (A/B)default = 30No
repeat_path_Amax number of authorized repeats for path Adefault = 3No
repeat_path_Bmax number of authorized repeats for path Bdefault = 3No
repeat_timeouttime allowed for the receiver to acknowledge a frame, after this time, the sender repeats the frame.default = 3000No
anticipation_rationumber of frames allowed to be received without acknowledgement default = 3No
test_msg_sendtest message code in sending directiondefault = 1304No
test_msg_receivetest message code in receiving directiondefault = 1304No
gi_schedulescheduled time for General Interrogation sendingdefault = 99:99 (disabled)No
gi_repeat_countrepeat GI for this number of times in case it is incompletedefault = 3No
gi_timetime to wait for General Interrogation (GI) completiondefault = 255 (seconds)No
c_ack_timetime to wait before receving a acknowledgement for a control commanddefault = 10 (seconds)No

cmd_recv_timeout

time to wait for bytes when receiving data from the HNZ devicedefault = 100000 (microseconds)No
south_monitoring.asset

asset name used to send the connection and gi status information to the north

default = "CONNECTION-1"No

...

Code Block
languagepy
{
    "data_object":{
        "do_type":"TC",
        "do_station":12,
        "do_addr":71,
        "do_value":1,
        "do_valid":0
     }
 }

Example for a TVC (after receiving ACK):

Code Block
languagepy
{
    "data_object":{
        "do_type":"TVC",
        "do_station":12,
        "do_addr":31,
        "do_value":42,
        "do_valid":0
     }
 }

NB: if an attribute is not required, then it is not put in the output data object, which means that the output object structure always fits the protocol model object type.

...

Code Block
languagepy
{
    "co_type":"TVC",
    "co_addr":31,
    "co_value":142
}

NB: if an attribute is not required, then it is not put in the output data object, which means that the output object structure always fits the protocol model object type.

...