Actually I just noticed, my input for the 24v is incorrect as It's a PSU in not an out as I have connected but I tried it earlier connected to the stepper driver PSU and had the same issue.