...
Attribute | Description | Expected values | Mandatory |
---|---|---|---|
name | this identifies the protocol stack | iec104client, iec104server, tase2client, tase2server, 61850client, 61850server, etc... | Yes |
version | version number of the configuration file | 2 digits x.y => x = major change, y = minor change | Yes |
redundancy_groups | array of redundancy groups | Yes | |
redundancy_groups.connections | array of connections of a given redundancy group | Yes | |
redundancy_groups.connections.srv_ip | IP address to remote IEC 104 server | IP address | Yes |
redundancy_groups.connections.port | port number to remote IEC 104 server | default = 2404 | No |
redundancy_groups.connections.conn | establish connection at startup | TRUE, FALSE, default = TRUE | No |
redundancy_groups.connections.start | start data transfer at startup | TRUE, FALSE, default = TRUE | No |
redundancy_groups.k_value | Maximum number of outstanding (unacknowledged) APDU's at a given time | default = 12 | No |
redundancy_groups.w_value | Acknowledge the reception latest after this number of APDU's | default = 8 | No |
redundancy_groups.t0_timeout | time out of connection establishment | default = 1030 | No |
redundancy_groups.t1_timeout | time out for send or test APDU's | default = 15 | No |
redundancy_groups.t2_timeout | time out for acknowledges in case of no data messages (t2 < t1) | default = 10 | No |
redundancy_groups.t3_timeout | time out for sending test frames | default = 20 | No |
redundancy_groups.rg_name | this identifies the redundancy group | Yes | |
redundancy_groups.tls | activation of TLS (see tls configuration chapter for details) | TRUE, FALSE, default = FALSE | No |
orig_addr | Originator Address | default = 0 | No |
ca_asdu_size | size of "Common Address of ASDU" | default = 2 (byte) | No |
ioaddr_size | size of 'Information Object Address' | default = 3 (byte) | No |
startup_time | time to wait for startup completion | default = 180 (seconds) | No |
asdu_size | maximum ASDU size in transmission direction, if set to "0" => maximum possible value is automatically used. | default = 0 (byte) | No |
gi_time | time to wait for General Interrogation (GI) completion | default = 0 (seconds) | No |
gi_cycle | send General Interrogation (GI) cyclically for the specified period of time | default = 0 (seconds), if 0 => DEACTIVATED | No |
gi_all_ca | send a separate GI request to every CA; otherwise a broadcast GI request is used | TRUE, FALSE, default = FALSE | No |
gi_repeat_count | repeat GI for this number of times in case it is incomplete | default = 2 | No |
disc_qual | information object quality in case of interrupted connection | IV = Invalid, NT = Not Topical, default = NT | No |
send_iv_time | time delay before infos are sent as invalid (0 = deactivated) | default = 0 | No |
tsiv | specifies what to do with a time stamp marked as 'invalid' | remove, process, default = remove remove: the time stamp will be removed from the information object process: the time stamp will be processed on regular basis and additionally marked as 'not synchronized' | No |
utc_time | UTC timezone (=TRUE) or local timezone (=FALSE) for time conversion | TRUE, FALSE, default = FALSE | No |
comm_wttag | use commands with time tag (=TRUE) or without time tag (=FALSE) | TRUE, FALSE, default = FALSE | No |
comm_parallel | maximum number of commands to be executed at in parallel (0 = unlimited) | default = 0 | No |
exec_cycl_test | execute cyclical test requests (C_TS_NA_1/C_TS_TA_1) in monitoring direction (=TRUE) or not (=FALSE) | TRUE, FALSE, default = FALSE | No |
startup_state | startup in active mode (=TRUE) or in passive mode (=FALSE) | TRUE, FALSE, default = TRUE | No |
reverse | allow transmission of information objects in reverse direction (=TRUE) or only in standard direction (=FALSE) | TRUE, FALSE, default = FALSE | No |
time_sync | perform time synchronization (=TRUE) | default = 0 (seconds), if 0 => DEACTIVATED | No |
...
Attribute | Description | Expected values | Mandatory | ||||
---|---|---|---|---|---|---|---|
name | this identifies the protocol stack | iec104client, iec104server, tase2client, tase2server, 61850client, 61850server, etc... | Yes | ||||
version | version number of the configuration file | 2 digits x.y => x = major change, y = minor change | Yes | ||||
redundancy_groups | array of redundancy groups | Yes | |||||
redundancy_groups.connections | array of connections of a given redundancy group | Yes | |||||
redundancy_groups.connections.clt_ip | address to local IEC 104 client | IP address | Yes | ||||
redundancy_groups.rg_name | this identifies the redundancy group | Yes | bind_on_ip | bind on a dedicated local IP address | TRUE, FALSE, default = FALSE | No | |
srv_ip | Server IP address | IP address, machine's default IP for a given interface | No | ||||
port | This defines the TCP/IP port to be used by the server. | default = 2404 | No | ||||
tls | activation of TLS (see tls configuration chapter for details) | TRUE, FALSE, default = FALSE | No | ||||
k_value | Maximum number of outstanding (unacknowledged) APDU's at a given time | default = 12 | No | ||||
w_value | Acknowledge the reception latest after this number of APDU's | default = 8 | No | ||||
t0_timeout | time out of connection establishment | default = 1030 | No | ||||
t1_timeout | time out for send or test APDU's | default = 15 | No | ||||
t2_timeout | time out for acknowledges in case of no data messages (t2 < t1) | default = 10 | No | ||||
t3_timeout | time out for sending test frames | default = 20 | No | orig_addr | Originator Address | default = 0 | No |
ca_asdu_size | size of "Common Address of ASDU" | default = 2 (byte) | No | ||||
ioaddr_size | size of 'Information Object Address' | default = 3 (byte) | No | ||||
asdu_size | maximum ASDU size in transmission direction, if set to "0" => maximum possible value is automatically used. | default = 0 (byte) | No | ||||
asdu_queue_size | minimum number of ASDUs that can be stored in the asdu buffer | default = 100 | No | ||||
time_sync | If set on "TRUE" this parameter allows to synchronize the clock of the local computer by the server. If set on "FALSE", the clock is not synchronized. | TRUE, FALSE, default = FALSE | No | ||||
commcmd_exec_timeout | Defines the command execution monitoring timeout in milliseconds. The default setting is 20 seconds. | default = 20 seconds (20 000 ms) | No | ||||
commcmd_recv_timeout | This parameter defines the highest allowable deviation of received command time tag and local clock. If the difference is too big, command is ignored. | default = 0 (disabled) | No | ||||
tsiv | specifies what to do with a time stamp marked as 'invalid' | ignore, process, default = ignore ignore: the time stamp quality 'not synchronized' will be ignored and the time stamp will be processed on regular basis. IV-bit will remain 0 process: the time stamp will be send with IV-bit set to 1 | No | ||||
reset | reset/restart the system on C_RP_NA_1 ASDU (=TRUE) or not (=FALSE) | TRUE, FALSE, default = FALSE | No | ||||
accept_cmd_with_time | If set to 0, then accept no commands with timestamp, if set to 1 accept only commands with timestamp, if set to 2, then accept both | default =1 | No | ||||
filter_orig | accept commands only originated from an authorized originator (=TRUE) or accept all originators (=FALSE) | TRUE, FALSE, default = FALSE | No | ||||
filter_list | List of Authorized Originators | No |
...
Code Block | ||
---|---|---|
| ||
{ "protocol_stack":{ "name":"iec104server", "version":"1.0", "transport_layer":{ "redundancy_groups":[ { "connections":[ { "clt_ip":"192.168.0.10" }, { "clt_ip":"192.168.0.11" }, { "clt_ip":"10.152.1.10" }, { "clt_ip":"10.152.1.11" } ], "rg_name":"red-group-1" }, { "connections":[ { "clt_ip":"192.168.0.10" }, { "clt_ip":"192.168.0.11" }, { "clt_ip":"192.168.0.12" }, { "clt_ip":"192.168.0.14" }, { "clt_ip":"10.152.1.10" }, { "clt_ip":"10.152.1.11" }, { "clt_ip":"10.152.1.12" }, { "clt_ip":"10.152.1.13" } ], "rg_name":"red-group-2" } ], "bind_on_ip":false, "srv_ip":"0.0.0.0", "port":2404, "tls":false, "k_value":12, "w_value":8, "t0_timeout":1030, "t1_timeout":15, "t2_timeout":10, "t3_timeout":20 }, "application_layer":{ "origca_asdu_addrsize":"0"2, "caioaddr_asdu_size":23, "ioaddrasdu_size":30, "asdu_queue_size":0100, "time_sync":false, "commcmd_exec_timeout":20000, "commcmd_recv_timeout":5000, "tsiv":"IGNORE", "reset":falseaccept_cmd_with_time":1, "filter_orig":false, "filter_list":[ { "orig_addr":1 }, { "orig_addr":2 } ] } } } |
IEC 104 datapoint representation
...