EXAMINING AUTOMATIC REGULATION SYSTEMS UTILIZING PLCS