International audienceIn the context of ELearning, remote handson training has become an insisting need as in traditional learning, especially in scientific and technical disciplines. Electronic Laboratories (ELabs) have been growing for the last few years. LIESP team started in 2002 a research aiming to provide a framework which helps towards exchanging ELab learning scenarios when they fit to similar apparatuses (same functions, maybe not the same hardware). Meanwhile, LIMOS team focused on a design process to automate PLC code generation to help to design and generate programs for industrial discrete systems. This paper presents a project of merging these approaches to help ELab designers to design and integrate apparatuses into ELab frameworks when these apparatuses are discrete systems