We are using a variable frequency drive (VFD) with a compressor. We added a rotary cam changeover switch (600 V/50 Hz, picture is attached) in between the compressor and the motor. The purpose of adding this switch that if the VFD is not working, we can switch to direct grid mode.
The number 1 is for compressor running on VFD and number 2 is for compressor running directly on grid.
When we run the compressor through this switch on VFD, the VFD is damaged after some time (may be 10 days.)
What could damage the VFD with this setup?