MC-Basic:element.TIMEDECELERATION

From SoftMC-Wiki
Revision as of 07:49, 30 October 2017 by Chi (talk | contribs)
Jump to: navigation, search

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