Printer restarting

Did you setup your Snapmaker Cura profile correctly? It doesn’t look like you did. I see the G28 ;Home, but not the G1 or G0 lines afterwards.