MC-Basic:element.TIMESETTLE

From SoftMC-Wiki
Revision as of 10:36, 5 July 2017 by Itay (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This property is used to specify the time to wait for an element to get into position. It is used in conjunction with the POSITIONERRORSETTLE property, to determine the point in time at which the element is considered to be settled after being moved.

When the motion profiler has completed, the absolute value of the position error (Target Position – Actual Position) is compared to the PESETTLE property. When the the result is less than or equal to this property for the time given by TIMESETTLE, the ISSETTLED flag is set. The settling time should be an integer multiple of the SERCOS cycle time. If it is not, the actual time is rounded up to the nearest integer multiple of the SERCOS cycle time, and a message is given.

Short form

<element>.Tsettle

Syntax

<element>.TimeSettle = <expression>

?<element>.TimeSettle

Availability

All versions

Type

Double

Range

Greater than or equal to 0

Units

Milliseconds (ms)

Default

0

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.TimeSettle = 5000   ‘Allow 5 seconds to settle

Group
G1.TimeSettle = 5000   ‘Allow 5 seconds to settle

See Also