Good evening, I have an issue with my Auto bed compensation / Manual bed

Good evening,
I have an issue with my Auto bed compensation / Manual bed leveling assistant on the Duet Wifi.
I set up my config.g and bed.g according to this manual:
https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant

part in config.g:
; Manual Bed leveling assistant prerequisite
M671 X-4:302:302:-4 Y-4:-4:300:300 P0.5

bed.g:
M561 ; clear any bed transform
G28 ; home all axes
; Probe the bed at 4 points
G30 P0 X15 Y15 H0 Z-99999
G30 P1 X285 Y15 H0 Z-99999
G30 P2 X285 Y285 H0 Z-99999
G30 P3 X15 Y285 H0 Z-99999 S4
It should probe front left, front right, rear right, rear left.
My origin is set to the front left.

After the homing with G28 (in the bed.g), the head doesnt probe the first point at 15/15 (that’s also the z homing position) but it tries to drive the printhead against the limits (like it wants to probe outside the bed).
Therefore, the G32 command fails in the end.
Are my config set up correctly? Am I missing anything?

What happens if you flip your motor directions?

This will NOT solve your problems, but have you tested http://Marlin3DprinterTool.se on a 32bit platform.

The M3DpT helps you with some configuration and testing of the probe. I dont have a 32bit/Marlin2 board so I have never tested M3DpT.

@Ryan_Carlyle the motors run fine, everything else works
@Johnny_Linden I’ll have a look at that, thanks