Defining Custom Segment Types
You can define custom segment types before creating segment-based motor, torque, or force profiles in the Function Builder.
- Create a text file called SegmentTypes.txt.
-
Define segments types according to the segment type syntax.
-
Specify the segment types file location:
-
Click Options
(Standard toolbar) and select File Locations.
- Under Show folders for, select Function Builder Segment Type Definitions.
- Click Add, browse to the folder containing SegmentTypes.txt, and click OK twice.
The custom segment type functions you define appear in the
Function Builder followed by the tag
User.
- Segment Type Syntax
The segment types you can select from the Function Builder are functions of the independent variable. You can piece together the segment type functions to define a piecewise continuous motor or force profile. Each segment type you select defines the profile function on a continuous range of independent variable values. You can create custom Function Builder segment types in a file named SegmentTypes.txt. You can define a segment type function with basic programming commands within the segment type syntax.