If you’ve done a factory reset on the VFD, you may need to reenter in a few of the drive parameters before it runs properly.
Like the motor frequency of 400Hz etc. Have you read through the manual and followed the setup procedure?
It took me a while to get mine going (but I was just trying to get it to start/stop from Carbide Motion). Luke (aka Mr Beaver) did a good post on how to configure the unit, have a read through: