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

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Languages|MC-Basic:element.VELOCITYSCALE}} {{MC-Basic |SHORT FORM= <''element''>.Vscale |SYNTAX= <''element''>.VelocityScale = <''expression''><br> ?<''element''>.Velocity...")
 
 
Line 13: Line 13:
 
|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. 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.
 +
 +
Active only when [[MC-Basic:element.velocitysettings|VelocitySettings]] is set to 1.
  
 
|TYPE=
 
|TYPE=

Latest revision as of 09:46, 30 March 2020

Language: English

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.

Active only when VelocitySettings is set to 1.

Short form

<element>.Vscale

Syntax

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

Type

Double

Range

0.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