Avoiding Encoder Overflow

Example Program

Avoiding Encoder Overflow


This program demonstrates the use of a position trip to reset the encoder counter (C2) every 100000 encoder counts. Requirements:

  1. Compatible product
  2. DC power supply
  3. Communications/Network
  4. Switches connected to I/O points 1 & 2


  • Closed Loop/Encoder
  • MCode OS

Applicable Product

  • MDrive Linear Actuator
  • MDrive Plus
  • MForce

Resource Files

[wpdm_package id=8482 template=[wpdm_package id=2520 template=

Program Example