The machine is meant for filling capsules in bottles. Each machine have 2 sets of counting and filling section. For each section 30 capsules will fill in the bottle in 1.5 sec. after 3 sec again 30 capsules will fill to next bottle. This will continue in cycle & bottles will moves in conveyer to other section. But due to moisture capsules may be sticky and may not fall to the bottle. That bottle should detect & mark as less count one. For the counting laser sensor is used along with SSRs to give feed back to PLC. PLC will counts the capsules & if the count is not 30 PLC will trigger one hydraulic lever & takes out that bottle from the conveyer with warning.