Problem solved, one wire going into a din connector was clamped on the insulation and not connecting, after that works fine so thanks.

Finally..... The relay outputs from the csmio - to control the spindle forward control from Mach should it just be wired from DCM on huanyang inv to pin 25 and pin 12 to For? That's for relay output 4 I'm hoping? I've got the analog hooked up fine just can't get it to switch on. I've set the parameters as well so it's not manual control pd001&2 I think (not in front of the machine right now)