An IEC 60870-5-104 (IEC-104) RTU acting as the substation field device in Scenario B. Built on the c104 Python library, it exposes a single breaker on TCP 2404. Classified in AE3GIS as a plc (field device) variant.
c104, in a venv at /opt/venv)root:pass)| Env | Default | Meaning |
|---|---|---|
IEC104_PORT | 2404 | listen port |
IEC104_COMMON_ADDRESS | 47 | IEC-104 common address |
BREAKER_STATE_IOA | 11 | monitored point (M_SP_NA_1): breaker state |
BREAKER_CMD_IOA | 12 | command point (C_SC_NA_1): open/close |
The server starts with the breaker closed.
# the RTU starts automatically (CMD); check it is listening
ss -ltn | grep 2404
Point an IEC-104 client (the c104-hmi image, or a scenario script) at this node's address on 2404 to read and control the breaker. The app is /opt/app/server.py.
Credentials and SSH settings are intentionally weak for an isolated lab. Never reuse outside one.
Content type
Image
Digest
sha256:c63319acb…
Size
76.6 MB
Last updated
9 days ago
docker pull tollan/c104-server