Srs User Manual
Srs User Manual
User's manual
D28076004A – 10/02/2010
Translation of the original manual
SRS © Stäubli 2010
2 / 24 © Stäubli 2010 – D28076004A SRS
TABLE OF CONTENTS
INTRODUCTION ..............................................................................................................5
STARTING SRS...............................................................................................................5
SWITCHING FROM ONE LANGUAGE TO ANOTHER ..................................................6
INSTALLING COMPONENTS .........................................................................................6
MIGRATION OF VAL3 S6.X APPLICATIONS ................................................................7
CONVERSION OF ALL THE APPLICATIONS.................................................................... 7
AUTOMATIC CONVERSION .............................................................................................. 7
APPLICATIONS PRIOR TO S3.0........................................................................................ 7
CELL MANAGEMENT .....................................................................................................8
CREATING A NEW CELL ................................................................................................... 8
DUPLICATING A CELL ....................................................................................................... 8
ADDING AN OPTION IN A CELL ........................................................................................ 8
ADDING AN ADD-ON ......................................................................................................... 9
DELETING A CELL ........................................................................................................... 10
IMPORTING APPLICATIONS INTO A CELL .................................................................... 10
IMPORTING CELLS INTO SRS ........................................................................................ 11
CONNECTION TO A CONTROLLER............................................................................12
VAL3 STUDIO................................................................................................................12
EMULATOR ...................................................................................................................13
INSTALLING A NEW VERSION OF THE EMULATOR..................................................... 13
UNINSTALLING A VERSION OF THE EMULATOR......................................................... 13
TRANSFER TO OR FROM A CONTROLLER ..............................................................14
BACKUP ............................................................................................................................ 14
COMMAND LINE............................................................................................................... 15
LICENSES AND DONGLE MANAGEMENT .................................................................17
DONGLES ......................................................................................................................... 17
THE LICENSE MANAGER ................................................................................................ 17
UPDATE FIRMWARE ....................................................................................................... 17
ADD A LICENSE ON A DONGLE ..................................................................................... 18
USER PROFILE MANAGEMENT..................................................................................19
CONFIGURING THE MODBUS I/OS.............................................................................20
ADDING AN OPTION TO A CONTROLLER.................................................................20
VERSION PRIOR TO S5.0................................................................................................ 20
REMOTE ACCESS ........................................................................................................21
TCP REMOTE MAINTENANCE PORT ............................................................................. 21
PLC ................................................................................................................................22
PLC STUDIO ..................................................................................................................... 22
THE PLC ON THE CONTROLLER ................................................................................... 22
SHARING I/OS WITH THE CONTROLLER (I/O IMPORTER) .......................................... 22
QUESTIONS AND ANSWERS ......................................................................................23
INTRODUCTION
SRS brings together the tools necessary to program applications for STÄUBLI robots.
The minimum recommended hardware for SRS is a PC Pentium 2 GHz (or equivalent) and 1024 Mb of memory.
SRS is based on WINDOWS DOT NET FRAMEWORK. The correct version of FRAMEWORK is installed with
the SRS setup, if necessary.
STARTING SRS
SRS is started via the WINDOWS start menu, then STÄUBLI/SRS/XX/Stäubli Robotics Suite where XX
represents the SRS version. Depending on the installation, it is also possible to set up a shortcut to the latest
SRS version installed, on the desktop and in the quick launch toolbar.
At the first run, SRS launches a wizard to ask about creating a new cell or importing existing cells. If cells of a
previous SRS version already exist on disk, choose "import cells" and follow the wizard. In the other case,
choose "create a cell" and follow the wizard.
The new language is taken into account for all the tools except the ones shown below:
• PLC STUDIO
• EMULATOR
To switch between languages for the emulator, start up the emulator and then select the language in the
CONTROL PANEL/CONTROLLER CONFIGURATION/LANGUAGE menu.
To select the language for PLC STUDIO, go to the WINDOWS start menu and then to STRATON/LANGUAGE.
INSTALLING COMPONENTS
To install or re-install a component of SRS (EMULATOR, SRS or PLC STUDIO), execute the SETUP.EXE file,
choose language, approve license and then choose the required components.
Applications prior to the s4.0 version of VAL3 are not compatible with SRS. They must be converted for use in
the various SRS tools.
AUTOMATIC CONVERSION
When an s6.x application is loaded into an emulator or a controller, it is converted automatically without user
confirmation.
CAUTION:
Only libraries possessing the AUTOLOAD attribute are converted automatically. The
others are converted by loading them manually.
A cell is made up of a set of specific files for a given robot application. It contains the configuration, input/output,
PLC and VAL3 application files. SRS always has a current cell. The cell name is displayed in the SRS title bar.
The cell is used by all the SRS clients (VAL3 STUDIO, TRANSFER MANAGER, etc.) to find out:
- The VAL3 version
- The storage paths (applications VAL3,I/O,configuration, etc.)
- The VAL3 syntax checking system
- ...
CAUTION:
It is impossible to change the current cell if an SRS client is being executed
(VAL3 Studio, 3D Studio, etc.).
In the minimized view of SRS, the list of the cells is available and it allows to choose the current cell.
If some cells cannot be read when running SRS then these cells are marked as disabled. They appear greyed in
the cell view and the cause of the disabled state is explained in the description of the cell.
Remark: For VAL3 versions prior to S5.3, all the files (including the executable files) are copied in the cell.
DUPLICATING A CELL
1. Execute the cell manager via the TOOLS/CELLS MANAGER menu, (SHIFT+CTRL+C).
2. Select the cell to be copied and click on the CELL/COPY icon (SHIFT+CTRL+N) .
3. Select the cell name, its location and the VAL3 version. The VAL3 version of the new cell must be
compatible with the old one.
4. Press the OK button to validate the choices.
Once the new cell has been created, the VAL3 application importer tool is called automatically to select the VAL3
applications that are to be copied in the new cell (see: Importing applications into a cell).
ADDING AN ADD-ON
The add-on management depends on the VAL3 version.
For cell in VAL3 version before s6.2
1. Stop the emulator.
2. Stop VAL3 STUDIO.
3. Install the add-on DLL in the usr/app folder of the cell (if this folder doesn't exist, create it).
4. Restart the emulator.
5. Open an application or create a new one.
6. Go in the command line (menu F2).
7. Execute the command: export("").
8. A val3.cfx file is created in the usr/app folder of the cell.
9. Overwrite the val3.cfx file that is on the root of cell with this new one.
10. Now, add-on keywords are recognized in VAL3 STUDIO and VAL3 checker.
CAUTION:
It is impossible to delete the current cell if an SRS (VAL3 Studio,...) customer is running.
If a cell is deleted, all the cell data are lost, including the VAL3 applications.
1. Execute the cell manager via the TOOLS/CELLS MANAGER menu, (SHIFT+CTRL+C).
2. Select the cell to be deleted and click on the CELL/DELETE icon .
CAUTION:
The VAL3 applications are also cleared.
2. Using the CELL/IMPORT APPLICATIONS icon, (CTRL+I) , display the import window.
4. Select the application or applications to be imported and click on Next and then on End.
The import sequence starts, and if the applications require a conversion, the import software does it
automatically.
The applications converted are placed in the cell directory. If any errors occur, they are displayed at the end of
the conversion procedure.
If there are no profiles on the controller, it is always possible to connect up the system using the "DEFAULT"
profile without any password being required.
VAL3 STUDIO
The VAL3 STUDIO tool is used to create, develop, modify or print VAL3 applications. The tool, a demonstration
version of which is supplied with SRS, requires a license. To run it, click on the VAL3 STUDIO button or the
TOOLS/VAL3 STUDIO (SHIFT+CTRL+V) menu.
To find out more about VAL3 STUDIO, see the specific VAL3 STUDIO documentation.
EMULATOR
This tool can be used to start an emulator (SHIFT+CTRL+E). The emulator acts as a controller and provides the
same interface via a simulation of the manual control pendant.
(In the Emulator directory for the VAL3 CD and at the root for the SRS CD).
See also:
Installing components.
The TRANSFER MANAGER tool enables configurations and applications to be copied to a controller and vice
versa. The tool can be executed via the toolbar or the TOOLS/TRANSFER MANAGER menu (SHIFT+CTRL+T).
A network connection to the controller is required (see: connection to a controller).
Once it has been connected, the tool displays the emulator cell in the left-hand panel, and the controller cell in
the right-hand panel.
To select the elements (VAL3 PLC, I/O applications, etc.), click in the corresponding check boxes.
The arrows on each side of the TRANSFER button show the direction in which the transfer is to be made.
BACKUP
It is possible to make a full backup copy of the controller by clicking on the SAVE button.
The name of the backup folder is composed of the directory chosen by the user (by default :
MY DOCUMENTS\STAUBLI\BACKUPS), after the order number of the controller and finally the date.
The SYS partition is saved in the SYS directory, the USR partition in the USR directory and the LOG partition in
the LOG directory.
The /usr/configs/arm.cfx file is renamed arm.< order number of arm >.cfx in the backup.
Remarks:
If the order number of controller is not filled in the options.cfx file file, it is replaced by the IP address of the
controller.
If the order number of arm is not filled in the arm.cfx file, it is replaced by the IP address of the controller.
COMMAND LINE
The transfer tool can be started using a command line instruction to carry out automatic transfers. The
commands are also summerized in the HELP button:
1
the logger is registered in a LOG sub-directory (-G option). This sub-directory bears the name of the controller's
IP address (-H option).
Example:
• Transfer from the controller of the VAL3 FOO and FOO2 applications and all the I/O files to the DEFAULT
cell, which is in the C:\STAUBLI\CS8 directory:
Remark: The online command, used with WINDOWS task manager, can be used to make regular
scheduled backups of controller data (see: Scheduled tasks in the WINDOWS help menu).
The licenses of for SRS are protected with a USB dongle. The licenses are installed on the dongle and the
presence of this dongle enables these licenses.
DONGLES
There are 2 types of dongle:
• Local dongle: This dongle is used for a single PC. When it is plugged into the USB port, all the licenses that
are installed on this dongle are enabled for this PC.
• Network-50 dongle: This dongle grants floating licenses on a network. This dongle is limited to a maximum
of 50 users.
UPDATE FIRMWARE
If the firmware version is prior to 3.21, it is necessary to update it. To do so, unplug all the other dongles, select
the Update / Update Firmware menu and follow the prompts.
The controller provides the possibility of having several users with different rights. To use the system, it is
necessary to create user profiles and enter the desired rights for each profile.
For full documentation on profile rights, refer to the "software configuration" chapter of the controller user manual.
The profile management tool can be accessed via the TOOLS/PROFILE EDITOR menu (SHIFT+CTRL+F).
This tool can be used to create, modify or delete profiles for a controller. To edit the profiles for a controller, select
CONTROLLER in the left-hand panel and then enter the connection information (see: connection to a controller).
The left-hand panel is used to list the profiles, and the current profile is displayed in the right-hand panel.
To rename a profile, change the name in the editing box at the top of the right-hand panel and then validate the
name by pressing the tab key. Then accept the change of name by saving the profile.
This tool is used to create the MODBUS.XML file containing the declaration for the I/Os for the MODBUS server.
To transfer the MODBUS.XML file to or from a controller, use the transfer tool (see: Transfer to or from a
controller).
To create or modify the file, execute the tool via the TOOLS/MODBUS IO CONFIG menu (SHIFT + CTRL + A).
Click on the NEW button to create a new MODBUS configuration or open an existing one with the OPEN
button . If a MODBUS file already exists in the cell it is opened automatically.
Click on the save button to save the configuration. Remember that the name of the file must be
"MODBUS.XML" to be take in account by the CS8.
To add an item, click on the new button on the item toolbar . Then choose the name, the type, the
size and the access.
Item can be inserted through the insert button or deleted with the delete button . The order of items can
be changed by using the drag and drop feature.
It is possible to append an existing MODBUS configuration file with the APPEND button .
The corresponding CSV file can be create through the EXPORT button CSV. This file is needed to the configure
the Applicom OPC server (APPLICOM IMPSYMB).
CAUTION:
For controllers with a version prior to s5.0 (see: Version prior to s5.0).
REMOTE ACCESS
This tool is used to log on to a controller using the graphical interface from the emulator.
1. To log on, start the tool by clicking on the button or via the TOOLS/CONTROLLER/ REMOTE ACCESS
menu (SHIFT+CTRL+R).
2. Enter the log in information. See: connection to a controller, TCP remote maintenance port.
3. Validate.
Once connected, the simulated manual control pendant displays exactly the same interface as the real pendant.
The 2 pendants remain connected in parallel, and all the actions carried out on one are reflected in the other. The
actions prohibited on the simulated pendant are as follows:
- Switching arm power on.
- Changing the operating modes.
- Starting a VAL3 application using the START button.
- Stopping a VAL3 application using the STOP button.
- Changing the manual movement mode.
- The MOVE/HOLD button.
- The manual movement keys.
- Changing speed.
- Buttons 1, 2 and 3.
CAUTION:
This option only functions on s5.0 or subsequent controller versions.
CAUTION:
We strongly recommend selecting a number greater than 1000, as the lower numbers
have already been reserved.
PLC STUDIO
This tool is a PLC development workshop in compliance with the IEC-61131 standard. It supports the languages
used in compliance with the standard, i.e. IL (INSTRUCTIONS LIST), ST (STRUCTURED TEXT),
SFC(SEQUENTIAL FLOW CHART), FBD (FUNCTIONAL BLOCK DIAGRAM) and LD (LADDER).
This tool is used to create and modify PLC applications, and also to intervene remotely on a controller executing
a PLC in order to debug it. The PLC developed with this tool behaves in exactly the same way as an external
programmable controller, i.e. communication with the VAL3 world is provided via the cell I/Os.
The tool is optional and it requires a hardware key and a software key.
There are 2 options available:
- Fewer than 256 variables.
- More than 256 variables. This option does not set an upper limit for the number of variables, but Stäubli
only guarantees 1024 variables.
An option is available to switch from the first option to the second one.
CAUTION:
This option is only valid as from the s5.0 version of VAL3.
CAUTION:
The import tool only operates for cell versions prior to 7.0.
A tool can be used to manage the I/Os that have to be shared between the PLC and the controller. The stages
are as follows:
1. First define the configuration of the controller I/Os: addresses and mnemonics (via the emulator, the
Applicom I/O tools and the Modbus I/O configuration. See: Configuring the Modbus I/Os.
2. Execute the emulator to generate the VAL3 I/O library correctly.
3. Start the tool via the TOOLS/PLC/IO IMPORTER menu (SHIFT+CTRL+I).
Open or create a PLC project via the FILE menu. A list of the current cell I/Os is displayed in the left-hand panel,
with those of the PLC in the right-hand panel (the inputs are at the top and the outputs at the bottom). Then use
the mouse to drag and drop the desired I/Os as inputs or outputs in the PLC. To delete I/Os from the PLC, select
them and press the DEL key on the keyboard or drag and drop them to the controller.
The CS8 FILE/OPEN THE I/Os menu can be used to open I/Os from another cell.
See also:
Licenses and dongle management.
REMOTE ACCESS.
See also:
User profile management.
Transfer to or from a controller.
See also:
Configuring the Modbus I/Os.
Cell management.
To change the port number for the PLC soft, it is necessary to change the PORT input in the PLC.CFX cell file.
This file is in the USR/CONFIGS directory.
See also:
Adding an option to a controller.
Transfer to or from a controller.
PLC.
The PLC on the controller.