MC-Basic:element.TIMESETTLEMAX

From SoftMC-Wiki
Revision as of 08:38, 30 October 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property defines the maximum time allowed for the element to settle and is measured from the moment the motion profiler completes. An error is generated when the specified time has passed and the element has not settled.
TIMESETTLE is measured from the moment the element is in position. Since some time may pass from the moment the profiler has completed until the element is actually in position, TIMESETTLEMAX should be set greater than TIMESETTLE.
Setting the value to –1 disables the function (maximum settling time is never checked).

The maximum 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>.TsettleMax

Syntax

<element>.TimeSettleMax = <expression>

?<element>.TimeSettleMax

Availability

All versions

Type

Double

Range

-1, Greater than or equal to 0

Default

-1

Scope

Configuration, Task or Terminal

Limitations

In order set the value within a task, the element must be attached to that task (using the ATTACH command).

Examples

Axis
A1.TimeSettleMax = 5000  ‘Allow maximum 5 seconds to settle

Group

G1.TimeSettleMax = 5000  ‘Allow maximum 5 seconds to settle

See Also