Based on the default post-processing program of MasterCAM9.0, this paper develops a post-processing program dedicated to the SINUMERIK802D CNC system. The example in the article is relatively simple, but the ideas and methods for modification are still very practical.