Hey Andre,
this is a frequently raised topic. Would be nice if you add the wiring for your specific VFD to this forum, thanks!
I don’t have this brand of VFD (you don’t say which brand/model it is
), but you can see the wiring to a Omrom MX2 / Hitachi VJ200 VFD here. On this VFD, as on any other, the pin designations and the program numbers differ, but with this information together with Spindle Wiring examples and with your VFD manual, you can solve this yourself.
Unfortunately the photos you uploaded are too bad to ask someone to read them. But do you see the “Basic Wiring Diagram” in your VFD manual?
There, you should see on the bottom left, the analog voltage input. The diagram is similar to the one in the link above. Often there is a potentiometer for manual speed control shown wired to it, but here we have to connect it to MASSO G3 Touch CNC controller according the the table.
Inside VFD, this input must be programmed to be assigned to “Source of speed / frequency control” and also, if there is a choice, to the range of 0–10 V analog voltage (some have also 0–5 V), and to control voltage (Volts) instead of control current (Ampères). Seems the latter choice is a jumper on your VFD: In this case, leave it to “voltage”.
A little bit above, you see the six digital input terminals? VFDs have about three to ten of such terminals. They are freely programmable to a function that you find in a big table in the VFD manual. If you want to take the first terminal for RUN command (which means clockwise rotation (CW) of spindle), you wire it accordingly, and inside VFD, you program this input to serve as “Source for RUN command”.
There is also a pin on the connector for counter-clockwise rotation (CCW) of the spindle. If you want to use it, you wire it to a second digital terminal and assign this one to the “REV” command (reverse operation of the spindle). On a CNC router, you rarely need to run the spindle backwards. But who knows.
The source or sink (NPN or PNP) choice means, on your digital input terminals, do they share a common ground, or a common +24 V. In this case the common ground is shown (although the shadow you made in the photo above the diagram nearly prevents to see that
).