GRASPING AUTOMATIC REGULATION SYSTEMS THROUGH PROGRAMMABLE LOGIC CONTROLLERS