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 °
 - Backward (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 0x8000:0E "Reversion of rotation".
Fig.158: Reversion of rotation (Index 0x8000: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
 - Backward (ccw): HIGH level at track B
 
Setting the bit in index 0x8000: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 0x6000:0B "Status of input B".
Fig.159: Reversion of rotation (Index 0x8000:0E "Reversion of rotation") for a counter/pulse generator0x8001:1D  | Level at input track B  | 0x80n0:0E  | Resulting  | 
|---|---|---|---|
1: Counter RS422  | Input open / LOW level  | FALSE  | positive  | 
TRUE  | negative  | ||
RS422 signal level  | FALSE  | negative  | |
TRUE  | positive  | ||
3: Counter TTL  | Input open / LOW level, voltage level < 0.8 V  | FALSE  | positive  | 
TRUE  | negative  | ||
TTL voltage level  | 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  | FALSE  | negative  | |
TRUE  | positive  | 
![]()  | Status LED input B as counter RS422 (diff. input) If the input of track B is open in counter mode "RS422 (diff. Input)", a wire break is detected and the status LED of input B lights up red. The error detection and indication via the LED can be disabled via index 0x8000:0C "Error detection B".  | 
