Midair problem with fixed bed.

I have a weird problem with Bltouch.
G31 P25 X0 Y20 Z1.82I print fine on the center but when the head moves to Y130 for example, I see either midair print or nozzle hits the bed. Basically uneven bed problem with Bltouch even though the bed is fixed.
; Configuration file for Duet WiFi (firmware version 1.21) ; executed by the firmware on startup ; ; generated by RepRapFirmware Configuration Tool v2 on Tue Aug 27 2019 19:34:39 GMT+0300 (GMT+03:00) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M665 R155 L397.19 B155 H520 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them ; Network M550 P"TEVO Little Monster" ; Set machine name M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y160.00 Z160.00 E403.00 ; set steps per mm M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min) M203 X36000.00 Y36000.00 Z36000.00 E1200.00 ; set maximum speeds (mm/min) M201 X2000.00 Y2000.00 Z2000.00 E1000.00 ; set accelerations (mm/s^2) M906 X1700 Y1700 Z1700 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z3.60 S1 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S1 ; Set active high endstops ; ZProbe M307 H3 A1 C1 D1 ; disable heater on PWM channel for BLTouch M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P25 X0 Y20 Z1.82 ; set Z probe trigger value, offset and trigger height M557 R150 S10 ; define mesh grid ; Heaters M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Fans M106 P0 C"Right Fan" S1 I0 F500 H1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 C"Left Fan" S1 I0 F500 H1 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P2 C"Extruder Fan" S1 I0 F500 H1 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 S"Extruder" D0 H1 F0:1 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Automatic power saving M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from nonvolatile memory
; homedelta.g ; called to home all towers on a delta printer ; ; generated by RepRapFirmware Configuration Tool v2 on Tue Aug 27 2019 19:34:39 GMT+0300 (GMT+03:00) G91 ; relative positioning G1 H1 X705 Y705 Z705 F3600 ; move all towers to the high end stopping at the endstops (first pass) G1 H2 X5 Y5 Z5 F3600 ; go down a few mm G1 H1 X10 Y10 Z10 F360 ; move all towers up once more (second pass) G1 H2 Z5 F6000 ; move down a few mm so that the nozzle can be centred G90 ; absolute positioning G1 X0 Y0 F6000 ; move X+Y to the centre
; bed.g
; called to perform automatic delta calibration via G32
;
; generated by RepRapFirmware Configuration Tool v2.1.2 on Wed Nov 20 2019 17:38:50 GMT+0300 (GMT+03:00)
M561 ; clear any bed transform
G28 ; home all towers
G1 X0 Y0 Z10
; Probe the bed at 12 peripheral and 6 halfway points, and perform 9factor auto compensation
; Before running this, you should have set up your Zprobe trigger height to suit your build, in the G31 command in config.g.
G30 P0 X0 Y132.28 H0 Z99999
G30 P1 X67.08 Y116.18 H0 Z99999
G30 P2 X121 Y69.86 H0 Z99999
G30 P3 X148.59 Y0 H0 Z99999
G30 P4 X129.9 Y75 H0 Z99999
G30 P5 X75 Y129.9 H0 Z99999
G30 P6 X0 Y150 H0 Z99999
G30 P7 X75 Y129.9 H0 Z99999
G30 P8 X129.9 Y75 H0 Z99999
G30 P9 X148.59 Y0 H0 Z99999
G30 P10 X121 Y69.86 H0 Z99999
G30 P11 X67.08 Y116.18 H0 Z99999
G30 P12 X0 Y59.15 H0 Z99999
G30 P13 X56.09 Y32.38 H0 Z99999
G30 P14 X64.95 Y37.5 H0 Z99999
G30 P15 X0 Y75 H0 Z99999
G30 P16 X64.95 Y37.5 H0 Z99999
G30 P17 X56.09 Y32.38 H0 Z99999
G30 P18 X0 Y0 H0 Z99999 S9
; Use S1 for measurements only, without calculations. Use S4 for endstop heights and Zheight only. Use S6 for full 6 factors
; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position)  (trigger height at centre of bed)

post your config overwrite as well

As this is a Delta printer, it will be because your delta settings (M665) are incorrect. Either delta radius or arm length. You should be able to fix this using delta calibration; see this guide for details: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareDeltaPrinter
Ian

I also wouldn't use S9 at the end of the bed file.
S6 is generally the recommended value.

I'm using TEVO DELTA Little Monster Printer.
; configoverride.g file generated in response to M500 at 20191204 17:49 ; This is a systemgenerated file  do not edit ; Delta parameters M665 L397.190:397.190:397.190 R155.000 H520.000 B155.0 X0.000 Y0.000 Z0.000 M666 X0.000 Y0.000 Z0.000 A0.00 B0.00 ; Heater model parameters M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1 M307 H1 A340.0 C140.0 D35 S1.00 V0.0 B0 M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0 G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00

@sniper23 said in Midair problem with fixed bed.:
M665 L397.190:397.190:397.190 R155.000 H520.000 B155.0 X0.000 Y0.000 Z0.000
M666 X0.000 Y0.000 Z0.000 A0.00 B0.00this is a strong incidication that you never ran delta calibration and saved the values.

@Veti M665 L411.422:411.422:411.422 R161.396 H523.653 B155.0 X0.335 Y0.197 Z0.000
M666 X0.560 Y1.026 Z1.587 A0.20 B1.00still having the same issue though.

Still same.

G31 P25 X0 Y20 Z1.82 ; set Z probe trigger value, offset and trigger height
if you have effector tilt the offset of the probe could be problematic.
delta printer idealy want to probe with the nozzle or something very close to it.have you tried with 6 factor instead of 9 as suggested by @jay_s_uk ?

@Veti I was using 6 factors, it was the same for that. Switched to 9 factors after. My offset is 20 btw, Y offset.