Turn Table

Example Program

Turn Table


This program will find shortest route to absolute position. This program sets up a matrix to find distance and direction by comparing whether the current position is greater than the requested position and whether the requested move is 180 deg.


Enter desired position in .01 deg (180 deg = 18000) into ‘V1 variable (V1=18000). Execute program at address 1 (EX 1)


  • MCode OS
  • Motion

Applicable Product

  • MDrive Linear Actuator
  • MDrive Plus
  • MForce

Resource Files

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

Program Example