Text this: Towards online model predictive control on a programmable logic controller , practical considerations