What is Siemens Sinumerik RET Command

Siemens Sinumerik
End of subroutine marker. Unlike M17, M02 and M30, RET allows you to specify the target of the return.