EXAMINING AUTOMATIC CONTROL SYSTEMS THROUGH PROGRAMMABLE LOGIC DEVICES