An injection molding machine according to an embodiment of the present invention mounts a multi-axis servo driver (EQ) which integrally controls four servo motors (M1-M4). The multi-axis servo driver (EQ) is provided with a CPU resource used for calculations related to each of the four servo motors (M1-M4). The multi-axis servo driver (EQ) is also provided with a control cycle setting part (C13) for individually setting each control cycle of the four servo motors (M1-M4). The control cycle setting part (C13) can set each control cycle of the four servo motors (M1-M4) so that a control cycle of at least one of the four servo motors (M1-M4) changes during a molding cycle.