Difference between revisions of "MC-Basic:element.VELOCITYSCALE"

From SoftMC-Wiki
Jump to: navigation, search
m (Typo correction)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This property specifies percentage of desired cruise velocity compared to maximal possible velocity for this type of movement. The motion generator attempts to reach this velocity during motion commands. The ability of the motion generator to reach this value is constrained by the value of ACCELERATION, DECELERATION, SMOOTHFACTOR and the final position. This properties used inside a motion command to override the permanent value.
+
This property specifies percentage of desired cruise velocity compared to maximal possible velocity for this type of movement. When [[MC-Basic:element.VELOCITYSETTINGS|element.VELOCITYSETTINGS]]=OFF, VSCALE is ignored and [[MC-Basic:element.VELOCITYCRUISE|VCRUISE]] is used instead. The motion generator attempts to reach this velocity during motion commands. The ability of the motion generator to reach this value is constrained by the value of [[MC-Basic:element.ACCELERATION|ACCELERATION]], [[MC-Basic:element.DECELERATION|DECELERATION]], [[MC-Basic:element.SMOOTHFACTOR|SMOOTHFACTOR]] and the final position. This property is used inside a motion command to override the permanent value.
 
 
Active only when [[MC-Basic:element.velocitysettings|VelocitySettings]] is set to 1.
 
  
 
|TYPE=
 
|TYPE=
Line 20: Line 18:
  
 
|RANGE=
 
|RANGE=
0.1 ... 100
+
1 ... 100
  
 
|UNITS=
 
|UNITS=

Latest revision as of 06:53, 22 April 2022

Language: English

This property specifies percentage of desired cruise velocity compared to maximal possible velocity for this type of movement. When element.VELOCITYSETTINGS=OFF, VSCALE is ignored and VCRUISE is used instead. The motion generator attempts to reach this velocity during motion commands. The ability of the motion generator to reach this value is constrained by the value of ACCELERATION, DECELERATION, SMOOTHFACTOR and the final position. This property is used inside a motion command to override the permanent value.

Short form

<element>.Vscale

Syntax

<element>.VelocityScale = <expression>
?<element>.VelocityScale

Type

Double

Range

1 ... 100

Units

percentage

Default

50%

Scope

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.VelocityScale =30
Move A1 TargetPos Vscale = 20

Group
G1.VelocityScale =40
Move G1 {100, 200} Vscale = 22

See Also