DESIGN AND IMPLEMENTATION OF A CONTROL SYSTEM FOR MULTIFUNCTIONAL