- Set clr_once for a single initialization / latch of the encoder counter upon the next N event. Additionally, set clr_enc_x to clear the encoder to 0.
- In order to set the actual motor position to 0 as well, activate latch_x_act.
- Stop the motor after detection of the encoder event and then subtract the latched position from x_actual.