Design Animation > Design Animation > Creating an Animation > Creating Servo Motors > To Create a User-Defined Motor Function
  
To Create a User-Defined Motor Function
When you define a motor, use this procedure to specify a User Defined Function Type in the Profile Details tab.
1. Select User defined from the Function Type list.
2. Click to add a rows to the table. Enter values for:
Expression—Contains t, the default expression representing time. Edit the default expression directly in the table cell.
Domain—Contains no values for the expression domain. Specify the domain values directly in the cell. For example, to enter a range of time between 1 and 10, enter 1 < t < 10.
3. Select the row and click . The Expression Definition dialog box opens.
4. Access the symbols required to create an expression:
Click to open the Operators dialog box and select arithmetic operators.
Click to open the Constants dialog box and select constants or parameters.
Click to open the Functions dialog box and select mathematical functions.
Click to open the Variables dialog box and select previously defined measures or variables.
Click to open the Expression Graph dialog box and graph your expression.
5. Click Specify domain to specify a domain for the expression, then use the arrows to set exclusive or inclusive upper and lower domain bounds.
 
* The Unit Conversion Factors field appears if magnitude was initially defined in a unit of measure different from the current one. This uneditable field displays the multiplication factor that is used to convert the values to the current unit of measure.
6. Click OK. The expression and domain values appear in the Expression and Domain columns in the User Defined Profile Specification area of the Profile Details tab.
7. To change an Expression or Domain value, click the value and edit it.
8. To remove one or more rows from the table, highlight the rows and click .