A port of C# Protocol Buffers runtime library to TwinCAT3.
It enables efficient, language-neutral, and platform-neutral data serialization for industrial automation systems.
This allows seamless integration with modern software stacks, facilitates communication between PLCs and external services, and brings the advantages of a widely adopted serialization standard to the TwinCAT ecosystem.
Due to constraints in Structured Text
and real-time environment, not all features of protobuf
are practical or feasible to implement.
See following limitations (for now):
Map fields are not implemented because Structured Text
does not support dynamic data structures efficiently.
Oneof fields are not implemented due to the lack of native support for union types in
see #3Structured Text
.
Unknown Fields are currently not preserved to avoid dynamic allocations. They are just skipped, for now.
Groups are a deprecated feature and are therefore not implemented in this library.
- TcUnit - A unit testing framework for Beckhoff's TwinCAT 3
- protocolbuffers/protobuf - Protocol Buffers - Google's data interchange format