The invention relates to a cam control system of a servo nailing device. The cam control system comprises a servo motor, a speed changing device, a transmission device, a driven belt wheel, a first gear, a second gear, a cam, a drive connecting rod, a nailing frame and a nailing stroke controlling connecting rod. The servo motor is connected with the transmission device through the speed changing device, the transmission device is connected with the driven belt wheel, and the driven belt wheel is connected with the first gear. The servo motor drives the first gear through the transmission device and the driven belt wheel, variable speed and increased torsion is generated between the second gear and the first gear, the second gear drives the cam to rotate, the cam drives the drive connecting rod, the drive connecting rod drives the nailing stroke controlling connecting rod, the nailing stroke controlling connecting rod makes the nailing frame vertically move in a reciprocating manner, and the nailing frame nails a nail on a book, needing to be nailed, placed on a nailing platform. According to the cam control system of the servo nailing device, electric control and a durable mechanical structure are adopted, and subsequent machining is not needed.