Versions Compared

Key

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

...

Code Block
languagejs
{
    "data_object":{
       "do_type":"TMA",
       "do_station":12,
       "do_address":71,
       "do_value":-15,
       "do_valid":1
    }
 }

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.

HNZ command representation

This is the command representation of an HNZ message.

AttributeDescriptionExpected valuesMandatory
co_typemessage typeTC, TVCYES
co_addressmessage address
YES
co_valuevalue
YES
co_val_codingcoding of value0 or 1YES

Example for a TC:

Code Block
languagejs
{
    "command_object":{
       "co_type":"TC",
       "co_address":325,
       "co_value":1
     }
 }

...

Code Block
languagejs
{
    "command_object":{
       "co_type":"TC",
       "co_address":49,
       "co_value":1,
       "co_val_coding":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.

Path exploration

In redundant network configuration or generally in cases where several communication paths exist between one client and one server, the path checking exploration mechanism allows the client to try all the paths one by one without making any difference between them. The client uses the first available path. On disconnection this procedure starts again from the beginning.