Module IEC60870_5_104_Master

The class that's used to create and manage IEC60870_5_104 master communication protocol.

Info:

  • Copyright: Debaru Kft. 2017
  • Release:
  • License: GNU
  • Author: Debaru Kft

Functions

IEC60870_5_104_Master () Creates a IEC60870_5_104_Master communication platform.
copy () Copies an existing master device and returns a new class instance.
start () Starts the IEC communication.
type (type) Sets the type of the IEC60870_5_104_Master.
is_connected () Returns a IEC104PointLocatorMaster that the user can test for connection.
is_error () Returns a IEC104PointLocatorMaster that the user can test for error.

Fields

message_fragment_timeout Represents the timeout in ms for message fragmentation.
cot_field_length Represents length of the cause of transmission field.
common_address_field_length Represents the length of the common address field.
ioa_field_length Represents the input-output address field length.
max_time_no_ack_received Represents the time the system waits for an acknowledge to arrive.
max_time_no_ack_sent Represents the time the system waits for an acknowledge to be sent.
max_idle_time Represents the time the system idles until it throws an error.
max_unconfirmed_ipdus_received Represents the number of unconfirmed ipdbus messages that the system tolerates.
dt_wait_time Unknown.
tcp_port Port for the communication.
host_address IP address of the host.
common_address Common address for the IEC communication.
accept_clock_sync Allows the devices to sync their times.

IEC104PointLocatorMaster

assign (tag) Assign an existing tag to a IEC104 master point.
tag () Create a new tag for a IEC104 master point.
address (address) Set address in IEC104 master point locator.


Functions

IEC60870_5_104_Master ()
Creates a IEC60870_5_104_Master communication platform.
copy ()
Copies an existing master device and returns a new class instance.

Returns:

    IEC60870_5_104_Master
start ()
Starts the IEC communication. Must be called once at initialization, after setting up IEC104 points.

Returns:

    bool
type (type)
Sets the type of the IEC60870_5_104_Master.

Parameters:

Returns:

    IEC104PointLocatorMaster
is_connected ()
Returns a IEC104PointLocatorMaster that the user can test for connection.

Returns:

    IEC104PointLocatorMaster
is_error ()
Returns a IEC104PointLocatorMaster that the user can test for error.

Returns:

    IEC104PointLocatorMaster

Fields

message_fragment_timeout
Represents the timeout in ms for message fragmentation.
  • type int (default: "5000")
cot_field_length
Represents length of the cause of transmission field.
  • type int (default: 2)
common_address_field_length
Represents the length of the common address field.
  • type int (default: 2)
ioa_field_length
Represents the input-output address field length.
  • type int (default: 3)
max_time_no_ack_received
Represents the time the system waits for an acknowledge to arrive. Resolution is in ms
  • type int (default: 15000)
max_time_no_ack_sent
Represents the time the system waits for an acknowledge to be sent. Resolution is in ms
  • type int (default: 10000)
max_idle_time
Represents the time the system idles until it throws an error. Resolution is in ms
  • type int (default: 20000)
max_unconfirmed_ipdus_received
Represents the number of unconfirmed ipdbus messages that the system tolerates.
  • type int (default: 8)
dt_wait_time
Unknown. Resolution is in ms.
  • type int (default: 10000)
tcp_port
Port for the communication.
  • type int (default: 2404)
host_address
IP address of the host.
common_address
Common address for the IEC communication.
  • type int (default: 1)
accept_clock_sync
Allows the devices to sync their times.
  • type bool (default: TRUE)

IEC104PointLocatorMaster

assign (tag)
Assign an existing tag to a IEC104 master point.

Parameters:

  • tag Tag
tag ()
Create a new tag for a IEC104 master point.
address (address)
Set address in IEC104 master point locator.

Parameters:

generated by LDoc 1.4.6 Last updated 2023-09-25 09:31:08