UNDERSTANDING AUTOMATIC REGULATION APPARATUS WITH PLCS