G0 X0 Y0
G1 F500
M3 S1000
X0 Y100
X100 Y100
X100 Y0
X0 Y0
M5