RTU#

class wattson.hosts.rtu.rtu.RTU(iec_server_class: Type[IECServerInterface], server_datapoints: list, **kwargs)#

Bases: object

Model of an RTU. The naming of the data points was adopted from the cps-ids package. The “server_datapoints” are those which are used for the “up-stream” communication, hence the communication to the central SCADA entity on the WAN. Implemented features of the entire RTU: - set/set values of datapoints - send periodic updates - receive ASDUs and log them - respond to general interrogation

Methods

__init__

get_104_socket

get_data_point_info

get_value

set_value

start

start_sockets

stop

stop_sockets

wait

__init__(iec_server_class: Type[IECServerInterface], server_datapoints: list, **kwargs)#