EXAMINING AUTOMATIC CONTROL SYSTEMS THROUGH PROGRAMMABLE LOGIC CONTROLLERS