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
| 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. |
-
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
-
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.
-
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.
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.
-
dt_wait_time
-
Unknown. Resolution is in ms.
- type
int (default: 10000)
-
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.
- type
bool (default: TRUE)
-
assign (tag)
-
Assign an existing tag to a IEC104 master point.
Parameters:
-
tag ()
-
Create a new tag for a IEC104 master point.
-
address (address)
-
Set address in IEC104 master point locator.
Parameters: