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

EL5122 | 2-Channel Incremental Encoder Interface, 5 V single-ended (TTL, Open Collector) · 0 次阅读

Reversion of rotation

  • With an encoder, the counting direction is determined by the phase position of the signals on tracks A and B.
    • Forward (cw): Signal on track A leads track B by 90°
    • Reverse (ccw): Signal on track A lags track B by 90°

To adapt the counting direction to the application, this logic can be inverted by setting the bit in index 0x80n0:0E "Reversion of rotation".

Reversion of rotation 1:Fig.153: Reversion of counting direction (Index 0x80n0:0E "Reversion of rotation") for an encoder
  • With a counter/pulse generator the counting direction is determined by the level at track B.
    • Forward (cw): LOW level at track B or input open
    • Reverse (ccw): HIGH level at track B

Setting the bit in index 0x80n0:0E "Reversion of rotation" also inverts the logic of the counting direction. An overview of the resulting counting direction is shown in the following table.

The current level at input B is displayed via process data 0x60n0:0A "Status of input B".

Reversion of rotation 2:Fig.154: Reversion of counting direction (Index 0x80n0:0E "Reversion of rotation") for a counter/pulse generator

0x80n1:1D
"Counter mode"

Level at input track B

0x80n0:0E
"Reversion of rotation"

Resulting
counting direction

3: TTL counter
(Single-ended)

Input open / LOW level, voltage level < 0.8 V

FALSE

positive

TRUE

negative

TTL voltage level
2.0 V to 6.0 V,
with min. 2.1 mA current

FALSE

negative

TRUE

positive

5: Counter open collector

Input open / LOW level, voltage level < 0.8 V

FALSE

positive

TRUE

negative

Open collector voltage level
2.0 V to 6.0 V,
with min. 2.1 mA current

FALSE

negative

TRUE

positive