The increasing global population has heightened the demand for efficient food production, leading to the adoption of compact cultivation methods such as greenhouses. However, weed growth within these controlled environments significantly challenges crop productivity. The application of robots can be a useful and economic choice. This study presents an innovative, purely mechanical system for weed control in greenhouses, specifically designed to operate autonomously on a monorail. The machine stops in the distance between the two main plant rows (cucumber) and its arm goes into the gap to deploy the weeds by rotating its blades. This is continued repeatedly. The cutting is by the rotational speed of the blade. Variable-speed motions of the blade were at 3500, 2500 and 1500 rpm for 3 types of moulinex, triangular, and circular blades. The movement speed of the arm was 10 and 30 rpm and the forward movement speed of the machine was 30, 40, 50, 60, 80 and 120 rpm. The results showed that different blades, blade speeds and engine speed affect significantly (p <0.05) the percentage of weeds being cut. Although the interactions of these factors have no significant effect on percentage; the average percentages by the blades have significant differences. Although the interactions between these factors were not statistically significant, the comparison of means revealed that at lower blade speeds, the blade type had a pronounced effect on weed-cutting efficiency. As blade speed increased, differences in blade performance diminished. The most effective combination was achieved using Moulinex blades at 3500 rpm with a 10-rpm arm speed, resulting in the highest percentage of weeds cut. These findings suggest that optimizing blade type and speed can significantly enhance the mechanical weed control efficiency in greenhouse environments.