Ok, so I have tried your suggestions and it would appear to have made it worse. I now cannot move the motors at all, and the pins do not change when a gcode is entered for the spindle, only when the CW button is clicked. I have a log attached of the spindle code running. I have attached the new .INI and profile.