# Using High speed counters with Limes LI20

**URL:** <https://forumautomation.com/t/using-high-speed-counters-with-limes-li20/1687>\
**Category:** Siemens\
**Created:** [January 20, 2017, 6:59am UTC](https://forumautomation.com/t/using-high-speed-counters-with-limes-li20/1687 "2017-01-20T06:59:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoon](https://forumautomation.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@Yoon](https://forumautomation.com/u/Yoon)\
**Post date:** [January 20, 2017, 6:59am UTC](https://forumautomation.com/t/using-high-speed-counters-with-limes-li20/1687/1 "2017-01-20T06:59:05Z")

</div>

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](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)?

 ![](https://cdn.forumautomation.com/original/1X/e315c4f2a1266bda4c9c784c1a439d7f4c3962fd.png)
