The three pillars of OOP – Encapsulation

Pillars

With the object orientated options we’ve got available with IEC 61131-3 last years the time has come to talk about design patterns and best practices in the world of PLC programming. In this series of three posts ‘The three pillars of OOP’ I will explain the concepts of: Encapsulation, Inheritance  and Polymorphism with some examples in TwinCAT. This post is about the first pillar ‘Encapsulation’.

Read More