Position teach

[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

Position teach

[/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 allows the user to “teach” the product a +/- move profile based on manually positioning the motor shaft. The shaft is manually moved to a position, then an input is toggled to store that position in encoder counts to a user variable. The shaft is moved to second position, the input is again toggled to store the second position in a second variable. The motor will then move between the two stored positions.

Note that the input settings are undefined in the program, as the default settings are used.

The code shown on the right may be copied and pasted into the program editor window of the Motion Control Programmer application, or a zip file containing the program files may be downloaded below.

Topics

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

Applicable Product

  • Lexium MDrive
  • MDrive Linear Actuator
  • MDrive Plus

Resource Files

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

Program Example

Lexium MCodeMDrive MCode


 

 

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