Provided is a method for realizing S curve acceleration and deceleration of a motion control system. (1) The realization condition of S curve acceleration and deceleration is as follows: the basic limiting condition formula of the S curve acceleration and deceleration control process is shown as formula (6): t0=t2-t1=t4-t3=t6-t5, at0=at1=-at4=-at5 and Vt0=Vt2-Vt1=Vt3-Vt4=Vt5-Vt6; and the complete S curve acceleration and deceleration process satisfies formula (7): L/VL>=t0+delta t(1-2)+delta t(3-4)+delta t(5-6), and aM<=aMax. (2) Recursion formulas of S curve acceleration and deceleration are as follows: the initial velocity is set to V0, the current sampling time is k, the corresponding accelerated acceleration is Jk, the acceleration is ak, the velocity of movement is Vk, and the recursion formulas based on the previous time are respectively formula (8): Jk=JM (0<=t<=t0, t5<t<=t6, 0<=k<=nt0, nt5<k<=nt6), Jk=0 (t0<t<=t1, t2<t<=t3, t4<t<=t5, nt0<k<=nt1, nt2<k<=nt3, nt4<k<=nt5) and Jk=-JM (t1<t<=t2, t3<t<=t4, nt1<k<=nt2, nt3<k<=nt4), formula (9): a0=0 and ak=a(k-1)+Jk*delta t, and formula (10): V0=0 and Vk=V(k-1)+ak*delta t.