Académique Documents
Professionnel Documents
Culture Documents
RobotStudio Online
5.06
Document ID: 3HAC 18236-1
Revision: D
The information in this manual is subject to change without notice and should not be
construed as a commitment by ABB. ABB assumes no responsibility for any errors that
may appear in this manual.
Except as may be expressly stated anywhere in this manual, nothing herein shall be
construed as any kind of guarantee or warranty by ABB for losses, damages to persons
or property, fitness for a specific purpose or the like.
In no event shall ABB be liable for incidental or consequential damages arising from
use of this manual and products described herein.
This manual and parts thereof must not be reproduced or copied without ABBs written
permission, and contents thereof must not be imparted to a third party nor be used for
any unauthorized purpose. Contravention will be prosecuted.
Additional copies of this manual may be obtained from ABB at its then current charge.
Table of Contents
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Product documentation, M2004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1 Welcome to RobotStudioOnline
13
25
35
Table of Contents
84
85
87
88
89
89
90
91
92
106
107
108
109
110
111
112
113
114
Table of Contents
123
137
Table of Contents
159
161
164
167
168
172
175
195
195
196
197
199
201
203
203
204
205
206
208
210
212
213
214
217
Overview
Overview
About this manual
This manual contains information and instructions for supervising, installing, configuring
and programming a robot from a PC with RobotStudioOnline.
Usage
This manual shall be used as a description for how to work with the robot from
RobotStudioOnline. It describes RobotStudioOnline and how to perform the tasks from there.
Details about parameters, RAPID instructions and similar are not described in this manual,
but can be found in the respective reference manual.
Who should read this manual?
This manual is mainly intended for:
Robot installers
Robot programmers
Production technicians
Service technicians
Prerequisites
The reader should...
Overview
Continued
Organization of chapters
The manual is organized in the following chapters:
Chapter
Contents
1. Welcome to
RobotStudioOnline
2. Get started
4. Administrate Systems
What robot views are and how you can use them for
accessing controllers as well as organizing your work.
6. Handle controllers
7. Program a robot
8. Handle I/O
9. Configure systems
What events are and how to view and record them from
RobotStudioOnline.
References
Reference
Document ID
3HAC 16581-1
3HAC 16590-1
3HAC020738-001
Revisions
Revision
Description
C
D
Overview
Continued
Safety information
Part list
Circuit diagrams
RobotWare manuals
The following manuals describe the robot software in general and contain relevant reference
information:
RAPID reference manual part 2: Description of all RAPID functions and data types.
Application manuals
Specific applications (e.g. software or hardware options) are described in Application
manuals. An application manual can describe one or several applications.
An application manual generally contains information about:
What is included (e.g. cables, I/O boards, RAPID instructions, system parameters)
Operators manuals
This group of manuals is aimed at those having first hand operational contact with the robot,
i.e. production cell operators, programmers and trouble shooters. The group of manuals
include:
11
Safety
Safety
Safety of personnel
A robot is heavy and extremely powerful regardless of its speed. A pause or long stop in
movement can be followed by a fast hazardous movement. Even if a pattern of movement is
predicted, a change in operation can be triggered by an external signal resulting in an
unexpected movement.
Therefore, it is important that all safety regulations are followed when entering safeguarded
space.
Safety regulations
Before beginning work with the robot, make sure you are familiar with the safety regulations
described in Operators manual - IRC5 with FlexPendant.
12
1 Welcome to RobotStudioOnline
1.1. What is RobotStudioOnline?
1 Welcome to RobotStudioOnline
1.1. What is RobotStudioOnline?
Overview
RobotStudioOnline is a PC software with which you work with robots, as a complement to
working from the FlexPendant. RobotStudioOnline is optimized for text based programming
(suitable for programs with lot of logic or complex structure) and tasks related to managing
the robots system.
RobotStudioOnline can be installed on an ordinary computer running Windows 2000 or later.
This computer can then be connected to one or several controllers by an Ethernet network, or
to one single controller by the controllers service port connection.
RobotStudioOnline functionality
The main entry to the functionality of RobotStudioOnline is a robot view explorer. From this
you select which robot to work with, in cases where several robots are installed, and what
parts of the system you want to work with.
RobotStudioOnline contains:
A configuration editor for editing the system parameters of the running system.
Other tools for viewing and handling controller and system properties.
13
1 Welcome to RobotStudioOnline
1.2. When to use the FlexPendant and RobotStudio Online
Use...
Use...
Jog a robot.
The FlexPendant
Use...
Acknowledge events.
The FlexPendant.
RobotStudio Online or
the FlexPendant.
RobotStudio Online or
the FlexPendant.
The FlexPendant.
RobotStudio Online or
the FlexPendant.
1 Welcome to RobotStudioOnline
1.2. When to use the FlexPendant and RobotStudio Online
Continued
Program a robot
To...
Use...
The FlexPendant.
The FlexPendant.
Use...
Use...
RobotStudio Online
15
1 Welcome to RobotStudioOnline
1.2. When to use the FlexPendant and RobotStudio Online
Continued
Calibration
To...
Use...
The FlexPendant
The FlexPendant
Related information
The table below specifies which manuals to read, when performing the various tasks referred
to:
16
Recommended use...
Document number
FlexPendant
3HAC 16590-1
RobotStudio Online
3HAC 18236-1
1 Welcome to RobotStudioOnline
1.3.1. Help for using RobotStudio Online
17
1 Welcome to RobotStudioOnline
1.3.2. Layout of the Help Window
en0200000243
Parts
1. The Show/Hide button
This button shows or hides the navigation pane.
2. The Back button
This button takes you to the previous displayed help topic.
3. The Print button
This button opens a dialog box from which you can print either the selected topic or a
complete help book.
4. The Options button
This button displays a set of options for customizing the help window.
5. The Navigation Pane
The navigation pane contains tabs for navigating in the help file: Content, Index and
Search.
6. The Topic pane
The topic pane displays the selected help topic.
18
1 Welcome to RobotStudioOnline
1.3.3. The help
Use the...
Content tab
Index tab
Search tab
search for all topics that contain specific words. You can also
search for combination of words and complete phrases.
it will...
book
information topic
19
1 Welcome to RobotStudioOnline
1.3.3. The help
Continued
then...
several topics
a dialog box displays all topics that are related to the word you
are looking for. Double-click a topic and it will be displayed in the
topic pane.
To search for...
then type...
several words as a phrase the phrase you are searching for, with quotation marks around
the phrase.
20
1 Welcome to RobotStudioOnline
1.3.4. Text formatting
is written with...
Example
bold letters
capital letters
monospace letters
MoveJ
PROC routinename ()
italic letters
21
1 Welcome to RobotStudioOnline
1.3.5. Printing the help
22
1 Welcome to RobotStudioOnline
1.3.6. The RobotStudio Online Operators Manual as pdf file
Online
23
1 Welcome to RobotStudioOnline
1.3.6. The RobotStudio Online Operators Manual as pdf file
24
2 Get started
2.1. Get started
2 Get started
2.1. Get started
Overview
This chapter describes the basic steps for connecting a controller to RobotStudioOnline as well
as the settings you have to make on the PC. Once the controller is connected, you can then
start working with it from RobotStudioOnline.
It also describes how to get and install a license key for RobotStudioOnline, which is necessary
for running RobotStudioOnline after the trial period has expired. The license key is free of
charge.
Related information
How to install the software and setting up the controller is described in the printed manual
Getting Started with IRC5, which also contains all the information in this chapter.
25
2 Get started
2.2. Getting and Installing a license key for RobotStudio Online
26
2 Get started
2.3. Connecting a PC to the service port
xx0400001299
Service port on computer unit (connected to Service port on the Control Module
front through a cable)
Detailed in section:
27
2 Get started
2.3. Connecting a PC to the service port
Continued
Action
Illustration
1.
2.
3.
xx0400000844
A: network port
The placement of the network port may
vary depending on the pc model.
4.
28
2 Get started
2.4. Network settings for connecting a PC to a controller
Value
IP address
192.168.125.2
Subnet mask
255.255.255.0
For detailed information about how to set up the PCs network connection, see Windows help
on Configure TCP/IP settings.
29
2 Get started
2.4. Network settings for connecting a PC to a controller
Continued
NOTE!
Obtaining an IP address automatically might fail if the PC already has an IP address from
another controller or Ethernet device.
To ensure that you get a correct IP address if the PC was previously connected to an Ethernet
device, do one of the following:
Run the command ipconfig /renew from the command prompt after connecting
the PC to the controller.
Passive FTP
All TCP and UPD connections to remote controllers are initiated by the PC, that is the
controller only responds on the given source port and address.
Remote connection is supported from RobotWare version 5.06. It is possible to connect
remotely to RobotWare version 5.05.03 and onwards. But for RobotWare version 5.05 active
FTP is used and the firewall pass through is not supported.
Related information
For information on how to connect the PC to the Controllers service port, see Connecting a
PC to the service port on page 27.
For information on how to connect to a remote controller, see Add a controller on a remote
subnet to a Robot View on page 138.
For information on how to use the boot application in the FlexPendant for setting up the
network connection, see Operators manual - IRC5 with FlexPendant.
30
2 Get started
2.5. Accessing a controller from RobotStudioOnline
Then
Auto
Manual
31
2 Get started
2.5. Accessing a controller from RobotStudioOnline
Continued
Result
The controller is added to a new robot view in RobotStudioOnline and you now have access to
work with it. See About robot views for more information.
32
2 Get started
2.6. About automatic detection of controllers
33
2 Get started
2.7. Installing RobotWare
34
35
en0400000836
Parts
1. The Menu bar.
Each menu is described in detail later in this chapter.
2. The Toolbars.
The toolbars contains buttons for quick access to commands in the menus.
3. The Controller Status window.
This window shows status and access information for each controller in the open robot
view. See The controller status window on page 57 for detailed information.
4. The Robot View Explorer.
This window shows the controllers that are included in the current robot view. From here
you access the controller and select which part of it to work with. See The Robot View
Explorer on page 52 for detailed information.
37
Show a window
To show a dockable window:
On the View menu, click the name of the window.
Hide a window
To hide a dockable window, do one of the following:
On the View menu, clear the check mark beside the name of the window.
Click the Minimize button in the corner of the window. This button may be at the upper
right or upper-left corner, depending on the position of the window.
Resize a window
To resize a window:
Point to a corner or border of the window and drag it to the desired size.
Change the docking position
To change the position of a docked window:
Point to the border at the top of the window and drag the window to a different dock area.
Expand a docked window
To expand a docked window:
Click the Expand button near the corner of the window.
This button may be near the upper-left or upper-right corner, depending on the position of
the window. This is a dual-purpose button: When the window is fully expanded, the
function of this button is Contract; otherwise, the function is Expand. The tooltip indicates
the current function.
39
File
Edit
View
Robot View
Controller
Program
Tools
Window
Help
40
Command
Description
Opens the New Robot View dialog box, from where you create
new Robot Views.
See Creating a new Robot View on page 125 for more
information.
Opens the Open Robot View Dialog box, from where you locate
and open existing Robot Views.
See Opening a Robot View on page 127 for more information.
Saves the open Robot View as a new file. This command also
closes the old Robot View without saving any changes made
after the last time it was saved. The new Robot View will remain
open in RobotStudio Online .
See Saving a Robot View on page 128 for more information.
Exit
Related information
About Robot Views on page 124
41
42
Command
Description
Undo
Undoes the latest actions, one at a time for each time the
command is used.
Not all actions can be undone.
Redo
Cut
Copy
Paste
Pastes the text (or objects) from the clipboard at the insertion
point.
Delete
Rename
Command
Description
Toolbars
Status Bar
Controller Status
Output
Workbook Mode
Default Layout
Shows the start page with shortcuts and introduction texts in the
workspace.
43
44
Command
Description
Add Controller
Opens the Add Controller dialog box, from where you add
controllers to your Robot View.
See Adding a controller to a Robot View on page 138 for more
information.
Add Folder
Open Document
Command
Description
Configuration
Create Backup
Restore Backup
Opens a dialog box from where you set the controllers date and
time.
See Setting the controllers date and time on page 144for more
information.
Restart
Opens a dialog box from which you restart the controller. See
Restarting a controller on page 172 for more information
Events
I/O System
Opens a new menu with commands for working with I/O signals
and units on the controller. See Commands on the I/O System
menu on page 46 menu for more information.
Releases the Write access to the controller. You will get readonly access after releasing the Write access.
See About access rights on page 156 for more information.
Rename
Advanced
45
Command
Description
Configuration Editor
Load Parameters
The command opens the Load Configuration File dialog box, from
where you load configuration files to the controller.
See Loading system parameters from configuration files on page
214for more information.
Save System
Parameters
Command
Description
Event Recorder
Opens the Event Recorder, in which you record events from the
controller.
See The event recorder on page 79 for more information.
Save Event
Recording
Saves the Event Record for the selected controller to a log file in the
PC.
Save Event Recording is only available if an event recording is started
for the selected controller.
Clear Event
Recording
Command
Description
Opens the I/O window for the selected I/O device. This command is
only available when an I/O device is selected in the robot view
explorer.
See Handle Input and Output signals on page 195 for more
information.
Activate Unit
Deactivate Unit
Edit Value
Opens a dialog box with which you edit analog values. This command
is only available when an I/O window is open.
Command
Description
Set 1
Set 0
Simulated
Lets you set another value than the actual one, for testing purposes.
This command is only available when an I/O window is open.
View
Lets you filter which signals to view. This command is only available
when an I/O window is open.
Command
Description
Set Controller ID
Opens a dialog box from which you can set the controllers ID.
See Setting a controllers ID on page 148 for more information.
UAS Administration
Tool
Opens the tool for administrating the user authorization system, which
controls what different users are allowed to do with the controller. See
About user authorization on page 159 for more information.
Opens a window in which you can see what user you are logged on
as and what grants you have.
Login as a different
User
Opens a dialog box from which you can log on to the controller as a
different user.
47
48
Command
Description
Program Editor
Load Program
Delete Program
Save Program as
Opens a dialog box from where you save the program in the
selected Task node to a file on the PC.
See Saving a program on page 189 for more information.
New Module
Load Module
Save Module as
Opens a dialog box from where you save the selected module
to a file on the PC.
See Saving a module on page 190 for more information.
Enable Edit
Apply Changes
Reset Changes
Command
Description
System Builder
Opens the Import System Options Dialog box, with which you
copy system options from installation disks to the media pool.
See About the media pool on page 118 for more information.
49
50
Command
Description
Cascade
Tile Horizontally
Tile Vertically
Command
Description
Contents
Index
Search
About
51
52
en0400000727
Node
Description
Robot View
The root of the Robot View tree, it is named as the Robot View file. See
About Robot Views on page 124 for more information.
xx0300000018
Controllers
xx0300000026
Connected
Controller
xx0300000027
Connecting
Controller
xx0400000677
53
Disconnected
Controller
xx0300000028
Controller, not
logged on to
xx0400001199
Configuration
xx0300000029
Topic
xx0300000030
Event Recorder
I/O
Man-machine communication
Motion
See Configure systems on page 203 for more information about how
to configure the system from RobotStudioOnline.
With the Event Recorder you can view and save the controller's
events. See Handle event records on page 217 for more information.
xx0300000037
I/O System
Represents the controller's I/O system. The I/O system consists of I/O
buses and units.
xx0300000434
I/O Bus
xx0300000433
I/O Unit
An I/O Unit is a board, panel or any other device with ports through
which the I/O signals are sent.
xx0300000432
RAPID Tasks
xx0300000031
Task
xx0300000032
Modules
xx0300000431
Program Module
xx0300000430
System Module
xx0300000428
Encrypted Module
A module that is locked for editing and viewing. See Program a robot
on page 175 for more information about the parts of a program.
xx
Nostepin Module
xx
Procedure
A routine that does not return any value. Procedures are used as
subprograms. See Program a robot on page 175 for more information
about the parts of a program.
xx0300000429
Function
xx0300000034
Trap
xx0300000036
55
Documents Folder
xx0300000039
Document Link
Link to a document. The icon for the document is the same as the
Window icon for the document type. See Documents in robot views on
page 130 for more information.
xx0300000038
56
57
en0400000922
Parts
1. The System Name column
This column shows the name of the system that is running on the controller.
2. The Controller Name column
This column shows the name of the controller.
3. The Controller State column
This column shows the state of the controller:
starting up. It will shift to state motors off when it has started.
Motors off
Motors on
Guard Stop
Emergency Stop
Waiting for motors on after ready to leave emergency stop state. The emergency stop is no
e-stop
longer activated, but the state transition isnt yet confirmed.
System Failure
is running a program.
Ready
Uninitialized
Auto
Manual
about to enter Auto mode, but the mode transition has not yet
been acknowledged.
59
60
en0300000080
61
62
Command
Keyboard shortcut
Open file
ENTER
ENTER
BACKSPACE
TAB or SHIFT+TAB
CTRL+a
CTRL+x
CTRL+c
CTRL+v
DELETE
F2
F5
63
en0400001196
Parts
part
Description
1.
2.
3.
4.
5.
6.
7.
8.
9.
65
Related information
Configure systems on page 203
About configurations on page 204
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
67
en0400000838
Description
Editable parameter
xx
xx
Related information
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Instance Editor on page 70
69
en0400000839
Parameter Icons
Below are descriptions for the icons in the editor:
Icon
Description
Editable parameter
xx
xx
Related information
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
71
Function
Description
Syntax coloring
Writes each part of the code with a specific color, based on its
syntactic function in RAPID.
Parameter info
Auto text
Double-click a...
module
Each module is opened in an own program editor window, if you open several modules at
one time.
Close a Program Editor window
To close a Program Editor window:
Click the Close button at the windows upper right corner.
Related information
Layout of the Program Editor window on page 74
Program a robot on page 175
About access rights on page 156
73
The RAPID tab in the Output Window displays messages from the controller
regarding the program you are editing.
The Status Bar at the bottom of the RobotStudioOnline window displays the row and
column number of the insertion point, when editing programs with the program editor.
en0400000840
means that
Dark Gray
Light Gray
White
75
To view
All Signals
xx0300000434
xx0300000433
xx0300000432
2. On the Controller menu, point to I/O System and select Inputs and Outputs. You can
also double-click the node to open it in the I/O window.
Related Information
Layout of the I/O system window on page 77
Handle Input and Output signals on page 195
76
en0400000840
Parts
1. The Name column
This column shows the name of the signal. The name is set by the I/O units configuration
and cannot be changed from the I/O system.
2. The Type column
This column shows which type of signal it is, by using any of the abbreviations described
below. The signal type is set by the I/O units configuration and cannot be changed from
the I/O system.
Abbreviation
Description
DI
DO
AI
AO
GI
GO
77
78
79
en0400000842
Parts
1. TheView Category list
This list contains the different categories of events you can select to view. The default
category Common includes all categories.
2. The Start button
This button starts the recording of events, if it has been stopped. The recording is
automatically started when the event Recorder is opened.
3. The Stop button
This button stops the recording of events.
4. The With history check box
This check box determines weather previous events from the controller should be
included in the record or not.
5. The Selected Category list
If the With history check box is selected, this box lets you select which category of
previous events to include to the record.
6. The Save button
This button saves the event record to a log file on the computer.
7. The Clear button
This button clears the current event record on the computer. The events will still remain
in the controllers log file.
8. The Event Information box
This box displays a description of the event selected in the event list.
81
Semantic and syntactic errors when loading programs or applying changes when
editing.
82
en0300000071
Parts
1. The Output tab
This tab displays information about controllers in your Robot View. See The Output
window on page 82 for detailed information.
2. The RAPID tab
This tab displays error messages and other information related to robot programs loaded
in the program editor. See The Output window on page 82 for detailed information.
83
The Users tab, for setting which users shall have access to the controller. Here you
also set the group membership of each user. See Layout of the Users tab on page 85
The Groups tab, for setting access grants to the groups. See Layout of the Groups tab
on page 87.
The Grants Overview tab, for viewing the grants available for the controller. See The
Grants Overview tab on page 88.
The tool has the following buttons, which are available without selecting a tab:
84
The Import button, lets you import user accounts and groups from a file. See
Administrating users on page 161 for instructions.
The Export button, lets you export the user account and groups with their settings to
a file. See Administrating users on page 161 for instructions.
en0400001104
Column
Description
User
Status
5. The Activated/Deactivated item box. Changes the status of the user account. See
Activate or deactivate a user on page 162 for instructions.
85
en0500001572
86
en0400001105
Parts
1. The Add button. Opens a dialog box for adding new groups. See Add a group on page 164
for detailed instructions.
2. The Rename button. Opens a dialog box for renaming groups. See Rename a group on
page 164 for detailed instructions.
3. The Delete button. Deletes the selected group from the controller. See Delete a group on
page 165 for detailed instructions.
4. The Groups on this controller list. Shows the groups defined on this controller.
5. The Controller grants/Application grants list.
The Controller grants list shows which of the available controller grants are given to the
group. For giving or removing a grant for the group, select or clear the checkbox in front
of the grant name. See Give grants to a group on page 165 for detailed instructions.
The Application grants list shows application grants that are given to the group, if any
exists. Application grants are defined by application developers and are used to regulate
running and modification of robot programs. See About user authorization on page 159
for more information.
Related information
Grants for RobotWare 5.06 on page 168
87
en0400001106
Parts
You can sort the information in all three columns by clicking the column heading.
1. The Grant column shows the name of the grant key. For description of the different
grants, see Grants for RobotWare 5.05 on page 167or Grants for RobotWare 5.06 on page
168
2. The Valid column shows from which RobotWare versions the grant is valid.
Systems with different RobotWare versions may use different grants. When you install a
system on a controller, the grants for that system are added to the controllers grant list.
Grants are never removed from the grant list but may be declared invalid if they are not
applicable for a system. All this is handled automatically during installation of systems.
See About user authorization on page 159 for more information.
3. The Groups owning this Grant column shows which groups on this controller that have
the grant.
88
4 Administrate systems
4.1. Administrate systems
4 Administrate systems
4.1. Administrate systems
Overview
This section describes how to create, modify and manage controller systems on your PC using
the System Builder.
You always work with systems stored on your PC, and then download them from the PC to
the controller.
What is a system?
A system consists of all software and data that is necessary to run a controller:
License Keys
Configuration data
Prerequisites
To work with systems, the following conditions must be met:
For creating or modifying systems, you must have the RobotWare media pool installed
on the PC or a connected network drive. See Installing RobotWare on page 34 for
more information.
For creating a system, you must have the RobotWare key for the system you want to
create.
Copy systems
Modify systems
89
4 Administrate systems
4.2. Selecting a system
90
4 Administrate systems
4.3. Viewing system properties
System name
91
4 Administrate systems
4.4. Working with comments
92
4 Administrate systems
4.5.1. Creating a new system
The RobotWare media pool must be installed on your PC. See Installing RobotWare
on page 34, if you do not have it installed already.
You must have a RobotWare key for the system, if creating a system to run on a real
controller. The RobotWare key is a license key that determines which robot models to
use and which RobotWare options to run on the controller. The license key is delivered
with the controller.
If you want to create a system for virtual use only, for example in Virtual IRC5, you
can use a virtual key instead. Virtual keys are generated by the wizard. When using
virtual keys, you select the robot models and options to use in the Modify Options
section of the wizard.
93
4 Administrate systems
4.5.1. Creating a new system
Continued
Workflow
The flow chart below shows the workflow in the New Controller System Wizard.
en0200000057
More information
The wizard and its sections is described in the following topics:
94
4 Administrate systems
4.5.2. Starting the New Controller System Wizard
95
4 Administrate systems
4.5.3. Entering name and location
96
4 Administrate systems
4.5.4. Entering the RobotWare keys
97
4 Administrate systems
4.5.4. Entering the RobotWare keys
Continued
4. Choose whether you want to create the system as it is now, or to continue with the wizard.
If you want to
then
click Finish
modify options, or add any of the following to click Next and proceed with the Add
the system:
Additional Options section.
additional options
parameter data
additional files to the controllers home
directory
98
4 Administrate systems
4.5.5. Adding additional options
If you want to
then
click Finish
99
4 Administrate systems
4.5.6. Modifying options
If you want to
then
click Finish
100
4 Administrate systems
4.5.7. Adding parameter data
If you want to
then
click Finish
add any additional files to the systems home click Next and proceed with the Add Files to
directory
Home Directory section.
101
4 Administrate systems
4.5.8. Adding files to the home directory
If you want to
then
click Finish
Remove files
To remove a file from the Added files list:
1. In the Added files list, select the file to remove.
2. Click Remove.
102
4 Administrate systems
4.5.9. Completing the New Controller System Wizard
then...
O.K.
click Finish.
not O.K.
103
4 Administrate systems
4.6.1. Starting the Create System from Backup Wizard
104
4 Administrate systems
4.7.1. Copying a system
105
4 Administrate systems
4.8.1. Modifying a system
en0200000391
106
4 Administrate systems
4.8.2. Starting the Modify Controller System Wizard
107
4 Administrate systems
4.8.3. Changing RobotWare version
108
4 Administrate systems
4.8.4. Changing the drive keys
If you want to
then
click Finish
modify options, or add any of the following to click Next and proceed with the Modify
the system:
Additional Options section.
additional options
parameter data
additional files to the controllers home
directory
109
4 Administrate systems
4.8.5. Changing additional options
If you want to
then
click Finish
110
4 Administrate systems
4.8.6. Modifying options
If you want to
then
click Finish
Result
Your changes will be applied to the system stored on the computer when the wizard is
completed.
If the system has been downloaded to a controller, it must be downloaded again and the
controller restarted before the modification will take place in the controller.
111
4 Administrate systems
4.8.7. Changing parameter data
If you want to
then
click Finish
add any additional files to the systems home click Next and proceed with the Add Files to
directory
Home Directory section.
112
4 Administrate systems
4.8.8. Changing files in the home directory
If you want to
then
click Finish
Remove files
To remove a file from the systems home directory (on the PC, not on the controller):
1. In the Added files list, select the file to remove.
2. Click Remove.
Result
The change will take place when the wizard is completed.
If the system has been downloaded to a controller, it must be downloaded again before the
modification will take place on the controller.
113
4 Administrate systems
4.8.9. Completing the Modify Controller System wizard
114
If the system is
then
O.K.
click Finish.
not O.K.
4 Administrate systems
4.9.1. Loading a system to a controller
if...
5. Optionally, click Test Connection to confirm that the connection between the computer
and the Controller is OK.
6. Click Load.
7. Answer Yes on the question Do you want to load the system.
Yes
No
There will be no restart. With the next restart the system will be downloaded
to controller.
Cancel
Related information
Network settings for connecting a PC to a controller on page 29
115
4 Administrate systems
4.10.1. About boot media
116
4 Administrate systems
4.10.2. Creating boot media
117
4 Administrate systems
4.11.1. About the media pool
118
4 Administrate systems
4.11.2. Modifying system options in a media pool
To select
the SHIFT key and select the first and the last
option.
5. Click OK.
Remove system options
To delete system options from a media pool:
1. On the Tools menu, click Import System Options .
2. In the Media pool destination list, enter the path to the media pool from which you want
to delete the options. You can also click the Browse button and browse to the media pool
folder.
3. Select the options to delete and click Remove.
To select several options at once, do one of the following:
To select
the SHIFT key and select the first and the last
option.
4. Click OK.
Alternative way to update the media pool
You can also use Windows Explorer to change the content of the media pool by adding or
removing files from the folder used as media pool.
119
4 Administrate systems
4.11.2. Modifying system options in a media pool
Continued
Related information
For more information about Media Pools, see About the media pool on page 118.
For more information about adding options to a system, see Creating a new system on page
93 or Modifying a system on page 106.
120
4 Administrate systems
4.12.1. Adding RobotWare option
121
4 Administrate systems
4.12.1. Adding RobotWare option
122
Create new Robot Views. See Creating a new Robot View on page 125 for more
information.
Open existing Robot Views. See Opening a Robot View on page 127 for more
information.
Add controllers to Robot Views. See Adding a controller to a Robot View on page 138
for more information.
Add document links to Robot Views. See Documents in robot views on page 130 for
more information.
Save Robot Views. SeeSaving a Robot View on page 128 for more information.
Close Robot Views. See Closing a Robot View on page 129 for more information.
Related information
About Robot Views on page 124
The Robot View Explorer on page 52
123
Connect to and work with controllers. See Handle controllers on page 137 for more
information.
Access the controllers configuration files. See Configure systems on page 203 for
more information.
Create and edit robot programs for the robot. See Program a robot on page 175 for
more information.
Access the controllers log files. See Handle event records on page 217 for more
information.
Create and manage links to external documents and files. See Documents in robot
views on page 130 for more information.
Organize the production with separate Robot Views for separate jobs.
Keep track of documents that are related to jobs by adding links to the corresponding
Robot Views.
Share data that is common for several controllers in one Robot View that contains all
the concerned controllers.
Related information
The Robot View Explorer on page 52.
124
125
en0400000675
Parts
1. The Robot View Name box
This is a box for typing in the name of the robot view you are creating.
2. The Location box
This box shows the location where the new robot view will be created. You can also type
in a new location in the box.
3. The Browse button
With this button you open a browse dialog box, where you can select a new location.
4. The OK button
This buttons creates a robot view, with the specified name at the specified location.
5. The Cancel button
This button closes the dialog box without creating any robot view.
126
127
128
129
130
Add folders
Move folders
Rename folders
Delete folders
Add a folder
To add a document folder to a Robot View:
On the Robot View menu, click Add Folder.
Move a folder
To move a document folder in a Robot View:
Drag the folder to the new location.
Rename a folder
To rename a document folder in a Robot View:
1. Select the folder to rename.
2. On the Robot View menu, click Rename.
Delete a folder
To delete a document folder from a Robot View:
Select the folder to delete and press the DELETE key.
131
132
133
134
135
If
Then
The link will be updated automatically and the file will open.
136
6 Handle controllers
6.1. Handle controller
6 Handle controllers
6.1. Handle controller
Overview
This section describes how you handle controllers in Robot Views. How to work with data in
a controller, like configurations or robot programs, is described in other sections.
How controllers are connected to Robot Views
A controller is always connected to the Robot View with a real time connection; no controller
content is cached. This means that the controllers in your Robot View are always up to date.
It also means that the controllers content will be unavailable if the connection is lost.
A controller can be connected to several robot Views, and a Robot View can have several
controllers. For safety reasons, a controller can only take instructions from one user at a time.
Therefore, Write access must be granted before any data can be changed on the controller. If
the controllers Write access is granted to another user, it is still available with read-only
rights. See About access rights on page 156 for detailed information.
What you can do with controllers
From a Robot View, you can handle controllers in the following ways:
Back up a controller.
137
6 Handle controllers
6.2.1. Adding a controller to a Robot View
If the controller is to be connected through an Ethernet network, it must have the PCI
Option installed.
138
6 Handle controllers
6.2.2. Layout of the add controller dialog box
en0200000275
Parts
1. The Available controller list
This is the list of the available controllers. Here you select the controller to add by
clicking its row in the list. You can sort the list by any of its columns clicking on the
column header you want to sort by.
2. The text box
In the text box you type the IP address of the remote controller that you want to get access
to.
3. The Refresh button
This button updates the Available controllers list with the controllers that are connected
to the same subnet as the PC, it also makes the added remote controllers visible in the list.
4. The Add button
After you have typed the IP address, this button makes the remote controller available.
5. The OK button
This button adds the selected controller to the Robot View.
6. The Cancel button
This button closes the dialog box without adding any controller to the robot View.
Related information
Adding a controller to a Robot View on page 138
About automatic detection of controllers on page 33
139
6 Handle controllers
6.2.3. Removing a Controller from a Robot View
140
6 Handle controllers
6.2.4. Logging on to a controller
141
6 Handle controllers
6.3.1. Viewing controller status
142
6 Handle controllers
6.3.2. Viewing controller and system properties
Boot application
The boot application is mainly used to start up the system when no RobotWare is installed.
The application may be used to:
install systems
143
6 Handle controllers
6.3.3. Setting the controllers date and time
Adjust the value with the arrows at the right side of the time box.
6 Handle controllers
6.3.3. Setting the controllers date and time
Continued
Related information
Layout of the set date and time dialog box on page 146
145
6 Handle controllers
6.3.4. Layout of the set date and time dialog box
en0300000437
Parts
1. The Active Controller box
This box shows which controllers date and time you are viewing.
2. The Date box
This box displays the date that is currently set on the controller. The arrow at the boxs
right side opens a calendar in which you can select a new date.
3. The Time box
This box displays the time that is currently set on the controller.
The arrows at the right side of the box changes the value for the selected time unit (the
hours, minutes or seconds).
4. The Get Local Computers Time button
This button synchronizes the controllers clock with this computers clock, so that the
controller gets the same date and time as the computer.
Related information
Setting the controllers date and time on page 144
146
6 Handle controllers
6.3.5. Renaming a controller
Click...
To...
Yes
No
Related information
Setting a controllers ID on page 148.
147
6 Handle controllers
6.3.6. Setting a controllers ID
148
6 Handle controllers
6.4.1. Backing up a system
Prerequisites
You must have Write access to the controller.
You must be logged on to the controller as user with the appropriate grants. See About user
authorization on page 159 for more information about grants in the User Authorization
System.
Back up a system
To back up a system,:
1. In the Robot View browser, select the controller which system you want to backup.
2. On the Controller menu, click Create Backup. The Create Backup dialog box is now
displayed.
3. Enter a new name and specify a location for the backup, or keep the default ones.
4. Click Back Up. You can view the progress of the back up in the Output Window.
Result
When the back up is complete you will have a folder with the name of the back up on the
specified location.
This folder contains a set of subfolders which all together comprises the backup:
The Folder...
Contains...
Backinfo
Home
Rapid
Syspar
CAUTION!
If the content of the Backup folder is changed it might not be possible to restore the backed
up system.
149
6 Handle controllers
6.4.2. Restoring a system using a backup
The systems home directory and all its content are copied from the backup to the current
system.
Prerequisites
You must have Write access to the controller.
You must be logged on to the controller as user with the appropriate grants. See About user
authorization on page 159for more information about grants in the User Authorization
System.
How to restore a system
To restore a system using a backup:
1. In the Robot View Explorer, select the controller which system you want to restore.
2. On the Controller menu, click Restore Backup. The Restore from Backup dialog box
is now displayed.
3. In the Restore from Backup dialog box, select which backup to use for restoring the
system.
4. Click Restore. You can view the progress of the Restore in the Output Window.
5. When the restore is complete, restart the controller to load the restored system. See
Restarting a controller on page 172 for more information.
6 Handle controllers
6.4.2. Restoring a system using a backup
Continued
NOTE!
Before proceeding, make sure that the system from the backup is compatible with the
controller you are restoring.
System ID and Template ID
If the system from the backup does not originate from the controller you are restoring, you
will get a message about the mismatch.
The following table describes the possible cases:
Case
Description
Mismatch in System ID
151
6 Handle controllers
6.5.1. Transferring data between the PC and a controller
The PC must be connected to the same network as the controller, or connected to the
controllers service port. See Accessing a controller from RobotStudioOnline on page
31 for information about connecting to the controller.
You must be logged on to the controller as a user with UAS grants that allows file
transferring. See About user authorization on page 159 for information about UAS
grants.
To select
then press
the SHIFT key and select the first and the last
item.
5. When the files and folder to transfer are selected, do one of the following:
To
then press
CTRL + X
CTRL + C
6. Place the insertion point in the Content list of the receiving location (either the PC or the
controller) and press CTRL + V.
6 Handle controllers
6.5.1. Transferring data between the PC and a controller
Continued
Related information
The file management window on page 63
Layout of the file management window on page 64
Organizing files on the controller on page 154
153
6 Handle controllers
6.5.2. Organizing files on the controller
Create folders
Prerequisites
The following prerequisites must be met:
The PC must be connected to the same network as the controller, or connected to the
controllers service port. See Accessing a controller from RobotStudioOnline on page
31 for information about connecting to the controller.
You must be logged on to the controller as a user with UAS grants that allows file
transferring. See About user authorization on page 159 for information about UAS
grants.
Create folders
To create folders on the controller:
1. On the Tools menu, click File Management Window.
This opens the file management window.
2. In the Controller content list of the file management window, browse to the location
where you want to create the folder.
3. Right-click the Controller content list and select New Folder from the context menu.
A folder named New folder is now created.
4. Optionally, rename the new folder by following the instructions below.
Rename files and folders
To rename files and folders:
1. On the Tools menu, click File Management Window.
This opens the file management window.
2. In the Controller content list of the file management window, browse to the item you
want to rename.
3. Right-click the item and select Rename from the context menu.
The items name is now editable.
4. Type the new name and press Enter.
6 Handle controllers
6.5.2. Organizing files on the controller
Continued
155
6 Handle controllers
6.6.1. About access rights
156
6 Handle controllers
6.6.2. Requesting Write access
When the
Controller is in
Mode:
Auto
Manual
If the prerequisites are not fulfilled you will be denied, or lose, the Write access. This means
that if you have Write access in auto mode and the controller is switched over to manual mode
you will lose the Write access without any warning. This is because the FlexPendant unit by
default has the Write access in manual mode, for safety reasons. The same will happen if the
remote Write access in manual mode is recalled from the FlexPendant unit.
Request Write access
To request Write access to a controller:
1. In the Robot View Explorer , select the controller.
2. On the Controller menu, click Request Write access.
Result
The Controller Status window will be updated when the request for Write access is granted.
If the Write access is denied, a message is displayed.
Related information
About access rights on page 156
157
6 Handle controllers
6.6.3. Releasing Write access
158
6 Handle controllers
6.7.1. About user authorization
159
6 Handle controllers
6.7.1. About user authorization
Continued
NOTE!
There is a risk changing the group membership of the default user. If you by mistake clear the
Default User check box or any Default Group grant, you will get a warning. Make sure that
there is at least one user defined that has the grant Manage UAS settings. If the Default group
and no other group have the grant Manage UAS settings, you may loose your ability to
manage users and groups.
Grants
Grants are permissions to perform actions or access data on the controller. You use the grants
by giving them to groups, to which you then add the users who shall have the grants.
Grants validity
Systems with different RobotWare versions may use different grants. When you install a
system on a controller the grants for that system are added to the controllers grant list. Grants
are never removed from the grant list but may be declared invalid if they are not applicable
for a system. All this is handled automatically during installation of systems.
Application grants
Application grants are used by a specific application, for example the FlexPendant, and will
only be valid using that application. Application grants can be added by additional options
and used in customer applications. If you use application grant, see your plant or system
documentation for information about these.
Related information
Grants for RobotWare 5.05 on page 167
Grants for RobotWare 5.06 on page 168
Administrating users on page 161
Administrating groups and grants on page 164
160
6 Handle controllers
6.7.2. Administrating users
Set up users group membership (controls what actions the user are allowed to
perform)
Add a user
To add a user:
1. In the Robot View Explorer, select the controller to which you want to add a user.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, click Add.
This opens the Add new user dialog box.
5. In the User Name box, enter the user name. Use only characters from the ISO Latin -1
character set and no more than 16 characters.
6. In the Password box, enter the users password. The password you type in will not be
visible. Use only characters from the ISO Latin -1 character set and no more than 16
characters.
7. In the Retype Password box, enter the users password again.
8. Click OK to add the new user and close the dialog box.
9. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Delete a user
To remove a user:
1. In the Robot View Explorer, select the controller from which you want to remove the
user.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user to delete from the Users on this controller list and click
Delete.
5. On the question Are you sure you want to remove this user?, answer Yes.
161
6 Handle controllers
6.7.2. Administrating users
Continued
6. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Set up group membership
To set up a users group membership:
1. In the Robot View Explorer, select the controller which user you want to manage.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user from the Users on this controller list.
5. In the Users groups list, select the groups the user shall be a member of.
6. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Change a users name or password
To change a users name or password:
1. In the Robot View Explorer, select the controller which user you want to edit.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user to edit from the Users on this controller list and click
Edit user.
This opens the Edit dialog box.
5. To change the user name, enter the new name in the User Name box. Use only characters
from the ISO Latin -1 character set and no more then 16 characters.
6. To change the password, enter the new password in the Password box, then retype the
password in the Retype Password box. Use only characters from the ISO Latin -1
character set and no more then 16 characters.
7. Click OK to save the changes to the user and close the dialog box.
8. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Activate or deactivate a user
To change a users state from activated to deactivated, or from deactivated to activated:
1. In the Robot View Explorer, select the controller for which you want to activate or
deactivate the user.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user from the Users on this controller list and click the status
text (Activated or Deactivated). An item box appears and you can change the status.
The users new state is now displayed in the status column of the Users on this controller
list.
Continues on next page
162
6 Handle controllers
6.7.2. Administrating users
Continued
5. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Export user list
To export the list of users to a file that later can be imported to a controller:
1. In the Robot View Explorer, select the controller which user list you want to export.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user from the Users for this Controller list and click Export.
This opens a Save as dialog box, in which you specify the name and location for the file
with the user list.
Import user list
To import a list of users to the controller:
1. In the Robot View Explorer, select the controller to which you want to import the users.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Users tab, select the user from the Users for this Controller list and click Import.
This opens an Open file dialog box, in which you browse to the file with the list to import.
When you have selected the file, the ImportOptionsForm dialog appears.
Select ...
Description
Advanced options
Related information
About user authorization on page 159
Administrating groups and grants on page 164
163
6 Handle controllers
6.7.3. Administrating groups and grants
Rename groups
Delete groups
Add a group
To add a group:
1. In the Robot View Explorer, select the controller to which you want to add a group.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Groups tab, click Add.
This opens the Add new group dialog box.
5. In the Group Name box, enter the name of the group. Use only characters from the ISO
Latin -1 character set and no more than 16 characters.
6. Click OK to add the new group and close the dialog box.
7. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Rename a group
To Rename a group:
1. In the Robot View Explorer, select the controller which has the group you want to
rename.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Groups tab, select the group to rename from the Groups on this controller list
and click Rename.
This opens the Rename Group dialog box.
5. In the Group Name box, enter the name of the group. Use only characters from the ISO
Latin -1 character set and no more than 16 characters.
6. Click OK to rename the group and close the dialog box.
6 Handle controllers
6.7.3. Administrating groups and grants
Continued
7. You will now be asked if you want the users who belong to this group to continue
belonging to a group with the old name as well as the new one.
Click
To
Yes
Let the users of the group be members to groups with both the old and
the new name. However, the old group will no longer be defined in the
controllers UAS since it is replaced by the new group.
This option might be useful if you plan to recreate the old group, or copy
the users settings to another controller who has the old group defined.
No
Delete the users memberships to the old group. This is to just replace
the old group name with the new one.
Cancel
To cancel the change and keep the old group name, with its users
memberships.
8. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Delete a group
To delete a group:
1. In the Robot View Explorer, select the controller which have the group you want to
remove.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Groups tab, select the group to delete from the Groups on this controller list and
click Delete.
5. You will now be asked if you want the users who belong to this group to continue
belonging to it though it is not valid.
Click
To
Yes
No
Cancel
Cancel the change and keep the group, with its users memberships.
6. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Give grants to a group
To give grants to a group:
1. In the Robot View Explorer, select the controller which group you want to administrate.
2. Request Write access to the controller. See Requesting Write access on page 157 for
detailed information.
Continues on next page
3HAC 18236-1 Revision: D
165
6 Handle controllers
6.7.3. Administrating groups and grants
Continued
3. On the Controller menu, point to Advanced and click UAS Administration Tool.
4. On the Groups tab, select the group from the Groups on this controller list.
5. In the Controller grants/Application grants list, select the grants to give to the group.
For information about available grants, see Grants for RobotWare 5.05 on page 167 or
Grants for RobotWare 5.06 on page 168.
6. When you have finished administrating the UAS, click OK in the UAS Administration
Tool.
Related information
About user authorization on page 159
Administrating users on page 161
166
6 Handle controllers
6.7.4. Grants for RobotWare 5.05
Description
UAS_FULL_ACCESS
UAS_FTP_READ
UAS_FTP_WRITE
UAS_UAS_ADMINISTRATION
UAS_CONTROLLER_PROPERTIES_WRITE
UAS_REMOTE_WARMSTART
UAS_SYSTEM_ADMINISTRATION
UAS_BACKUP
UAS_RESTORE
UAS_CFG_WRITE
UAS_RAPID_EDIT
UAS_RAPID_MODIFYPROGRAM
167
6 Handle controllers
6.7.5. Grants for RobotWare 5.06
6 Handle controllers
6.7.5. Grants for RobotWare 5.06
Continued
Description
Full access
Execute program
Restore a backup
Modify configuration
Load program
Program debug
169
6 Handle controllers
6.7.5. Grants for RobotWare 5.06
Continued
Grant
Description
Calibration
Administration of installed
systems
Delete log
6 Handle controllers
6.7.5. Grants for RobotWare 5.06
Continued
Description
Log off FlexPendant user when A user having this grant is automatically logged off from the
switching to Auto mode
FlexPendant when switching from Manual mode to Auto
mode.
171
6 Handle controllers
6.8. Restarting a controller
you have changed the robots configuration, either with the Configuration Editor or by
loading new configuration files.
Prerequisites
For restarting a controller, the following prerequisites must be met:
You must have Write access to the controller you are restarting.
For the advanced restart methods X-start and C-start, you must have access to the
controllers FlexPendant.
6 Handle controllers
6.8. Restarting a controller
Continued
6. For X-start or C-start continue with choosing which system to start using the boot
application on the Flexpendant. See Operating manual - IRC5 with FlexPendant for more
information about starting a system using the FlexPendant.
Advanced restart options
The controller can also be restarted with advanced options, with different possibilities to save
and load data.
To...
C-start
B-start
173
6 Handle controllers
6.8. Restarting a controller
174
7 Program a robot
7.1. Program a robot
7 Program a robot
7.1. Program a robot
Overview
This section describes how to program a robot with RobotStudioOnline.
You use the Robot View Explorer for viewing and accessing the program and the program
editor for viewing and editing the RAPID code of the program.
The Robot View explorer
Each controller in the Robot View Explorer contains a node called RAPID Tasks. This node
is used for exploring the controllers program and for working with the program structure
down to the routine level. It is also from here you open modules and routines for editing in
the program editor.
From the Robot view Explorer you can do the following:
Explore programs.
Delete Modules.
An off-line editor. See About loading programs and modules on page 191 for
instructions on how to load the program into the controllers program memory.
Related information
The Program Editor on page 72
Layout of the Program Editor window on page 74
The Program Editor on page 72
Creating a program on page 179
About editing programs on page 180
Using the Program Editors RAPID functionality on page 181
175
7 Program a robot
7.2. The structure of a RAPID application
en0300000576
7 Program a robot
7.2. The structure of a RAPID application
Continued
Parts
Part
Function
Task
Each task usually contains a RAPID program and system modules aimed
at performing a certain function, e.g. spot welding or manipulator
movements.
A RAPID application may contain one task. If you have the Multitasking
option installed, then there can be more than one task.
Read more about Multitasking in Application manual - Engineering tools.
Task property
parameter
The task property parameters set certain properties for all task contents.
Any program stored in a certain task, assumes the properties set for that
task.
The task property parameters are specified in RAPID reference manual.
Program
Each program usually contains program modules with RAPID code for
different purposes.
Any program must have an entry routine defined to be executable.
Program
module
Each program module contains data and routines for a certain purpose.
The program is divided into modules mainly to enhance overview and
facilitate handling the program. Each module typically represents one
particular robot action or similar.
All program modules will be removed when deleting a program from the
controller program memory.
Program modules are usually written by the user.
Data
Data are values and definitions set in program or system modules. The
data are referenced by the instructions in the same module or in a number
of modules (availability depending on data type).
Data type definitions are specified in the RAPID reference manual,
Functions and data types.
Routine
A routine contains sets of instructions, i.e. defines what the robot system
actually does.
A routine may also contain data required for the instructions.
Entry routine
Note
Each program must have an entry routine called "main", or it will not be
executable. How to appoint a routine as entry routine is specified in RAPID
reference manual. The default name for main can be changed by the
system parameter configurations, type Task. See Technical reference
manual - System parameters.
177
7 Program a robot
7.2. The structure of a RAPID application
Continued
Part
Function
Instruction
Each instruction is a request for a certain event to take place, e.g. "Run the
manipulator TCP to a certain position" or "Set a specific digital output".
The instructions, their syntax and function is thoroughly described in the
RAPID reference manual, Instructions.
System module Each system module contains data and routines to perform a certain
function.
The program is divided into modules mainly to enhance overview and
facilitate handling the program. Each module typically represents one
particular robot action or similar.
All system modules will be retained when "Delete program" is ordered.
System modules are usually written by the robot manufacturer or line
builder.
178
7 Program a robot
7.3. Creating a program
179
7 Program a robot
7.4.1. About editing programs
You can...
delete modules.
Each module you edit is opened in a program editor window of its own. If you open several
modules at one time, they are displayed in separate windows.
Related information
Program a robot on page 175
The structure of a RAPID application on page 176
The Rapid Reference Manual
Using the Program Editors RAPID functionality on page 181
180
7 Program a robot
7.4.2. Using the Program Editors RAPID functionality
Pick lists for quick selection and insertion of RAPID code. See Pick lists on page 181.
Syntax coloring for quick identification of RAPID code. See Syntax coloring on page
181.
Parameter info for RAPID commands. See Parameter info on page 182.
Autotext that suggests RAPID code as you type. See AutoText on page 182.
Row and Column information. See Row and column information on page 182.
Pick lists
The Program Editor has pick lists from which you select and insert RAPID code, such as
instructions and program flow clauses.
The pick lists categorize the commands by their use: for example motion and I/O-related
commands have lists of their own. In addition to the category lists, there is one list named
Common. This list gathers commonly used commands from all lists.
To use the pick lists:
1. When editing the module, set the insertion point where you want to insert the command
and then right-click in the program editor window.
This opens the last used pick list.
2. Either select a command from the pick list or point to Choose pick list and first select
another pick list.
Syntax coloring
The text in the Program Editor window is automatically colored based on the RAPID
languages syntax.
The table below shows which colors are used for which syntactic elements:
The color...
is used for...
Blue
Keywords that are reserved for RAPID, like MODULE, VAR, IF and ELSE.
Brown
Green
Strings, which is text inside quotation marks, like "Insert a new work
piece". Strings are often used for messages from the program to the
operator.
Black
text that is not recognized as any of the above. For example, variable
definitions and instructions like CounterName and MoveJ are colored
black.
181
7 Program a robot
7.4.2. Using the Program Editors RAPID functionality
Continued
Parameter info
Parameter Info shows available parameters in a tool tip for RAPID commands you type. In
the parameters list the parameters are separated by commas (,) and optional parameters are
proceeded with backslash (\), just as they are typed in the RAPID code.
To use the parameter info:
1. Type in the instruction followed by a blank space.
The parameter info is now displayed in a tooltip, if any exists for the instruction.
2. Type in the parameters you want to use for the instruction.
In the tooltip, the current parameter to enter is highlighted. If both a mandatory and an
optional parameter is possible to enter, no parameter is highlighted before you type either
a comma or a backslash.
AutoText
AutoText suggests a defined RAPID word based on the characters you have started to type.
1. Type in the RAPID Code.
If the text you are typing is recognized as a RAPID word, a tooltip displays the word.
Since AutoText is case sensitive, you must follow the conventions for capitalizing the
RAPID Code.
2. To use the suggested word, press the ENTER key on the keyboard.
Row and column information
The Status bar in RobotStudioOnline displays the position of the insertion point when you are
editing a module in the program editor.
Error Checking
The module is automatically checked for errors when you apply the changes. See Locating
program errors on page 186 for more information.
Related information
For more extensive information about RAPID code than the Parameter Info and the AutoText
provide, see The RAPID Reference Manual.
About editing programs on page 180
The Program Editor on page 72
182
7 Program a robot
7.4.3. Adding a module
Select...
is a program module
is a system module
NOSTEPIN
4. Click OK. The new module will appear in the Robot View Explorer as soon as the
window is refreshed, which is done automatically within a few seconds.
Related information
Program a robot on page 175
The structure of a RAPID application on page 176
Editing a module on page 184
Deleting a module on page 187
The Rapid Reference Manual
183
7 Program a robot
7.4.4. Editing a module
To:
Do this:
Insert a procedure
routine,
Type the following lines in the module (Between the MODULE and
the ENDMODULE lines):
PROC routinename ()
ENDPROC
Insert a function routine, Type the following lines in the module (Between the MODULE and
the ENDMODULE lines):
FUNC datatype routinename ()
ENDFUNC
Insert a trap routine,
Type the following lines in the module (Between the MODULE and
the ENDMODULE lines):
TRAP routinename ()
ENDTRAP
Insert program code, like To place the insertion point at a specific routine, double click the
instructions or program routine in the Robot View Explorer.
data,
Position the pointer at the insertion point and start typing in the
code, or paste it from the clipboard.
Delete a routine,
7 Program a robot
7.4.4. Editing a module
Continued
For information about RAPID syntax and available instructions, see the RAPID Reference
Manual.
4. Click Apply Changes when you want to save your changes to the module in the
controllers program memory. The module is then automatically checked for semantic and
syntactic errors. If any errors are found, they are displayed in the RAPID tab of the Output
window.
TIP!
If you are programming a robot others are likely to use, apply your changes often. If the
controller would be changed from automatic to manual mode you will loose unapplied
changes.
Related information
Using the Program Editors RAPID functionality on page 181
Program a robot on page 175
The structure of a RAPID application on page 176
Adding a module on page 183
Deleting a module on page 187
The Rapid Reference Manual
185
7 Program a robot
7.4.5. Locating program errors
Syntactic errors means incorrect RAPID code. For instance, a missing argument that
is mandatory for an instruction is a syntactic error.
Semantic errors are incorrect links in the program. For instance, a procedure call to a
non-existing procedure is a semantic error.
Part of Line
Description
MyController/
MAIN/
MyMod
(13)
Error168
Reference error
186
7 Program a robot
7.4.6. Deleting a module
187
7 Program a robot
7.5.1. About Saving Robot Programs
188
7 Program a robot
7.5.2. Saving a program
189
7 Program a robot
7.5.3. Saving a module
190
7 Program a robot
7.6.1. About loading programs and modules
191
7 Program a robot
7.6.2. Loading a program
If you click...
the...
Yes
No
Related information
Loading a module on page 193
192
7 Program a robot
7.6.3. Loading a module
If you click...
the...
Yes
No
Related information
Adding a module on page 183
Loading a program on page 192
193
7 Program a robot
7.7.1. Deleting a Robot Program
194
8 Handle I/O
8.1. Handle Input and Output signals
8 Handle I/O
8.1. Handle Input and Output signals
Overview
This chapter describes how to handle existing input and output signals. This includes to read
and set signals and to activate and deactivate I/O units.
Limitation
This chapter only describes how to work with existing, configured signals. For information
on how to add or remove signals, units and buses, or change the configurations in other ways,
see Configure systems on page 203 and Technical reference manual - System parameters.
Related information
For information about the parts of the I/O system window, from which you do most of the
procedures described in this chapter, see Layout of the I/O system window on page 77.
195
8 Handle I/O
8.2. About the I/O system
196
8 Handle I/O
8.3. Viewing I/O signals
To view
All Signals
xx0300000434
xx0300000433
xx0300000432
2. On the Controller menu, point to I/O System and select Inputs and Outputs. You can
also double-click the node to open it in the I/O window.
Select which signals to view
To select whether to view all signals for the opened node or just signals of a specific type:
1. Open the I/O window.
2. On the Controller menu, point to I/O System and View. Then select which signals to
view, based on signal type or category.
The available types are:
Abbreviation
Description
DI
DO
AI
AO
GI
GO
197
8 Handle I/O
8.3. Viewing I/O signals
Continued
I/O categories are not defined by default, but may be configured through the system
parameters.
198
8 Handle I/O
8.4. Setting I/O Signals
To view
All Signals
xx0300000434
xx0300000433
xx0300000432
2. On the Controller menu, point to I/O System and select Inputs and Outputs. You can
also double-click the node to open it in the I/O window.
Set Digital signals
Digital signals can either have the value 1 or 0. To change between these two values:
In the I/O system window, double-click the signal to change the value.
Set Analog signals
Analog signals can have any value within its specified limits. To set the value of an analog
signal:
1. In the I/O system window, double-click the signal to change the value.
This opens the Edit Value dialog box.
2. In the Edit Value dialog box, set the value of the signal and click OK.
199
8 Handle I/O
8.4. Setting I/O Signals
Continued
200
8 Handle I/O
8.5. Deactivating and activating I/O units
201
8 Handle I/O
8.5. Deactivating and activating I/O units
202
9 Configure systems
9.1. Configure systems
9 Configure systems
9.1. Configure systems
Overview
This chapter describes how to work with the tools for setting system parameters.
For information about what to set the parameters to for achieving certain results, see the
Technical reference manual - System parameters for the RobotWare version of your system.
Ways to configure the system
In RobotStudioOnline you have tools for working with system parameters in the following
ways:
Tool
Use
With the Robot View Explorer you work with topics, and complete
configuration files.
The Configuration
Editor
With the Configuration Editor you work with the types and instances of
a specific topic.
With the Instance Editor, you specify the values of the parameters in
the instances of system parameter types.
Related information
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
203
9 Configure systems
9.2. About configurations
204
9 Configure systems
9.3. Viewing configurations
Each step in the instruction below will take you to a more detailed view of the configuration.
View configurations
To view a controllers configuration:
1. To view the topics of a controller, go to the Robot View Explorer and expand the
Configuration node for the controller.
All topics in are now displayed as child nodes to the Configuration node.
2. To view the types and instances of a topic, double-click the topic node for the topic to
view.
The Configuration Editor is now opened, listing all types of the topic in the Type name
list. In the Instance list, each instance of the type selected in the Type name list is
displayed as row. The parameter values of the instances are displayed in the columns of
the instance list.
3. To view detailed parameter information for an instance, double-click the instance.
The instance editor now displays the current value, restrictions and limits of each
parameter in the instance.
Related information
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
205
9 Configure systems
9.4. Editing parameters
9 Configure systems
9.4. Editing parameters
Continued
Related information
A complete description of how to work with parameters, configuration files, etc is found in
Operators Manual - RobotStudioOnline
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
Restarting a controller on page 172
207
9 Configure systems
9.5. Adding instances
9 Configure systems
9.5. Adding instances
Continued
Related information
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
209
9 Configure systems
9.6. Copying instances
9 Configure systems
9.6. Copying instances
Continued
Related information
Configure systems on page 203
About configurations on page 204
The Configuration Editor on page 66
Layout of the Configuration Editor on page 68
Layout of the Instance Editor on page 70
211
9 Configure systems
9.7. Deleting instances
212
9 Configure systems
9.8. Saving system parameters to configuration files
213
9 Configure systems
9.9. Loading system parameters from configuration files
If you want to
then
add new parameters from the configuration click Load parameters if no duplicates
file to the topic, without modifying the existing
ones.
add new parameters from the configuration click Load parameters and replace
file to the topic and update the existing ones duplicates
with values from the configuration file.
Parameters that only exist in the controller
and not in the configuration file will not be
changed at all.
4. Click Open and browse to the configuration file to load. Then click Open again.
5. In the information box, click OK to confirm that you want to load the parameters from
the configuration file.
6. When the loading of the configuration file is finished, close the Select mode dialog box.
If a restart of the controller is necessary for the new parameters to take affect, you will be
notified of this.
9 Configure systems
9.9. Loading system parameters from configuration files
Continued
Related information
Saving system parameters to configuration files on page 213
Configure systems on page 203
About configurations on page 204
215
9 Configure systems
9.9. Loading system parameters from configuration files
216
Type
Code
Title
Category
Date
Time
For detailed descriptions of the event information, see What is an event? on page 218.
What you can do with event recorder
With the event recorder you can do the following:
Related information
Layout of the Event Recorder window on page 80
217
Event type
Description
Information
Warning
Error
Event code
The event code is a number that identifies the event messages. Each event message has a a
unique code. Together with date and time the event code can identify each specific occurrence
of an event.
Event title
The event title is a short description of the event.
Category
The event category is an indication of the events source.
The Category...
Contains...
Common
Operational
System
Hardware
Program
Motion
Operator
I/O &
Communication
User
Internal
Process
Cfg
219
To ...
...then...
select the With history check box. This will make the
Selected Category box, where you select which
category of previous events to include, available.
4. If you have selected the With History check box, select which category of previous
events to include. See What is an event? on page 218 for information about the categories.
5. Click Start.
Sort an record of events
To sort a record:
Click on the header for the column you want to sort by. To switch between ascending and
descending sorting, click the header once again.
Filter a record of events
To filter a record:
In the View Category box, select which events you want to display in the record. See
What is an event? on page 218 for information about the categories.
221
Index
A
Access Rights, About 156
Access Rights, Release Write access 158
Access, Request for Write 157
Add controller dialog box, parts 139
Add, Document Link 132
Advanced menu 47
Autotext 182
B
Backup, Create 149
Backup, Restore 150
Boot Media 116
C
Close, Robot View 129
Code, AutoText 182
Code, Edit Rapid Module 184
Code, Parameter info 182
Code, Syntax Color 181
Colors, Syntax Coloring 181
Comments, on system 92
Configuration Editor, Overview 66
Configuration Editor, Parts 68
Configuration Files, About 204
Configuration files, load 214
Configuration Files, Save 213
Configuration menu 46
Configuration, Add Instance 208
Configuration, Delete Instance 212
Configuration, Edit Parameter 206
Configurations, About 204
Configurations, Copy Instance 210
Configurations, load from files 214
Configurations, View 205
connection, computer and controller 29
control tools, overview 14
Controller menu 45
Controller Status Window, Layout 58
Controller Status Window, Overview 57
Controller Status, View 142
controller system, create 93
Controller, Add to Robot View 138
Controller, Back Up 149
Controller, connect to RobotStudioOnline 31
Controller, Overview 137
Controller, remove from robot view 140
Controller, Restart 172
Controller, Restore System 150
Controller, Set Date and Time 144
Controller, View Properties 143
Controllers, about detection 33
Create, New Robot View 125
C-start, Restart Controller 172
D
Date, Set on Controller 144
Delete, Document Link 134
Detection, of controllers 33
Dockable windows, customzie 38
E
Edit menu 42
Entry routine 177
Error, Locate Program Error 186
Ethernet 28
Event Record
save 221
Event record, clear 221
Event record, filter 220
Event record, sort 220
Event Recorder, overview 79
Event Recorder, parts 80
Event records, about 217
Event, overview 218
Events menu 46
Events, record 220
F
File menu 41
Folders, Organize 131
Function, Add 184
Function, Delete 184
Function,Edit 184
G
Grants, about 160
Grants, give to groups 165
Group, about 159
group, add 164
group, add user 162
group, remove 165
group, rename 164
Groups, administrate 164
Groups, give grants 165
H
Help menu 51
Help, Print 22
I
I/O signals, set 199
I/O signals, view 197
I/O System menu 46
I/O units, activate and deactivate 201
Icons, in Robot View Explorer 53
Instance Editor, Overview 66
Instance Editor, Parts 70
Instance, About 204
Instance, Add 208
Instance, Copy 210
Instance, delete 212
Instance, Edit 206
I-start, Restart Controller 172
223
Index
L
Layout, Robot View Explorer 53
License Key, Request 26
Licnese Key, Install 26
Link, to Document 132
Linked Files, Locate 136
Locate, Linked Files 136
M
main module 177
Main routine 177
Manage, Robot Views 123
Media Pool, about 118
Media Pool, Install 34
Media pool, modify system options 119
Module, Add 183
Module, Delete 187
Module, Edit 184
Module, Load from file 193
Module, Save to File 190
N
Network settings for controller connection 29
New Project Dialog Box 126
O
Open, Robot View 127
Organize, folders and document links 131
Output Window, Overview 82
Output window, parts 83
P
Parameter Info, in robot programming 182
Parameter, About 204
Parameter, Edit 206
Parameters, Copy Instance 210
Parameters, Delete Instance 212
Parameters, load from files 214
Parameters, Save as Configuration Files 213
Parameters, View 205
Password, change for user 162
PC, connecting 27
Procedure, Add 184
Procedure, Delete 184
Procedure, Edit 184
Progam, Add module 183
Program Editor, AutoText 182
Program Editor, Overview 72
Program Editor, Parameter Info 182
Program Editor, parts 74
Program Editor, Syntax Coloring 181
Program menu 48
Program module 177
Program, Create 179
Program, Delete Module 187
Program, Edit 180
Program, Load from file 192
Program, Load Module from File 193
Program, Locate Error 186
Program, Save Module to File 190
Program, Save to File 189
224
R
RAPID application 176
Rapid Code, Autotext 182
Rapid Code, Parameter Info 182
Rapid Code, Syntax Coloring 181
RAPID programming,about 175
Rapid, Add Module 183
Rapid, Delete Module 187
Rapid, Edit Module 184
Rapid, Edit Program 180
Rapid, Load Module from File 193
Rapid, Load program from file 192
RAPID, Locate Program Error 186
Rapid, Save Module To File 190
Rapid, Save Program to File 189
RAPID, structure 176
remote subnet 30
Remove, Document Link 134
Rename, Document Link 135
Restore, Broken Document Links 136
Rights, Request Write Access 157
Robot programming, about 175
Robot View Explorer, About 52
Robot View Explorer, Layout 53
Robot View, Add Controller 138
Robot View, Close 129
Robot View, Create new 125
Robot View, Open 127
robot view, remove controller 140
Robot View, Save 128
Robot Views, About 124
Robot Views, Manage 123
Robot, connect to RobotStudioOnline 31
RobotStudioOnline, connect to controller 31
RobotWare, about the media pool 118
RobotWare, Install Media Pool 34
Routine 177
Routine, Add 184
Routine, Delete 184
Routine, Edit 184
S
Save, Robot View 128
service port 27
Set date and Time Dialog box, parts 146
Settings for connecting computer to controller 29
Settings, Date and Time on Controller 144
signals, set I/O 199
Signals, view I/O 197
System Builder, overview 60
System Builder, parts 61
System configurations, about 203
System ID 151
System module 178
System options, modify media pool 119
System package 116
System Parameters, About 204
System Parameters, Add Instance 208
Index
T
tasks 177
Template ID 151
Time, Set on Controller 144
tool, overview control tools 14
Tools menu 49
Topic, About 204
Topic, Save as Configuration Files 213
Trap, Add 184
Trap, Delete 184
Trap, Edit 184
Type, About 204
Type, Delete Instance 212
U
UAS, about 159
UAS, administrate users 161
User, about 159
User, add 161
User, add to group 162
User, change password 162
User, change user name 162
User, enable and disable 162
User, remove 161
Users, administrate 161
V
View Menu 43
W
Warm start, Restart Controller 172
Window, layout 36
Windows menu 50
Windows, customize 38
Write Access, About 156
Write access, release 158
Write access, request 157
X
X-start, Restart Controller 172
225