MC-Basic:element.DECELERATIONRATE

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property defines the element Deceleration maximum scaling factor. Maximum values of Deceleration can be scaled independently of velocity, acceleration or jerk.

Short form

<element>.DRate

Syntax

<element>.DecelerationRate = <expression>

?<element>.DecelerationRate

Availability

Since Version 4.0.1

Type

Double

Range

0.1 to 100


NOTE-Info.svgNOTE
Contrary to other properties if a value beyond the given range is assigned to rate properties (Vrate,Arate,Jrate, ...),only a NOTE will be returned and the value will be automatically limited to min-max value.
For example Vrate = 0 will set Vrate to 0.1 and vrate = 1000 will set vrate to 100.

Units

Percents

Default

100

Scope

Task or Terminal

Limitations

To set the value within a task, the element must be attached to that task or through the command line. The total decelerationrate value is combination of the system’s value and the element’s.

Examples

Axis
Setting A1.Drate = 70 will cause the system to reduce maximum deceleration value to 70% of its original value. This means the motion deceleration will not exceed: (sys.drate/100)*(a1.drate/100)*a1.dmax

?A1.Drate

Group
Setting G1.Drate = 70 will cause the system to reduce maximum deceleration value to 70% of its original value. This means the motion deceleration will not exceed: (sys.drate/100)*(g1.drate/100)*g1.dmax

?G1.Drate

See Also