The invention discloses a method for realizing the numerical control of grinding roller curves by using an NC program, which pertains to the method by adopting the NC program to control grinding processing, and aims at providing a method that adopts the current NC program to realize the numerical control of the grinding roller curves by means of the definition setting of a R parameter under the state that a numerical control system runs automatically. The method comprises steps of defining variable, transferring curve data, judging grinding type, inspecting the curve data, pre-treating the data before grinding, reading technological parameters, judging processing modes, finishing grinding, judging whether to end the grinding or not, judging the time of strokes, inspecting technological data, judging whether to relocate or not, grinding in positive direction or negative direction, calculating curves, commutating processing, finishing grinding, calculating of the finishing of the grinding and quitting position calculation, etc. The method of the invention needs no specialists to write the NC program, can write program and store a plurality of grinding curves, groups of technological parameters of grinding and the technological parameters of disc finishing, and can be applied to Siemens middle and high grade numerical control systems programmed by adopting G code.