Embeddable IEC 60870-5-104 stack in pure Java 21
A clean-room IEC 104 library for your own products: interrogation, counter reads and clock sync, tested against third-party IEC 104 peers.
What it is
A clean-room, in-house implementation of IEC 60870-5-104 telecontrol over TCP/IP, written in pure Java 21. It is a set of Maven modules (core, transport, master and test kit) that other products embed; it has no UI, service wrapper or database of its own. The WizIIOT IEC 104 Client Service is built on it. Its only runtime dependency is the slf4j logging API.
How it connects
Key benefits
Nothing extra to ship
Pure Java with no native code, no database and no broker. The slf4j API is the only runtime dependency.
Interoperability tested against other stacks
The master has been run live against a commercial IEC 104 test harness, with the capture kept, and passed a 5-of-5 checklist against an independent third-party outstation.
Scope written down
A user guide and a clause-9-style interoperability profile state exactly which types and functions are implemented and which are not.
Capabilities
- Controlling-station (master) role over TCP: STARTDT, STOPDT, TESTFR, k/w window and t0-t3 timers
- General interrogation with QOI groups and counter interrogation
- Clock synchronisation command
- Monitor types 1, 3, 5, 7, 9, 11, 13, 15, 20 and 21, plus CP56Time2a time-tagged types 30-37
- CP56Time2a 7-octet time tags
- Encoding checked byte for byte against a corpus of test-harness and loopback captures
- Automated suite of 385 tests at the current release
- User guide and clause-9-style interoperability profile
