never used it, but M10P1 means Switch Output 1 ON, and to what (ports&pins) is your Output#1 assigned.
for the Moment you use M3/M5 to turn laser ON/OFF?
what is your output configuration Config -> Ports&Pins -> Spindle Setup -> Relay Control ?
are you using are original UC100 or a chinese clone?