This is a full example project which includes a working sample project that publishes scalars and arrays using OPC UA including TwinCAT Vision Images (derived from TwinCAT Vision ITcVnImage images).
While Beckhoff provides excellent documentation for TwinCAT 3, it often lacks the kind of community-driven support that developers are accustomed to in broader software engineering fields. This ...