The invention provides a control method of a pile holding machine. The pile holding machine comprises a base, a pile holding device, an oil cylinder device and a locking device are arranged on the base, the pile holding device comprises a holding arm, a bearing seat and an open arm oil cylinder, the bearing seat is installed on the base, the holding arm is connected with the bearing seat, and theopen arm oil cylinder is connected with the holding arm and the base; and the locking device comprises a locking oil cylinder, a fixing base, a lock pin, a locking fixing plate and a movable fixing plate, the locking oil cylinder is installed on the locking fixing plate through the fixing base, and a piston rod of the locking oil cylinder is arranged in the fixing base and connected with the lockpin. According to the structure, when the holding arm is closed, a pile is pre-fixed through idler wheels of the oil cylinder device, meanwhile, the pile holding device is locked through the locking pin, the movable fixing plate and the locking fixing plate by driving the locking oil cylinder, so that the pile is surrounded, the holding arm is closed firstly and then locked, and the operation method is simple while the stability is ensured.