Using High speed counters with Limes LI20



I’m trying to configuration HSC Step7 feature with Limes LI20 counter ( 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)?