StartSaving#

This command is used to save commands in the robot’s internal memory. These are referred to as offline programs that can later be played using the StartProgram command.

The saved program will remain in the robot internal memory even after disconnecting the power. Saving a new program with the same argument overwrites the existing program.

The robot records all commands sent between the StartSaving and StopSaving commands.

Note

We recommend using the MecaPortal code editor to edit, save, and delete offline programs, as it is easier and more flexible than using StartSaving / StopSaving.

Note

The robot will execute but not record request commands (Get*). If the robot receives a change of state command (Home, PauseMotion, SetEom, etc.) while recording, it will abort saving the program.

Syntax#

StartSaving(n)

Arguments#

  • n: program number, where n ≤ 500 (maximum number of programs that can be stored).

Responses#

  • [2060][Start saving program.]

Usage restrictions#

This command can be executed in any robot state.

If the robot is deactivated, the program is saved without executing received commands.

Cyclic protocols#

This command is not available in cyclic protocols.