Embedded Real-time Controllers for Industrial Distributed Control Systems