Wait Command
Overview
The Wait Command helps the robot to wait for the specified time.
Property
Annotation
You can insert text in the description, unique meaning, or nickname for each Parameter to differentiate from many DRL Components.
Parameters
In Parameter Panel, it will help you create or select your variable to define the parameter of the chosen command.
For detailed DRL description other than parameter, please refer to the following online manual link: https://manual.doosanrobotics.com/help/programming/2.9.3/publish/en_us/wait-time-8427392.html.
Parameter Name | Data Type | Default Value | Description |
Time | Float | - | Time [sec] |
Example
DRL Code
wait(1.3) # Waits for 1.3 seconds.
while 1: # Checks contact no. 1 every 0.1 second.
if get_digital_input(1) == ON:
set_digital_output(1, ON)
wait(0.1)