Yet another demonstration for my students: ILC on PLC. An exemplary CoDeSys project included. It's a hardware-in-the-loop (HIL) simulation. The target is EATON EC4P-200 easy Control PLC. It is also possible to run the program in a simulation mode provided in XSOFT-CODESYS. Please visit http://www.eaton.eu/Europe/Electrical/ProductsServices/AutomationControl/AutomationControlVisualization/AutomationSoftware/CODESYS/ to get it for free (the demo version). An equivalent Simulink model as well as a pure m-code model are also included. More examples at http://ufnalski.edu.pl/zne/codesys_examples/ .
counter: WORD := 1; (* A big thanks goes to my colleague Remigiusz Olesinski for pointing this out. *)
More examples at http://ufnalski.edu.pl/zne/codesys_examples/ .