The invention belongs to the field of teaching instruments and particularly relates to a cam profile line generating instrument and a generating method. The cam profile line generating instrument comprises a rack, a constant acceleration and constant deceleration curve assembly, a cycloid curve assembly, a uniform speed curve assembly, a simple harmonic curve assembly, a curve selection assembly, a curve drawing platform and a control operation system, and the constant acceleration and constant deceleration curve assembly, the cycloid curve assembly, the uniform speed curve assembly, the simple harmonic curve assembly, the curve selection assembly, the curve drawing platform and the control operation system are installed on the rack. According to the cam profile line generating instrument and the generating method, cam teaching can be simpler, clearer, convenient and visual, learners can enjoy the joy of practice, cam profile lines with different parameters can be drawn by adjusting parameters of a cam, and the cam profile line generating instrument and the generating method have the advantages of being good in operability and high in demonstration performance.