Understanding VFD speed control input using a potentiometer
A potentiometer is not just a resistor it is an adjustable voltage divider. Connect it exactly the way the diagram shows. The CCW end connects to COM.
Common is the negative of the power supply, zero volts. The potentiometer voltage represents the desired speed, zero to 100 percent.