Poly7_Coeffs (FUN)ΒΆ
FUNCTION Poly7_Coeffs : CAM_SEGMENT
Initializes a 7th degree polynomial cam segment with the given coefficients. The function is defined in the domain of 0 <= x <= (x1-x0) and is represented by the following equation: y = a0 + a1 * x + a2 * x^2 + a3 * x^3 + a4 * x^4 + a5 * x^5 + a6 * x^6 + a7 * x^7
- InOut:
Scope
Name
Type
Comment
Return
Poly7_Coeffs
Input
x0
LREAL
Master start position
x1
LREAL
Master end position
a0
LREAL
First coefficient
a1
LREAL
Second coefficient
a2
LREAL
Third coefficient
a3
LREAL
Fourth coefficient
a4
LREAL
Fifth coefficient
a5
LREAL
Sixth coefficient
a6
LREAL
Seventh coefficient
a7
LREAL
Eighth coefficient