As well as the P600 error in your G31 you also need to change Z to a non zero value in your M558 if you want the probe to be used for homing Z. i.e M558 P1 X0 Y0 Z1 …..etc (currently you have M558 P1 X0 Y0 Z0.........)

Home Z should just have G30. If you add S-1 it won't adjust the Z position.

The offset goes in G31 (not G30) so here you would have Z1.5 (assuming your offset is 1.5mm). In M558 you need to tell the firmware which axes the probe is used for homing. Zero means don't use the probe to home this axis, a non zero value means do use the probe for this axis so you set Z1. See this link. https://duet3d.com/wiki/G-code#M558:_Set_Z_probe_type

hi and thanks for the help so far
ok ive got all of the above done and
my code now look like this
M558 P1 X0 Y0 Z1 H5 F120 T6000 ;
G31 P500 X30 Y0 Z1.50 ;

im using a e3d v6 with ir senor sat right in front 30mm on the x axes

home z looks like this
G91 ; relative mode
G1 Z6 F200 ; raise head 6mm to ensure it is above the Z probe trigger height
G90 ; back to absolute mode
G1 X0 Y0 F1000 ; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height

which all works good im having problems setting up auto bed meshing ive read the right up and its ive not sinking in are not making much scenes for me
is there any other setup / tutorial out there you would recommend

Ok now i have this set up all i do now is. Home all hit the funny key (wavey line with arrow pionting up the anther one pionting down) let do its
Thing then print ??

errrr, don't know where you see that key. Are you using the Web interface or Panel Due? On the web interface, in the Machine Control section, there are buttons clearly labelled (from top to bottom), Home All, Home X, Home Y and Home Z. I don't have a Panel Due so can't comment on how they might be labelled but what you describe with arrows pointing up and down sounds more like the baby stepping feature.