PLC implementation of a real-time embedded MPC algorithm based on linear input/output models⁎The authors acknowledge MINERCO and FEDER funds for funding project DPI2016-76493-C3-1-R, and MCIU and FSE for the FPI-2017 grant. This work was partially supported by the European Union's Horizon 2020 Framework Programme for Research and Innovation under grant agreement no. 674875 (oCPS). Issue 2 (2020)