The method relates to an electronically controlled system of a motorcycle, in particular to an ignition control method of the electronically controlled system of the motorcycle. The method comprises the following steps: S1, storing calibration data in a memory of ECU; S2, acquiring position signals and status data of a piston by the ECU, after the operation of a motor, calculating data for a basic ignition angle by ECU according to the operating position of the piston; S3, comparing the calibration data of step S1 with the status data of step S2 by the ECU, and obtaining the revised data for the basic ignition angle; S4, overlapping the data of the basic ignition angle calculated in the step S1 and the revised data for the basic ignition angle calculated in step S3 by the ECU to obtain data of a preignition angle; and S5, transmitting the obtained data of the preignition angle calculated in step S4 to an ignition coil by the ECU and controlling the ignition of the ignition coil by the ECU. The method well controls the ignition process, allows an engine to ignite at the best moment and causes the mixed air in the cylinder to fully burn, therby reaching effects of diminishing the oil consumption and improving the quality of tail gas.