What I've found on the Web so far is for the spindle control it is as follows:
Com - GND
AN1 - 0-10v
X1 - pin 17
However looking at your diagram X1 (FW) is used for on off relay.
Here's what I have vfd end Click image for larger version. 

Name:	20180519_173628.jpg 
Views:	1040 
Size:	206.0 KB 
ID:	24227
I'll try out your diagram, will getting the wires wrong do any damage to the vfd?