Yes - mains in brown and blue go to R and S. Grn/Yellow goes to the ground terminal no 9. Three wires to spindle go to UVW. If the spindle goes the wrong way, just swap over TWO of the spindle wires. Doesn't matter which two.