hi i need nc program like this

when have motion in 2 axes this comander need put one "L" befores x and z (*for lathe)
and when have motion only in 1 axis donīt need put "L"

đ*L X 1.000 Z 1.000

ē* X 1.000 OR Z 1.000

GET IT?