Set Output#1 to the port and pin number which is connected to your laser trigger. Set active High / Low, as appropriate.
This Gcode will turn on Output#1 and activate the pin number you have specified above.
G0 Z0
M11P1
G0 Z1
(the G0 Z0 is only there to make sure that G0 Z1 is an actual movement as far as the DRO is concerned)
Can you explain what you mean by "when I look at the m11 m10 commands most of them are rem out"
Tweakie.