Turn Table

[vc_row gap=”15″ el_class=”NewContainerSE1K”][vc_column css=”.vc_custom_1487861980487{margin-right: 15px !important;}”][TS-VCSC-Spacer height=”100″ conditionals=”eyJ2aWV3ZXJzdGF0dXMiOiJldmVyeWJvZHkiLCJyZXN0cmljdGlvbiI6Im5vbmUiLCJ1c2Vycm9sZXMiOiIiLCJ1c2Vyc2NvcGUiOiJhbnkiLCJ1c2VyY2FwcyI6IiIsIm90aGVyc2NvcGUiOiJhbnkiLCJvdGhlcnRhZ3MiOiIiLCJkZXZpY2V0eXBlcyI6IiJ9″][vc_column_text css=”.vc_custom_1490900487273{margin-right: 15px !important;}”]

Example Program

Turn Table

[/vc_column_text][TS-VCSC-Spacer height=”20″ conditionals=”eyJ2aWV3ZXJzdGF0dXMiOiJldmVyeWJvZHkiLCJyZXN0cmljdGlvbiI6Im5vbmUiLCJ1c2Vycm9sZXMiOiIiLCJ1c2Vyc2NvcGUiOiJhbnkiLCJ1c2VyY2FwcyI6IiIsIm90aGVyc2NvcGUiOiJhbnkiLCJvdGhlcnRhZ3MiOiIiLCJkZXZpY2V0eXBlcyI6IiJ9″][vc_column_text css=”.vc_custom_1491851615674{margin-right: 15px !important;}”] [/vc_column_text][TS-VCSC-Spacer height=”20″ conditionals=”eyJ2aWV3ZXJzdGF0dXMiOiJldmVyeWJvZHkiLCJyZXN0cmljdGlvbiI6Im5vbmUiLCJ1c2Vycm9sZXMiOiIiLCJ1c2Vyc2NvcGUiOiJhbnkiLCJ1c2VyY2FwcyI6IiIsIm90aGVyc2NvcGUiOiJhbnkiLCJvdGhlcnRhZ3MiOiIiLCJkZXZpY2V0eXBlcyI6IiJ9″][/vc_column][/vc_row][vc_row el_class=”NewContainerSE1K”][vc_column width=”1/3″][vc_column_text]

Description

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.

Operation

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

Topics

  • MCode OS
  • Motion
[/vc_column_text][vc_column_text css=”.vc_custom_1516027846381{margin-top: 30px !important;}”]

Applicable Product

  • MDrive Linear Actuator
  • MDrive Plus
  • MForce

Resource Files

[/vc_column][vc_column width=”2/3″][vc_column_text]

Program Example

 

[/vc_column_text][/vc_column][/vc_row]