UNDERSTANDING AUTOMATIC MANAGEMENT SYSTEMS THROUGH PLCS