This paper presents a hardware and software architecture for the development of educational laboratories, through the connection of real Programmable Logic Controllers (PLCs) to industrial virtual plants. In addition, to illustrate the use of the proposed architecture, two laboratories based on a bottling plant and the automatic irrigation process of a greenhouse using Modicon M340 PLCs of Schneider have been developed. Moreover, real feedback results from students of the Bachelor degree in agricultural engineering degrees are provided and analyzed. © 2015 Wiley Periodicals, Inc Comput Appl Eng Educ 24:335–346, 2016; View this article online at http://www.wileyonlinelibrary.com/journal/cae; DOI