Gcodes GRBL with servo support

I would like to know how to create gcodes that work with GRBL with the servo commands (“M03 Sxxx”, “M05”).
Thank you.