UNDERSTANDING AUTOMATIC REGULATION SYSTEMS UTILIZING PLCS