Got it working.
Move servo connection to servo 2 on RAMPS
Set NUM_SERVOS to 3
Change Z_ENDSTOP_SERVO_NR 0 to Z_ENDSTOP_SERVO_NR 2
It now works, it retracts the servo on reset and moves with M401, M402 and M280
Servo 0 and 1 on my RAMPS don't work with 1.1.0 RC3. Found another thread in the RAMPS Electronics section that gave a hint on getting it to work: [forums.reprap.org]
Move servo connection to servo 2 on RAMPS
Set NUM_SERVOS to 3
Change Z_ENDSTOP_SERVO_NR 0 to Z_ENDSTOP_SERVO_NR 2
It now works, it retracts the servo on reset and moves with M401, M402 and M280
Servo 0 and 1 on my RAMPS don't work with 1.1.0 RC3. Found another thread in the RAMPS Electronics section that gave a hint on getting it to work: [forums.reprap.org]