@vhervas Please post your entire config.g
G10 P2 X-30 Y0 U10 Z0 S0 R0 ;
Are you sure this is correct? One of these examples is typically more common:
G10 P2 X100 Y0 U-100 S0 R0
G10 P2 X0 Y0 U-200 S0 R0
It is important to note the positive/negative values for the G10 commands.
M563 P2 D0: 1 H1: 2 X0: 5 F0: 2
Does your actual M563 command have spaces after : ? "D0: 1" instead of "D0:1" etc