These design-patterns come from various sources all around the internet.
I decided to study and rework / translate them into Codesys V3.
The patterns are ideally suited for selfstudy purpose.
Kudo's go out to the original posters!
The 'Patterns of Ladder Logic' translated to CODESYS 3 LD Function Blocks
Original Poster: Scott Whitlock
http://www.contactandcoil.com/patterns-of-ladder-logic-programming/
The 'Abstract Factory' Pattern, converted from TwinCAT3 to CODESYS 3
Original Poster: Stephen Henneken
https://stefanhenneken.wordpress.com/2014/11/16/iec-61131-6-abstract-factory-english/
The 'Builder' Pattern for CODESYS 3
Original Poster: Armando Rene Narvaez Contreras
The 'Command' Pattern, converted from TwinCAT3 to CODESYS 3
Original Poster: Stephen Henneken
https://stefanhenneken.wordpress.com/2016/12/07/iec-61131-3-the-command-pattern/
The 'Decorator' Pattern for CODESYS 3
Original Poster: Armando Rene Narvaez Contreras
The 'Observer' Pattern for CODESYS 3
Original Poster: Armando Rene Narvaez Contreras
The 'Proxy' Pattern for CODESYS 3
Original Poster: Armando Rene Narvaez Contreras
## The -Singleton- Pattern
The 'Singleton' Pattern for CODESYS 3
Original Poster: Armando Rene Narvaez Contreras
Allthough design patterns can ease your life significantly, the best solution is always the simplest (and/ or procedural) solution, no matter what fancy pattern you throw at it!