Hopefully you are past this by now :) But, yes, those connections look correct. Make sure you program the VFD to look for the control voltage instead of (or in addition to) being controlled from the front panel (looks like group 00-02 or 00-03, plus 00-04 to configure S1/S2 as fwd/rev or run/dir).