iec104-python
iec104-python copied to clipboard
A Python module to simulate SCADA and RTU communication over protocol 60870-5-104 to research ICT behavior in power grids.
Hello When I run the example simple_client.py I get a ` if command.transmit(cause=c104.Cot.ACTIVATION): ^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'transmit' ` I couldn't run other commands neither, like C_SC_NA_1...
I am trying to launch a server and a client at the same time. The exchange of data is a M_ME_NC_1 (Measured value, short floating point number). I used Wireshark...
Hello and congratulations on this implementation in python. (i think is the first complete implementation of 60870-5-104) I don't know if this is an issue, or there is an existing...
Hello. I noticed that when the commands client.stop(), client.reconnect_all(), and connection.close() are called without a valid connection between client and server, the execution of the Python script stops immediately, not...
In my `c104.Server`, I added a `c104.Type.C_SC_NA_1` point, and attached an `on_receive` callback function to it. In the callback function, I cannot read the `message.raw` property (e.g. simply: `raw =...
**Overview:** Currently, the server lacks the capability to transmit Single Event of Protection (SEP) messages, which limits its functionality in researching critical scenarios. This feature request proposes enhancing the server...
At station.add_point this is writen on the documentation: io_address ([int](https://docs.python.org/3/library/functions.html#int)) – point information object address (value between 0 and 16777216) I tried to use io_address=0 and I get error message:...
Hi, I am experiencing an issue with the examples/simple_server.py: After a short time (few seconds) the iec104 server would crash with the following error: terminate called after throwing an instance...
Hello! I am new in c104. I'am trying to emulate all iot's for testing our industial prtocols firewall and I already emulated most of them. But when I try to...
Hello, I would like to ask how is it possible to set the timing parameters t0,t1,t2,t3, k,w according to IEC 60870-5-104 using the c104.