Thanks,

I have seen the actual encoder body mounted on a spring plate presumably to allow for small misalignment

I will get a flex coupling in there.