o sub M64 P2 ; unclamp the tool M66 P2 L3 Q2 ; check the unclamped tool sensor o100 if [#5399 LT 0] (abort, Failed to release tool) ; abort if the sensor does not activate in 2 seconds o100 endif o endsub [1] M2