MC-Basic:element.SMOOTHFACTOR
Language: | English • 中文(简体) |
---|
This property is used to control the amount of smoothing applied to the s-curve profile. The smooth factor may be set to a value in the range 1 to 100, to correspond approximately to an acceleration time ranging from V/A to 3*V/A (where V is the cruise velocity and A is the acceleration).
Setting the factor to 0 engages the trapezoidal velocity with no smoothing.
Setting the factor to -1 returns jerk control, in which the exact value of JERK is set. When SMOOTHFACTOR is set to -1, the JERK property is used to control the amount of smoothing.
This property is used inside a motion command to override the permanent value.
IMPORTANT | |
Values of the SmoothFactor between [1,100] and the value of -1 define the SINE-ACCELERATION profile and value of zero the VELOCITY-TRAPEZE profile.
|
Short form
<element>.Smooth
Syntax
<element>.SmoothFactor = <expression>
?<element>.SmoothFactor
Availability
All versions
Type
Double
Range
-1, 0, 1 to 100
Default
1
Scope
Configuration, Task or Terminal
Limitations
To set the value within a task, the element must be attached to that task (using the ATTACH command).
Examples
Axis
A1.Smoothfactor = 30
Move A1 100 SmoothFactor = 20
Group
G1.Smoothfactor = 30
Move G1 {100, 200} SmoothFactor = 20