Using High speed counters with Limes LI20

Hi.

I’m trying to configuration HSC Step7 feature with Limes LI20 counter (https://www.kuebler.com/PDFs/leaflet/drehgeber/english/Limes_LI20_B1_en.pdf) to calculate distance (motor rotates circular plate right or left).

What the right method to calculate impulses from this measuring system in TIA Step 7?

Is it right just to set “A/B counter fourfold” as operating phase and read number of impulses from %ID1000?

And how to convert these impulses to normal real value in millimeters or meters (which formula to use)?