MC-Basic:cam.POLY

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

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

See Also