At the your first posting you did not mention a mill . I was thinking lathe. It is certainly easier to install a hall sensor on most lathes than on a mill. Which mill do you have? Motor size? Which VFD size. I quickly looked at the manual for the TECO E510 series. It does not seem to have a simple digital output but does seem to have a serial data output per
@den-den comment above. I have never looked into this so do not really know what this involves.
One of a couple of brute force approaches toward this is to wind a wire a few turns around one of the 220 lines going from the VFD to the motor. This would then be connected to a signal transformer and then the secondary of the transformer might be be to condition to provide the digital signal. OR the power wire is run through magnetic core and turns of wire are also wound on the core to provide the secondary. It might take a little bit of electronics to do the conditioning of the signal. The beauty of this is that it comes right off of the power to the motor and because of the transformer it is essentially electrically isolated from the 220V. The not so beautiful aspect of it is that it is inductive. As such the coupling in this transformer is frequency dependent and the voltage out might be low at low frequencies. However, most motors do not want to run at low frequencies anyway.
I will think about this some more. Meanwhile you should look at the possibility of putting a hall sensor somewhere near the spindle. An RPM reading is much nicer to have. The VFD will probably provide the frequency directly on its display, but only when the power is available to the motor.
One of the reasons I like having the approximately correlated 0-10 voltage INPUT reading to indicate the VFD frequency is that it is available before the motor is actually turned on! I am not for sure if the VFD Output 1-10 volt signal is available prior to the the motor being turned on.