Difference between revisions of "AXY:MC-Basic:axis.SMOOTHFACTOR"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<expression>''" to "<''expression''>")
m (Text replace - "''<axis>''" to "<''axis''>")
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
''<axis>''.Smooth
+
<''axis''>.Smooth
  
 
|SYNTAX=
 
|SYNTAX=
''<axis>''.SmoothFactor = <''expression''><br>
+
<''axis''>.SmoothFactor = <''expression''><br>
  
?''<axis>''.SmoothFactor
+
?<''axis''>.SmoothFactor
  
 
|AVAILABILITY=
 
|AVAILABILITY=

Revision as of 10:39, 17 March 2014

This property is used to control the amount of smoothing applied to the s-curve profile. The smooth factor may be set in the range from 1 to 100, to correspond approximately to an acceleration time 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.

Axystems:PrfType vs SmoothFactor

Short form

<axis>.Smooth

Syntax

<axis>.SmoothFactor = <expression>

?<axis>.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 axis must be attached to that task (using the ATTACH command).

Examples

Axis1.Smoothfactor = 30

Move Axis1 100 SmoothFactor = 20

See Also