omron — Parameters

DO monitor command DO monitor command Syntax DO @task:program instruction Function Execute a single program instruction as though it were the next step in an executable program, or the next step in the specified task/program context. Usage Considerations The specified program task cannot be currently executing. The eV+ keywords that can be used with the DO command are detailed in the eV+ Language Reference Guide . Parameters instruction Optional eV+ program instruction to be executed. If no instruction is specified, the last instruction executed with a DO command is repeated (regardless of the context specified or assumed). WARNING:

Typing a DO command with no instruction specified can result in unexpected motion of the robot, because the previous DO instruction is executed again. task Optional integer that specifies the program task that is to execute the instruction. 1 This parameter is also used to determine the context for any variables referenced in the instruction. If "task" is omitted, the colon (":") must also be omitted. Then, the main program task (#0) or the current debug task is used. program Optional program name that specifies the context for any variables or statement labels referenced in the instruction. If "program omitted, the colon (":") must also be omitted.

Then, the program on top of the stack specified by "task" (or the current debug program) is used. See Variable Context for details on specifying context. eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 79