In recent years there is a considerable growth and development in the field of automation both in industry and residential areas. The production rates of industries have considerably increased in recent years leading to the shortage of labors. Industries generally manufacture same type of products with little variation in size, colour, weight and shape. Here sorting of defective object plays an important role as these industries cannot afford any human errors for sorting products. Thus, it becomes absolutely necessary to develop a system that could sort these objects without any human interference & in accurate manner. Automation industries focuses on developing automation having long durability, low cost, less maintenance, and to make system as user friendly as possible. Thus, we have developed a system for sorting object with any metallic impurities using sensor and motor controlled by Programmable Logic Controller(PLC) and the conveyor in the system passes the object through sensors and hence by monitoring the time we can control the process .