Infosys在阅读器中打开 / AI 翻译

EL515x | Incremental Encoder Interface · 0 次阅读

Activation of latch C input (“C”) and saving (“latching”) of the counter value (index 0x7000:01)

The counter value is written into “Latch value” (index 0x6000:12) when the zero pulse is present at input C.

  • “Enable latch C” (index 0x7000:01)
    • The function is activated by setting the bit in “Enable latch C” (index 0x7000:01) to TRUE.
    • The counter value in “Latch value” (index 0x6000:12) will be saved upon the first latch pulse (rising edge at input C). The subsequent pulses have no influence on the latch value.
    • The value of the bit in “Latch C valid” (index 0x6000:01) is set to TRUE.

After re-activation of “Enable latch C” (index 0x7000:01), the next counter value can be written into “Latch value” (index 0x6000:12) only if the values of the “Latch C valid” bit (index 0x6000:01) and the “Latch extern valid” bit (index 0x6000:02) are FALSE.

  • If “Enable latch C” (index 0x7000:01) und “Enable latch extern on positive / negative edge” (index 0x7000:02 / 0x7000:04) are activated simultaneously
    • The value of the counter is saved in “Latch value” (index 0x6000:12) when the first pulse with the corresponding edge is present at input C or at the external latch.
  • If “Enable latch C” (index 0x7000:01) und “Set counter on latch C” (index 0x7000:08) are activated simultaneously
    • The counter value will be saved in “Latch value” (index 0x6000:12) upon the first pulse with a rising edge at input C. Subsequently the counter value in “Counter value” (index 0x6000:11) will be overwritten by the value specified in “Set counter value” (index 0x7000:11).