Touch Plate Problems

Hello, all. I am using the gcode below and I am not sure what I’m doing wrong. The z axis will lower until the bit touches the plate, stop, then I will get my pause message. That’s it. Nothing else happens.

G28 Z ; Home Z w/zprobe
G92 Z0.5 ; Account for probe thickness (set your thickness)
G0 Z5.0000 F500 ; Raise Z probe off off of surface
G90
@pause Make sure spindle power is on
M106; turn on power relay through FAN1
M03 S ; PID, set spindle speed

The @pause is a little funny. Is that the repetier host command? I’ve always seen M0.

Marlin may be getting confused and it might be reading that before it actually runs the G0. So maybe it is stopping when it reads the @pause, but before executing the G0?

It is a repetier host command. I forget where I got it from, but I added it when I added the power relay.

I restarted repetier host and tried again and it works now. Thanks for taking the time to respond.