9
Segment
Types
User Manual
for PMotion
Page 41
9.9
Segment Type "Polynomial
"
This segment type can be used multilaterally and is the most adjustable segment. Therefore it
is the default segment type. A polynomial segment is a shape which fits various boundary
constraints.
Parameters:
•
Segment type $MF
nn
=9
•
Segment start and end constraints: The segment type „Polynomial“ determines its shape
by applying boundary constraints. The variable $MW
nn
is used for setting these constraints
and has the following format:
A eight digit decimal number contains the constraints for each of the four derivatives at
both ends of the segment. Each digit represents a boundary constraint and can have one
of the following three values:
0 No value specified: The boundary constraint will not be applied.
1 Value as specified: This boundary constraint will be specified by the relevant variable
(see below).
2 Matched with previous: This boundary constraint can only be used at segment start.
The start value of the segment matches equivalent with the end boundary value of the
previous segment.
$MW
nn
Entry
Segment
boundary
Boundary Constraint
Default value
Digit 8
Digit 7
Digit 6
Digit 5
Start
Position
Velocity
Acceleration
Jerk
2 (matched with previous) cannot
be changed
2 (matched with previous)
2 (matched with previous)
0 (no value specified)
Digit 4
Digit 3
Digit 2
Digit 1
End
Position
Velocity
Acceleration
Jerk
1 (value as specified) cannot be
changed
1 (value as specified)
1 (value as specified)
0 (no value specified)
Therefore the default setting for the variable $MW
nn
of a polynomial segment is 22201110.
Example: $MW
nn
=21101110 indicates that the start velocity and the start acceleration
along with the end velocity and acceleration have been specified. The variables $MA
nn
,
$MB
nn
, $MX
nn
and $MY
nn
contain the relevant values and need to be present for this
segment.
The format of this constraint word applies to all segment types, though different
segments have different limitations for the boundary constraints.