MC-Basic:element.VELOCITYSCALE

From SoftMC-Wiki
Revision as of 09:45, 30 March 2020 by Miborich (talk | contribs) (Created page with "{{Languages|MC-Basic:element.VELOCITYSCALE}} {{MC-Basic |SHORT FORM= <''element''>.Vscale |SYNTAX= <''element''>.VelocityScale = <''expression''><br> ?<''element''>.Velocity...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.

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