The electric energy metering equipment calibration software, mostly adopts the design method of the checking case together. It is not easy to upgrade and debug. Debugging workload is bigger. This paper introduces the design method of the modularized program, in the main frame control ,different modules to control different devices. Each module is independent, easy to debug, reduce the workload.