I need to use Gcode to activate a tool height setting.

Can anyone show me a sample code that will position the tool above the toolsetter, initiate the downward move, and reset the tool height offset?

The tool will have already been touched off, but this is to double check the engraving tip and make any adjustments needed while in a loop program doing multiple parts. I'm building a single part changer so I can mind my other machine while this machine is engraving.

I'm thinking something like this:

G1 X___ Y___ Z___ F 50. (Go to position above toolsetter)
G31 Z-.1 F15. (Does this initiate a move to the toolsetter?)(I have not been able to find real instructions, so I don't know what happens after it trips the toolsetter switch)
G10 L1 Z0. (reset T1 height offset???)

I appreciate any help or leads to someone who knows how to do this.
Thanks!