Delay Milliseconds

Command

Not Applicable

Description

The Delay Milliseconds block causes a block list to stop and wait until the specified duration has been accomplished. The delay of one list of blocks has no bearing on the execution of other block lists or controller activities. The number indicating the duration of the delay is interpreted in the indicated units of milliseconds. In many cases it is necessary to pay attention to some conditions while waiting. In that case a much shorter delay can be placed inside a loop which is also allowing other conditions to be checked.

Escapes

The Delay Milliseconds block does not produce any escapes.

Examples

Delays are often used to wait for a motor settle after the initial vibration associated with turning on before indicating the encoder position:

Related Topics

Delay Seconds
Yield