How aklira/freetase2 works
FreeTase2 is a Python client library for IEC 60870-6 TASE.2/ICCP, using libIEC61850’s MMS bindings. Its visible workflow loads client configuration, establishes an MMS connection, builds VCC/association state, then prepares datasets and transfer sets. The common layer defines protocol objects, while data-object classes represent points and controls. The README describes broader ICCP capabilities, including reporting and device control, but the sampled implementation is partial; the server module is only a stub. Connections below reflect shown imports, calls, or README statements.
Main entry points: client.py MMS connection · iccpcommon.py VCC and protocol objects · iccpdataobjects.py Data value objects
Components 9
Client runtime
- Client configuration
tase2/client/client.py - MMS connection
tase2/client/client.py - VCC setup
tase2/client/client.py - Dataset transfer setup
tase2/client/client.py
ICCP model
- VCC and protocol objects
tase2/common/iccpcommon.py - Data value objects
tase2/common/iccpdataobjects.py
Protocol peers
- Server stub
tase2/server/server.py - IEC 61850 MMS
Other components
- Client application
Connections 8
- Client application → Client configuration: provides config
README.md - Client application → MMS connection: uses client
README.md - Client configuration → MMS connection: configures
tase2/client/client.py - MMS connection → IEC 61850 MMS: connects through
tase2/client/client.py - VCC setup → VCC and protocol objects: creates VCC
tase2/client/client.py - Dataset transfer setup → VCC and protocol objects: creates transfer sets
tase2/client/client.py - Dataset transfer setup → Data value objects: creates points
tase2/client/client.py - Data value objects → VCC and protocol objects: extends data value
tase2/common/iccpdataobjects.py