Cellwrite Studio operating manual · CWS-OM-001, revision A
Getting started
This chapter takes you through a first session: opening a backup, finding your way round a program, changing it, checking it and saving it.
Opening a backup
A backup is the folder the robot writes when it is backed up from the FlexPendant or RobotStudio. It holds the programs (RAPID), the system parameters (SYSPAR) and the system's own files.
- Select Code > Open backup, or press Ctrl+O.
- Select the backup's folder and select Select Folder.
- The backup opens in the Explorer. Its tasks, modules and routines are listed under its name.
Tip
Open cell folder opens a folder holding the backups of several robots at once, for example all the robots of one cell. The Cell workspace then shows them together.
Other ways to open:
- drag a backup folder or a module onto the window;
- Code > Recent, for the backups opened before;
- double-click a
.modfile in Windows Explorer, when the file association was chosen at installation.
Finding your way round
| To | Do this |
|---|---|
| Open a routine | Double-click it in the Explorer, or press Ctrl+K and type its name. |
| Go to where a name is declared | Put the cursor on it and press F12. |
| See where a name is used | Put the cursor on it and press Shift+F12. |
| Go back to where you were | Alt+Left. Alt+Right goes forward again. |
| See a point, tool or work object | Put the cursor on it. The Inspector shows its values. |
| Find text in every module | Ctrl+Shift+F. |
Changing a program
The editor works like other code editors. Undo is Ctrl+Z and redo Ctrl+Y. While you type, the editor offers the names the program knows; Tab or Enter takes one.
A module that has changed shows a dot on its tab. The Changes panel lists every change since the backup was opened.
Checking the program
- Select Code > Check program, or press F8.
- The Problems panel lists what was found. Double-click a line to go to it.
- Correct the errors. Warnings mark code that runs but is probably not what was meant.
See Checking programs for what is checked.
Playing the program in 3D
- Put the cursor in the routine to play.
- Select Code > 3D view. The 3D view opens in its own tab, with the robot and its tools.
- Select Play. The robot runs the routine's moves. The line that runs is marked in the editor.
Saving
| To | Do this |
|---|---|
| Save the module in front | Ctrl+S |
| Save every change in the backup | Ctrl+Shift+S |
| Keep the backup as it was and save the changes as a new backup | Code > Save backup copy |
A program with errors is saved too. The status bar and the Problems panel say that it holds errors.
Caution
Saving writes the files in the backup folder. Keep a copy of the backup as it came from the robot.