SetOfflineProgramLoop#
This command is used immediately after the StartSaving(1) command to
specify whether the saved program should execute once or run indefinitely when the
Start/Stop button on the robot’s base is pressed. It applies only to program number 1
and only when starting a program using the Start/Stop button, not when using the
StartProgram command.
Syntax#
SetOfflineProgramLoop(e)
Arguments#
e: enable (1) or disable (0) the loop execution.
Default values#
By default, looping is disabled.
Responses#
[1022][Robot was not saving the program.]
This command does not generate an immediate response. A message indicating whether loop execution was enabled or disabled is shown only when a program is being saved. However, if the command is sent while no program is being saved, the above message is returned.
Usage restrictions#
This command can only be executed when a program is being saved using StartSaving.
Cyclic protocols#
This command is not available in cyclic protocols.