If you are running RRF3.x then you will need to declare the tacho input in your M950 command. There is an example at https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M950_Create_heater_fan_or_GPIO_servo_port.