I’m also having this issue, modbus timedout with no spindle control, spindle and vfd work fine when set to be controlled via VFD buttons. All settings to communicate with the onefinity controller and shielded cabling are correct.
My VFD has a white case and the settings are displayed as F001, F002 rather than PD001, PD002 etc but all settings are the same. There’s also some jumpers visible on the vfd, jumper 4 seems to relate to RS485, it has a setting of ON or OFF, I have tried it on both, still no joy. At a loss to know what’s wrong.