The operating mode (encoder or up/down counter) is selected via the CoE object Enable up/down counter (index: 0x80n0:03). On the CoE - Online tab, click on the row of the index to be parameterized, enter the corresponding value in the SetValue dialog and confirm with OK.
0: the up/down counter is not active.
1: the up/down counter is active.
In the case of the EL5151 the counter value can be locked via the object Gate polarity (index: 0x8000:04) (s. Gate function).
The counting direction (up/down) is specified via the signal level at channel B.
An additional option for reversing the direction of rotation is to set the Reversion of rotation bit (index: 0x80n0:0E).