#10=3 (Sensor Nr)
#11=1 (Sensor Normally opened)
G91 G1 Z-5
G91 G1 Z5

;M88 P#10 L#11 (Smooth stop if sensor activated);
;G91 G0 Z-30 F500 (Fast scren surf)
;G04 P0.1
;G91 G0 Z2 F500(Rebound 2mm)
;M89 P#10 L#11 (Stop if sensor activated)
;G91 G0 Z-30 F50 (Slow scren surf)
;G04 P0.1 (Pause)
;M85 (saving the coordinates in log - в абсолютных надеюсь)
;G91 G0 Z58
G90
