I have problem that the changing mode process could be realized thar from Sensorless to the encoder mode

I have problem that the changing mode process could be realized thar from Sensorless to the encoder mode