MC-Basic:element.ASCALE

From SoftMC-Wiki
Jump to: navigation, search
Language: English

This property specifies percentage of desired acceleration and deceleration compared to the maximal possible acceleration and deceleration for this type of movement. The motion profile generator attempts to reach this value during motion commands. The ability of the motion profile generator to reach this value is constrained by the value of ACCELERATIONMAX, DECELERATIONMAX, SMOOTHFACTOR and the final position. This property is used inside a motion command to override the permanent value.

Active only when VelocitySettings is set to 1. When VelocitySettings is set to 0, ACCELERATION and DECELERATION are used instead of ASCALE.

Short form

<element>.Ascale

Syntax

<element>.AScale = <expression>
?<element>.AScale

Type

Double

Range

1 ... 100

Units

percentage

Default

100%

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.AScale =30
Move A1 TargetPos Ascale = 20

Group
G1.AScale =40
Move G1 {100, 200} Ascale = 22

See Also