Pauses execution of a robot’s motions for a specified period of time, in seconds.
Move.Delay (seconds)
Prerequisites
Parameters
seconds
A required numeric expression that specifies the number of seconds to delay any further robot motions, interpreted as a Double value.
Remarks
This method delays any further motions for the attached robot for the specified number of seconds. The delay starts immediately if the robot is not moving or starts at the completion of any in-process motions if the robot is moving. Unlike other methods that simply suspend execution of a thread, this delay is synchronized with the movement of the robot. It is useful for inserting process delays to allow other equipment to complete their operations before the robot moves to its next step. E.g., this method can be used after the robot has come to a complete halt to pick up a part, to insert a fixed delay to allow the robot’s gripper to close and engage the part. Another advantage of this method is that it is implemented like a command to “move to the current position for a fixed amount of time.” This means that as soon as the delay period begins, execution of the thread continues. This allows the thread to monitor other activities or plan the next motion. Also, since the Delay method behaves like any other motion, the Delay can be prematurely terminated by a RapidDecel command.
Examples
Dim prof1 As New Profile ' Create new profile set to default values
Move.Loc(loc1, prof1) ' Move to global loc1
Move.Delay(0.2) ' Delay for .2 seconds after reaching loc1
See Also