Z offset using Bltouch

My printer has the Z min endStop assigned to the zmax pin and the bltouch connected to the zmin pin.
Can you help me set the Z offset? Please, I can not understand, it’s driving me crazy …I’m a Marlin user and, believe it or no, the Z offset settings was, in it’s own very hard way, much simpler for me.

With the following startup gcode of the Simplify3d profile to print a model, the printer tests the bed and works well, but the problem is that when it is supposed to start printing at a certain height (the height I am setting in the G30 command Zxxx in the start code) the printer ignores it and starts printing by hitting the bed with the nozzle, regardless of the value you are setting in the G30 command …

This is the startup gcode:

;*** WARNING ***
; ALL G-CODES MUST BE CAPITOLIZED ***
;COMMON PROBE COMMANDS
;M280 S10.6 ; 3D TOUCH RESET
;M280 S3      ; PROBE DOWN
;M280 S7     ; PROBE UP
;******************
G0 Z10
M280 S10.6 ; CLEAR ERRORS ON PROBE
M280 S7; PROBE UP
G28  X0 Y0 ;  Home
G0 X160 Y160
G28 Z0

;M140 S60 ; heat bed to 60 deg - don’t wait to continue
;M109 S235 t0 ; extruder wait to heat

G0 Z10 ; move up to clear and reset probe

M280 S10.6 ; 3D TOUCH RESET
M280 S3 ; PROBE DOWN
G32 ; level only

G30 Z 0.41 ; set probe offset Bigger number = probe lower. STARTED AT 0.98

G0 Z10
M280 S7; PROBE UP
G0 X0 Y160


Can anypne help me please??
Thanks for reading!

Imported from wikidot