For wiring the VFD's its preferred to use the optically isolated outputs of the MASSO rather than the TTL signals.
Some example wiring diagrams can be found here: https://www.masso.com.au/docs/masso-cnc-controller-documentation/spindle-drives/
Some example wiring diagrams can be found here: https://www.masso.com.au/docs/masso-cnc-controller-documentation/spindle-drives/