Relevant for:
-
RevPi DIO
-
RevPi DI
Two inputs together can be configured as encoders (rotary encoders), e.g. to control parts of quantities in combination with the PWM function. A maximum of five encoders per RevPi can be used.
The inputs must be used in pairs, starting with an odd-numbered input, e.g. input 1 and 2 or input 3 and 4.
▷ At MEM InputMode, set the value to Encoder . The subsequent input is thus automatically also configured as an encoder.
❯❯ The current encoder value is returned as signed 32-bit value in the first input.