Shape information of a molded article is used to determine cross sectional information. Injection speed pattern data is generated based on parameter information such as the cross sectional area of a barrel cylinder, the filling time interval, the injection stroke, etc., and the generated cross sectional information. The injection speed pattern data is used to control the injection speed of the injection screw.