Delay

Motion Block

  

Description

The Delay 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 either seconds or 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 block does not produce any escapes.

This is a 10 second timer:

This produces a 10 second countdown display using two text objects named "CountdownDisplay" and "StatusDisplay"

The text in "CountdownDisplay" is being maintained by a Show block:

The resulting forms look like this:

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

Yield