NCM-5.1 frog and switch grinding machine is specifically designed for grinding operations through switch and crossings and either side of the rail head. The rail grinding device of the machine can be tilted by 30° from the vertical direction to the left and right, and the position of the grinding wheel can be adjusted along the vertical and horizontal directions So that the grinding device of the machine can work very accurately in the narrow space between the rails. The frog and switch grinding machine adopts the pull rod transverse feed mode, which is easy for the operator to grasp the feed force and improve the grinding quality and efficiency.