MC-Basic:element.TIMEACCELERATION

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

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

A query of the property returns a numeric value, which may be used in expressions. This value is the assigned value, not the actual used value.
When –1 is assigned, this property is ignored, and the defined acceleration 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>.Tacc

Syntax

<element>.TimeAcceleration = <value>
?<element>.TimeAcceleration

Availability

All versions

Type

Double

Range

-1, 0 to MaxDouble

Units

Msec

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.TAcc = 250                                ‘sets the acceleration time to 250 msec

Group
?G1.TimeAcceleration