A software tool that facilitates the teaching/learning of control engineering is presented. This tool consists of a Human Machine Interface (HMI) that communicates an industrial PID controller with personal computer. The control system can be implemented online in Matlab/Simulink and compiled ANSI C scripts. With this HMI, students can easily implement several control strategies such as feedback, cascade, feedforward, fuzzy based controller, etc. Using the HMI, the students do not need to have specialized knowledge on electrical or computer sciences since all the complexities of programming and electrical coupling are hidden. Students can learn faster several approaches using real systems overcoming the gap between theory and practice.