[r1]: / Tags / The -Command- Pattern / README.md  Maximize  Restore  History

Download this file

10 lines (4 with data), 499 Bytes

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/

In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time. This information includes the method name, the object that owns the method and values for the method parameters.