EXAMINING AUTOMATIC REGULATION SYSTEMS THROUGH PLCS