MC-Basic:element.TIMEDECELERATION

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

Defines the duration of the deceleration phase. This value is reached only if the other movement parameters cause it to occur. The maximum deceleration value is not exceeded.

A query of the property returns a numeric value, which is used in expressions. This value is the assigned value, not the actual value. When –1 is assigned, this property is ignored, and the defined deceleration is used. A value that is not an integer multiple of the SERCOS cycle time is rounded up to the nearest integer multiple value.

Short form

<element>.Tdec

Syntax

<element>.TimeDeceleration = <value>

?<element>.TimeDeceleration

Availability

All versions

Type

Double

Range

-1, 0 to MaxDouble

Units

millisecond (ms)

Default

-1

Scope

Configuration, 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.TDec = 250                                ‘sets the deceleration time to 250 msec

Group
?G1.TimeDeceleration

See Also