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: loop execution enabled (1) or disabled (0).
Default values#
This setting is persistent and retained after a power cycle (a reboot).
By default, loop execution 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.