(Simple IHC procedure)
(Register 5490 - probe sensor width - actual z-position when the probe activated )
(Register 5491 - pierce height position )



G10 L80 P5529 Q1 (Shock sensor disabled while IHC proceudre)

(watching for given sensor (P8 - #8) pressed(L1), skip motion when event happens)
M89 L1 P8
(move down, stop while sensor is pressed)
G91 G0 Z-300. F500
(short pause, program pointer jump here when the sensor is activated)
G4 P0.2

(set current work position as Z=0 (with offset depends on tool sensor width))
G90 G10 L70 P1 Z#5490
G4 P0.2

(move up to pierce height)
G91 G0 Z#5491 F1000

G10 L80 P5529 Q0 (Shock sensor enable after IHC proceudre)
