A couple of problems.
Linuxcnc does not really have a method to receive an analog input. If the the 7i76 is like the 7i76e there is a mode to enable some analog voltage inputs but its not particularly accurate.
With Plasma machines we use the encoder input with a bit file that converts the mesa encoder input into 3 x Encoder A inputs which then support 3 x THCAD voltage to frequency boards that is decoded from the encoder count back to a voltage. But you need the encoder for your spindle. You might be able to use the software encoder component.
Estop will need a bit output pin not a float. You might like to look at the sourcecode for the ohmic component in master branch for inspiration.
linuxcnc.org/docs/devel/html/man/man9/ohmic.9.html
It might work for you as is. Its purpose is to take a voltage from a THCAD and generate a probe output with hysteresis.