L111 T{t} [run next line if t# is = t#] M99 [exit] G53 [lift heads] L112 T0 [skip next line if t# is 0 no toool] M98 TU.MAC [unload tool] G53 T{t}XY [go to xy position for t# to pick up] G53 T{t}Z [go to z position for t# to pick up] L110 T{t} [sets current tool number to t#]