Measures Z axis work offset value.
Z axis will start descending at current machine position and when sensor/probe input is activated, software sets work position of Z axis to zero.
To avoid any damage, software safety feature will notify you if sensor/probe is not configured in settings.
This program feature is scriptable.
For more info regarding Scripts, please read chapters Scripts.