Difference between revisions of "MC-Basic:cam.POLY"
Line 48: | Line 48: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
<coefficient index> is in range between 1 and 6<br> | <coefficient index> is in range between 1 and 6<br> | ||
− | available only if [[MC-Basic:cam.CAMTYPE| | + | available only if [[MC-Basic:cam.CAMTYPE|CAMTYPE]] = 1 |
|EXAMPLE= | |EXAMPLE= |
Revision as of 14:32, 17 September 2014
Sets the polynomial coefficients of camming on each segment between MasterData[i] and MasterData[i+1]. The polynomial is normalized on range between 0 and 1. This means:
For x, 0 < x < 1
slave = C1 + C2*x + C3*x2+ C4*x3+ C5*x4+ C6*x5
where:
C1 = Poly[i][1]
C2 = Poly[i][2]
C3 = Poly[i][3]
C4 = Poly[i][4]
C5 = Poly[i][5]
C6 = Poly[i][6]
Syntax
<cam>.Poly[<master index>][<coefficient index>]= <numerical value>
?<cam>.Poly[<master index>][<coefficient index>]
Type
Double
Range
-MAXD - +MAXD
Default
0
Scope
Configuration, Task or Terminal
Limitations
<coefficient index> is in range between 1 and 6
available only if CAMTYPE = 1
Examples
Cam1.Poly[3][5] = 0