Abstract:This paper introduces the working principle of mortar pump.The mortar pump is a kind of double piston mortar pump.It consists of working cylinder and compensation cylinder.Compensation cylinder is drove by compensation cam mechanism.This paper analyzes the movement analysis method of compensation cam mechanism and introduces the computer programming.Using the computer programming we can design the CAM conveniently.