S4 Online Eng

Download as pdf or txt
Download as pdf or txt
You are on page 1of 128

S4Online

Installation and Users Guide


Version 2.0.0

ABB Automation Technologies AB


©2005 ABB Automation Technologies AB
All rights reserved.
Users Guide S4Online

ABB reserves the right to change this document, measurements, and technical
data without prior notice. ABB takes on no responsibility for possible errors in
this document. Under no circumstances can ABB be held liable for incidental or
consequential damages arising from the application of this document or the hard-
ware and software described therein.

We point out that any kind of reproduction is prohibited, also for internal pur-
poses. The contents may not be imparted to a third party nor be used for any un-
authorized purpose. Any violation will be prosecuted.

©Copyright 2005 ABB All Rights reserved.


ABB Automation Technologies AB
Robotics
SE-72168 Västerås
Schweden

ii
Users Guide S4Online

TABLE OF CONTENTS
TABLE OF FIGURES ..........................................................................................................................V

CHAPTER 1 INTRODUCTION....................................................................................................... 1-1


GENERAL DESCRIPTION ......................................................................................................................... 1-1
ABBREVIATIONS AND DEFINITIONS ....................................................................................................... 1-1
REFERENCE LITERATURE:...................................................................................................................... 1-1
CHAPTER 2 REQUIREMENTS ...................................................................................................... 2-1
INSTALLATION REQUIREMENTS .............................................................................................................. 2-1
PC REQUIREMENTS................................................................................................................................ 2-1
RAPID PROGRAM REQUIREMENTS........................................................................................................ 2-2
PROGRAM-REQUIREMENTS .................................................................................................................... 2-2
COMPATIBILITY WITH OTHER ABB PRODUCTS ...................................................................................... 2-3
CHAPTER 3 INSTALLATION ........................................................................................................ 3-1
INSTALLATION OF THE S4ONLINE PROGRAM PC ................................................................................... 3-1
INSTALLATION OF THE INTERLINK-PACKAGE ON THE PC .................................................................... 3-15
General Informations...................................................................................................................... 3-15
Description of the installation ........................................................................................................ 3-16
Registering Interlink ....................................................................................................................... 3-25
SETTING UP THE INTERLINK MODULE................................................................................................... 3-27
Create an Alias for a S4 Controller................................................................................................ 3-29
Create an Alias for an IRC5 Controller ......................................................................................... 3-37
Check the connection state of defined aliases................................................................................. 3-45
NETWORK CONFIGURATION ON THE ROBOT ........................................................................................ 3-47
Create the connection Parameter for an IRC5 Controller ............................................................. 3-47
Create connection parameter for a S4Cplus controller: ................................................................ 3-49
Create connection parameter for a S4C controller:....................................................................... 3-50
CHAPTER 4 ROBOT LICENSING ................................................................................................. 4-1

CHAPTER 5 PROGRAM SETTINGS............................................................................................. 5-1

CHAPTER 6 STARTING THE PROGRAM .................................................................................. 6-1

CHAPTER 7 PROGRAM DESCRIPTION ..................................................................................... 7-1


GENERAL PROGRAM STRUCTURE........................................................................................................... 7-1
FUNCTION SELECTION PANEL ................................................................................................................. 7-7
The Section Settings.......................................................................................................................... 7-7
The Section Functions....................................................................................................................... 7-8
The Section Tools.............................................................................................................................. 7-8
THE ROBOT SELECTION WINDOW.......................................................................................................... 7-9

iii
Users Guide S4Online

THE SETTINGS WINDOW ...................................................................................................................... 7-13


THE FILE MANAGER PROGRAM ........................................................................................................... 7-19
THE MODULE WINDOW ....................................................................................................................... 7-23
THE VARIABLE WINDOW ..................................................................................................................... 7-27
THE BACKUP WINDOW ........................................................................................................................ 7-31
THE PARAMETER WINDOW.................................................................................................................. 7-43
THE LOG WINDOW .............................................................................................................................. 7-50
THE TOOLS WINDOW........................................................................................................................... 7-54

iv
Users Guide S4Online

TABLE OF FIGURES
Fig. 2-1: Interlink version-window....................................................................................................... 2-3
Fig. 3-1: Language selection for installation ........................................................................................ 3-1
Fig. 3-2: S4Online Welcome window of installation ........................................................................... 3-2
Fig. 3-3: S4Online licence agreement dialog........................................................................................ 3-3
Fig. 3-4: Search previous installation of S4Online............................................................................... 3-4
Fig. 3-5: Search previous installations of S4Online ............................................................................. 3-4
Fig. 3-6: Previous installation found window....................................................................................... 3-5
Fig. 3-7: S4Online Readme file ............................................................................................................ 3-6
Fig. 3-8: Select installation directory dialog......................................................................................... 3-7
Fig. 3-9: Select program group dialog .................................................................................................. 3-8
Fig. 3-10: Create desktop icon dialog................................................................................................... 3-9
Fig. 3-11: Select I nterlink installation dialog .................................................................................... 3-10
Fig. 3-12: Installation settings and start installation dialog ................................................................ 3-11
Fig. 3-13: Indication of installation progress window........................................................................ 3-12
Fig. 3-14: Done window..................................................................................................................... 3-13
Fig. 3-15: Interlink Unpacking window ............................................................................................. 3-16
Fig. 3-16: Interlink Prepare Installation message ............................................................................... 3-17
Fig. 3-17: Interlink installation Welcome window ............................................................................. 3-17
Fig. 3-18: Interlink licence agreement window .................................................................................. 3-18
Fig. 3-19: Window for entering the user information......................................................................... 3-19
Fig. 3-20: Selection of supported controller types.............................................................................. 3-20
Fig. 3-21: Interlink Setup Type window............................................................................................. 3-21
Fig. 3-22: Interlink Desktop shortcuts window .................................................................................. 3-22
Fig. 3-23: Interlink copying files window .......................................................................................... 3-23
Fig. 3-24: Interlink Finish Setup window........................................................................................... 3-24
Fig. 3-25: Interlink Restart window.................................................................................................... 3-24
Fig. 3-26: Run dialog of windows ...................................................................................................... 3-25
Fig. 3-27: Re-registering Interlink ...................................................................................................... 3-25
Fig. 3-28: Virtual Robot Browser....................................................................................................... 3-26
Fig. 3-29: Correctly running virtual controller ................................................................................... 3-26
Fig. 3-30: Start InterLink configuration ............................................................................................. 3-27
Fig. 3-31: Interlink configuration program......................................................................................... 3-28
Fig. 3-32: Profile management window ............................................................................................. 3-29
Fig. 3-33: Add Profile for S4 controller ............................................................................................. 3-30
Fig. 3-34: Profile Settings window for S4 controller.......................................................................... 3-30
Fig. 3-35: Backup settings in a profile................................................................................................ 3-31
Fig. 3-36: Backup settings in a profile................................................................................................ 3-32
Fig. 3-37: Create a S4 controller alias ................................................................................................ 3-33
Fig. 3-38: Create a S4 controller alias ................................................................................................ 3-33
Fig. 3-39: Create a host file entry ....................................................................................................... 3-34
Fig. 3-40: Configure a TCP/IP address............................................................................................... 3-34
Fig. 3-41: Select TCP/IP address........................................................................................................ 3-35

v
Users Guide S4Online

Fig. 3-42: Create an S4 Alias.............................................................................................................. 3-35


Fig. 3-43: Interlink configuration program......................................................................................... 3-36
Fig. 3-44: Profile management window ............................................................................................. 3-37
Fig. 3-45: Add Profile for IRC5 controller ......................................................................................... 3-38
Fig. 3-46: Profile Settings for IRC5 controller ................................................................................... 3-38
Fig. 3-47: Create an alias dialog for IRC5 controller ......................................................................... 3-39
Fig. 3-48: Create an alias for IRC5 controller .................................................................................... 3-40
Fig. 3-49: Select TCP/IP address........................................................................................................ 3-40
Fig. 3-50: Configure a TCP/IP address............................................................................................... 3-41
Fig. 3-51: Select TCP/IP address........................................................................................................ 3-41
Fig. 3-52: Create an IRC5 Alias ......................................................................................................... 3-42
Fig. 3-53: Search IRC5 Controllers .................................................................................................... 3-43
Fig. 3-54: Interlink configuration program......................................................................................... 3-44
Fig. 3-55: Interlink Monitor................................................................................................................ 3-45
Fig. 3-56: IRC5 Welcome Screen....................................................................................................... 3-48
Fig. 6-1: Program start using the start menu......................................................................................... 6-1
Fig. 7-1: S4Online start window........................................................................................................... 7-2
Fig. 7-2: S4Online function selection area ........................................................................................... 7-3
Fig. 7-3: S4Online standard functions area .......................................................................................... 7-4
Fig. 7-4: S4Online status bar ................................................................................................................ 7-4
Fig. 7-5: S4Online robot information area............................................................................................ 7-5
Fig. 7-6: S4Online functions selection panels ...................................................................................... 7-7
Fig. 7-7: The robot selection window................................................................................................... 7-9
Fig. 7-8: The Connect Robot Message ............................................................................................... 7-10
Fig. 7-9: Error message after robot selection...................................................................................... 7-10
Fig. 7-10: Dialog for robot licensing .................................................................................................. 7-11
Fig. 7-11: The settings window .......................................................................................................... 7-13
Fig. 7-12: The setting Path in PC....................................................................................................... 7-14
Fig. 7-13: The directory structure for robot data ................................................................................ 7-14
Fig. 7-14: The setting Editor program ............................................................................................... 7-15
Fig. 7-15: The setting Compare Program .......................................................................................... 7-15
Fig. 7-16: The setting Path in the memory deviceof the robot............................................................ 7-16
Fig. 7-17: The setting Language selection.......................................................................................... 7-17
Fig. 7-18: The setting TimeOut Time.................................................................................................. 7-17
Fig. 7-19: The setting Terminate program only with password ......................................................... 7-17
Fig. 7-20: The file manager window .................................................................................................. 7-19
Fig. 7-21: The file manager tool bar ................................................................................................... 7-20
Fig. 7-22: The module window .......................................................................................................... 7-23
Fig. 7-23: The data window................................................................................................................ 7-27
Fig. 7-24: The backup window........................................................................................................... 7-31
Fig. 7-25: Selections for backup output signal ................................................................................... 7-34
Fig. 7-26: Confirmation of backup directory...................................................................................... 7-36
Fig. 7-27: Display of progress of backup procedure .......................................................................... 7-37
Fig. 7-28: Entering cycle data............................................................................................................. 7-38
Fig. 7-29: Entering a backup date....................................................................................................... 7-39
Fig. 7-30: Selecting a backup directory for restore ............................................................................ 7-41

vi
Users Guide S4Online

Fig. 7-31: The parameter window ...................................................................................................... 7-43


Fig. 7-32: Prompt for overwriting parameters .................................................................................... 7-45
Fig. 7-33: Message parameters saved ................................................................................................. 7-45
Fig. 7-34: Message parameters not found........................................................................................... 7-46
Fig. 7-35: Message wrong operating mode ........................................................................................ 7-46
Fig. 7-36: The loglist window ............................................................................................................ 7-50
Fig. 7-37: Message logs saved............................................................................................................ 7-51
Fig. 7-38: List of logged messages ..................................................................................................... 7-52
Fig. 7-39: The tools window............................................................................................................... 7-54

vii
Users Guide S4Online

viii
Users Guide S4Online Chapter 1: Introduction

CHAPTER 1
INTRODUCTION
GENERAL DESCRIPTION
This guide describes the functionalities of the PC program S4Online.
It enables the user to record and save data from ABB robots. It is fur-
thermore possible to remote control the robot while the currently
loaded RAPID program is still being executed, i.e. the robot is produc-
ing.
This document also explains the installation process and the use of the
program in detail. It furthermore contains all information regarding the
possibilities of adapting the program to the user’s needs.
When using S4Online, the user can select a robot and then select one
application page from a selection list, e.g. for creating backups or han-
dling logs, in order to execute the corresponding function.
S4Online was designed for the use with industrial robots from ABB
for handling, arc welding, spot welding, gluing, and painting applica-
tions, it supports the controllers S4, S4C, S4Cplus, S4P, S4Pplus and
IRC5.

ABBREVIATIONS AND DEFINITIONS


S4O: S4Online
Log-file: File containing error and program runtime
messages
DCU Device configuration Utility program for
Interlink

REFERENCE LITERATURE:
Interlink: WebWare SDK Users Guide Version 4.5

1 -1
Chapter 1: Introduction Users Guide S4Online

1 -2
Users Guide S4Online Chapter 2: Requirements

CHAPTER 2
REQUIREMENTS
INSTALLATION REQUIREMENTS
The whole system must consist of at least one robot (booted with Fac-
toryWare or RAP Serial Link software option) and one PC (Windows
2000 SP2, Interlink and S4Online installed). There must be a physical
connection between these two (either via a network or via a serial
port) and the robot must be in automatic mode. Otherwise Interlink
will produce an error during certain operations.

PC REQUIREMENTS
The following list states the detailed requirements regarding the PC:
1. Processor: at least Pentium class; Pentium IV is recommended.
2. Operating system: Windows 2000 with Service Pack 2 or
Windows XP with Service Pack 1.
3. At least local administrator’s rights.
4. At least 256 MB main memory, 512 MB recommended.
5. Combination of monitor and graphics board that allows a resolu-
tion of at least 800 x 600 pixels.
6. 200 MB free space on hard disk for the program as well as further
space for the data that is created while working with the program.
7. CD-ROM drive.
8. Microsoft compatible mouse.
9. ABB Interlink software (or ABB WebWare SDK) must be in-
stalled and have a network connection to the robot.

2-1
Chapter 2: Requirements Users Guide S4Online

RAPID PROGRAM REQUIREMENTS


The following requirements are made to the RAPID program in the
robot to ensure that the program runs smoothly:
1. Only named (persistent) variables can be manipulated.
2. All data to be changed must be located in one or several program
or system modules.
3. Write access to the variables is not possible when the robot is in
manual mode and the program or instruction window is displayed
on the teach pendant of the robot controller.
4. Since modules, backups and other files (parameters, logs, etc.)
have to be temporarily stored on the RAMDISK or Flashdisk be-
fore transferring them to the PC, there has to be enough free space
there. For S4C and S4 the use of the memory board DSQC 324 is
recommended.
5. All variables to be changed or read must be declared as PERS in
RAPID. Other data that is not to be manipulated by S4Online can
be declared as desired.

PROGRAM-REQUIREMENTS
The target computer must have installed the ABB software Interlink
with at least version 3.2.
Interlink with version 4.0 or newer can only be run under Win 2000 or
Windows XP, older version will run under Windows NT as well.
S4Online is in its actual version tested and translated under Win 2000
Sp 4 with Interlink 4.5 and therefore only released officially for these
versions.

2-2
Users Guide S4Online Chapter 2: Requirements

COMPATIBILITY WITH OTHER ABB PRODUCTS


For the use of the S4Online program the ABB communication soft-
ware InterLink is needed. This software is included in many other
ABB packages, but mostly installed in the background without notice.
The following ABB products can be used together with the interlink
version provided on the installation CD. If you have a not mentioned
product, contact your ABB Robotics Product support:
Robotstudio: Version 2.0, 2.1, 3.0, 3.1
Quickteach: Version 4.0, 5.0, 5.1, 5.2, 5.3
ProgramMaker: Version 4.0.1, 4.0.2, 4.2, 4.2.1, 4.3
Interlink comes also along with all WebWare products (Webware
SDK, Webware Server and ABB S4-OPC-Server). Please check in the
interlink configuration program in the menu Help → About Interlink
Module Configuration the version of your installed version. The ver-
sion should be greater or equal to 3.02.0317.

Fig. 2-1: Interlink Version window

2-3
Chapter 2: Requirements Users Guide S4Online

2-4
Users Guide S4Online Chapter 3: Installation

CHAPTER 3
INSTALLATION
INSTALLATION OF THE S4ONLINE PROGRAM
S4Online is delivered with an installation program to supports you to
install the program on your PC. This installation program is automati-
cally started when you insert the S4Online-CD into your CD-ROM
drive. Should this not be the case, you can manually start the installa-
tion by double-clicking the file ABBS4Online.exe in the main direc-
tory of the CD.

In order to correctly set up the program S4Online, you need ad-


ministrator's rights on the PC on which the program is to be in-
stalled.

After the start of the installation program the following window ap-
pears:

Fig. 3-1: Language Selection for installation

3-1
Chapter 3: Installation Users Guide S4Online

Select the language you want to use during the installation and con-
firm the selection by clicking the OK-button. The selected language
will be used later also as the initial user language for the S4Online
program.
Now the following window appears:

Fig. 3-2: Welcome window of S4Online installation

The button Cancel aborts the installation (also in the following dia-
logs).
After clicking the Next button the following dialog comes up:

3-2
Users Guide S4Online Chapter 3: Installation

Fig. 3-3: S4Online License Agreement dialog

By pressing the <Back-button you can navigate back to the previous


dialog (also in all following dialogs).
This dialog shows the license agreement, which is to be confirmed. If
you do not agree, the installation will be terminated after clicking the
Next button. After confirming and clicking the Next button the follow-
ing dialog comes up:

3-3
Chapter 3: Installation Users Guide S4Online

Fig. 3-4: Search previous installation of S4Online

Here you can advise the installation program to search for a previously
installed version of S4Online. If the checkbox is checked, the follow-
ing message comes up indicating that the program searches for a pre-
viously installed version when the Next button is clicked. If the check-
box is cleared, the installation continues with the Readme dialog (see
Fig. 3-7: S4Online Readme file) directly.

Fig. 3-5: Searching previous installation of S4Online

If a previously installed version is found, the following window comes


up:

3-4
Users Guide S4Online Chapter 3: Installation

Fig. 3-6: Previous installation found window

Clicking the Uninstall button calls the deinstallation routine of the


previously installed S4Online program to deinstall it. After the dein-
stallation has finished, the setup can be continued by clicking the Next
button.
When clicking the End button the installation terminates without fur-
ther questions. The old program version can be kept or uninstalled
manually and then the setup can be started again.
Clicking the Next button installs the new version on top of the old ver-
sion and the following steps will be executed as well as if no old ver-
sion was found. The following dialog with the Readme-file, containing
the latest news, which was not available when the manual was printed,
appears:

3-5
Chapter 3: Installation Users Guide S4Online

Fig. 3-7: S4Online Readme file

Clicking the OK button, the following dialog for selecting the installa-
tion directory comes up (if a previous installed version was found the
default path is set to the installation path of the old version):

3-6
Users Guide S4Online Chapter 3: Installation

Fig. 3-8: Select installation directory dialog

By clicking the Browse-button, you can change the preset installation


directory; a tree view window for selection of the directory appears.
Click the Next-button to continue the installation. The following dia-
log for the selection of the start menu entry appears:

3-7
Chapter 3: Installation Users Guide S4Online

Fig. 3-9: Select program group dialog

Click the Next-button to accept the program group ABB S4Online or


choose an existing program group from the list respectively enter a
new group to be created.
Now the following dialog appears:

3-8
Users Guide S4Online Chapter 3: Installation

Fig. 3-10: Create Desktop Icon dialog

By checking resp. unchecking the Create Icon checkmark, it is se-


lected weather or not an icon for S4Online program is created within
the windows desktop.
When clicking Next, the dialog for selection of the Interlink installa-
tion comes up:

3-9
Chapter 3: Installation Users Guide S4Online

Fig. 3-11: Select Interlink installation dialog

Check or uncheck the given checkmark for the installation of Interlink,


to control whether the installation shall also install the latest Interlink
program. When clicking the Next-button the following dialog with a
survey of the made settings comes up:

3-10
Users Guide S4Online Chapter 3: Installation

Fig. 3-12: Installation settings and start installation dialog

Pressing the Next-button starts the installation and the required files
are copied to the PC.
During the installation process the current status is displayed in an-
other window.

3-11
Chapter 3: Installation Users Guide S4Online

Fig. 3-13: Installation progress window

After all required files have been copied another window appears,
showing that the installation of the program is complete.

3-12
Users Guide S4Online Chapter 3: Installation

Fig. 3-14: Done window

By clicking the Finish-button the installation of S4Online on your PC


is completed. If the software package WebWare SDK or Interlink has
already been installed and set up on your PC, you can immediately
start using the program, otherwise please continue with the following
chapters.

3-13
Chapter 3: Installation Users Guide S4Online

3-14
Users Guide S4Online Chapter 3: Installation

INSTALLATION OF THE INTERLINK-PACKAGE ON THE PC


In the following paragraphs the installation of Interlink is shown with
examples/pictures taken from the Interlink version 4.5.0015.
The installation program of the actual Interlink version is started via
the S4Online installation, if you checked the corresponding check-
mark. The following steps then will be made as part of the S4Online
installation.
To be able to use a mixed robot environment with S4C/S4Cplus and
IRC5 controllers, at least version 4.0 of the Interlink software must be
installed. During the installation the checkmark for IRC5 support must
be set.

GENERAL INFORMATION
To be able to exchange data between robot and PC the ABB software
Interlink must be installed, it is included on the S4Online installation
CD.
The following cases for the installation of interlink have to be made:
• If you have installed no other ABB Robotics products, proceed
with the installation as described further down.
• If you already have installed a Webware Server or Webware SDK
from version 2.0 or newer, no more additional software is needed,
as interlink is already part of those products. Proceed with the next
chapter.
Nevertheless it is recommended, that you upgrade those products
and interlink with them to the latest version.
• If you use other ABB-Robotics products on your PC (like Ro-
botStudio, Quickteach etc.), there are possibly parts of interlink al-
ready installed on your PC. In this case proceed with the installa-
tion of interlink as described below. After the installation is done
please take care of the chapter Registering Interlink

3-15
Chapter 3: Installation Users Guide S4Online

DESCRIPTION OF THE INSTALLATION


The Interlink installation is started from the S4Online installation if
that was selected, if not, start the installation by executing the corre-
sponding file from the CD’s subdirectory Interlink.
The installation program first unpacks all the files necessary for the in-
stallation, the progress of unpacking is shown in the following figure.

Fig. 3-15: Interlink Unpacking window

When the unpacking has finished, the installation is prepared as shown


by the following message:

3-16
Users Guide S4Online Chapter 3: Installation

Fig. 3-16: Interlink Prepare Installation message

When the preparations are done, the following welcome window is


shown:

Fig. 3-17: Interlink installation Welcome window

By clicking the Next-button you proceed to the next window, the li-
cense agreement window:

3-17
Chapter 3: Installation Users Guide S4Online

Fig. 3-18: Interlink License Agreement window

Please read the license agreement carefully. If you accept the license
agreement, check the corresponding check mark. By clicking the Next-
button the installation proceeds with the dialog for the input of the
user:

3-18
Users Guide S4Online Chapter 3: Installation

Fig. 3-19: Window for entering the user information

Please enter the name of your organization in the Organization field


and click Next to proceed with the following dialog:

3-19
Chapter 3: Installation Users Guide S4Online

Fig. 3-20: Selection of supported controller types

Please select the type of your controller(s) to be installed, in a mixed


controller environment select both controller types to be installed.
Click on the Next button to proceed to the following screen:

3-20
Users Guide S4Online Chapter 3: Installation

Fig. 3-21: Interlink Setup Type window

Please select Complete as type of installation to have all needed data


copied to your PC.
The next dialog will ask weather the installation program shall create
desktop icons for the different installed programs or not:

3-21
Chapter 3: Installation Users Guide S4Online

Fig. 3-22: Interlink Desktop shortcuts window

To have an easy and fast access to all programs, you can use the instal-
lation program to create shortcuts on your desktop for all installed pro-
grams.
After clicking the Install button, the setup starts the installation of all
necessary files, showing a progress information screen:

3-22
Users Guide S4Online Chapter 3: Installation

Fig. 3-23: Interlink copying files window

If all files have been copied successful a window comes up to finish


the installation:

3-23
Chapter 3: Installation Users Guide S4Online

Fig. 3-24: Interlink Finish Setup window

Finally the following message appears to ask for a restart of the PC to


complete the installation:

Fig. 3-25: Interlink Restart window

After the restart has been finished, the installation of the interlink
package is completed.

3-24
Users Guide S4Online Chapter 3: Installation

REGISTERING INTERLINK
If you already have an ABB product installed, which is using interlink,
interlink must be registered again after installing a newer version.
Therefore open (after the interlink installation is complete including a
restart of the PC) the run dialog and enter cmd as command:

Fig. 3-26: Run dialog of windows

Within the opened console change with the command cd <directory


name> into the directory which contains the executable program file
Interlink.exe (normally C:\Program Files\Common Files\ABB Auto-
mation\Interlink). Execute the commands Interlink –unregserver and
Interlink –regserver to re-register the program correctly.

Fig. 3-27: Re-registering Interlink

When the re-registering is done, you have to start once the Virtual Ro-
bot Browser and select a different robot and set this one active with

3-25
Chapter 3: Installation Users Guide S4Online

the Set Current Robot button. It is necessary, that a previously inactive


robot is set to be the active one now.

Fig. 3-28: Virtual Robot Browser

Now start your application you had already before installation if inter-
link, i.e. Quickteach, ProgramMaker or Robotstudio. The Virtual Con-
troller should now start as usually, you can verify this by checking the
icon in the tray area of the windows taskbar.

Fig. 3-29: Correctly running virtual controller

3-26
Users Guide S4Online Chapter 3: Installation

SETTING UP THE INTERLINK MODULE


To be able to exchange data between the PC and the connected robot
controller it is necessary to set up the robot system within interlink.
The following steps will show you how an alias is set up in interlink,
the version 4.5 of Interlink is used to show the dialogs.
When the installation is complete then start the program Device Con-
figuration Utility by selecting the corresponding entry from the start
menu:

Fig. 3-30: Start InterLink configuration

Alternatively you can double click the icon on your windows


desktop to start the configuration program:

3-27
Chapter 3: Installation Users Guide S4Online

Fig. 3-31: Interlink configuration program

The three right most toolbar buttons are used to create aliases as well
as profiles for the aliases. The following paragraphs will show the
steps by creating a profile and an alias for a S4Cplus and an IRC5
Controller.

3-28
Users Guide S4Online Chapter 3: Installation

CREATE AN ALIAS FOR A S4 CONTROLLER


The following paragraphs will show the creation of an alias for a
S4Cplus controller. It is splitted into the creation of a profile, make an
entry to the host table (used for the internal network management of
windows) and the process of the real alias creation.

Create/Setup a profile for a S4 controller


By clicking the button the window for selection of a profile is
opened, by checking the radio button Display S4 Profiles only profiles
for S4 controller are shown:

Fig. 3-32: Profile management window

To create a S4 controller profile click the Add Profile button, the fol-
lowing dialog comes up:

3-29
Chapter 3: Installation Users Guide S4Online

Fig. 3-33: Add Profile for S4 controller

Key in a name for the profile and select Type S4 as the controller type
for this profile. When clicking the OK button, the following dialog for
making the profile settings comes up:

Fig. 3-34: Profile Settings window for S4 controller

On the first page please set the robot’s I/O configuration file, as this
enables the S4Online program to access the different I/O signals from
the robot information area.

3-30
Users Guide S4Online Chapter 3: Installation

On the page Backup File Set an output signal can be set, which is used
to indicate a backup process by setting the given signal. This can be
used to inform e.g. a PLC that a backup is under progress for the ro-
bot:

Fig. 3-35: Backup settings in a profile

On the page FTP the ftp interface can be enabled to be used during the
transfer of files:

3-31
Chapter 3: Installation Users Guide S4Online

Fig. 3-36: Backup settings in a profile

When connected to a S4cPlus controller, please select the FTP page


and activate the FTP interface. As User Name enter „abb“ and as
Password as well. To activate these settings click the OK button.
S4Online uses the Interlink for copying files and Backups. Normally
one is limited to use short file names according the DOS conventions
when performing these actions. By using/enabling the FTP interface
one is allowed to use long file names with a S4Cplus controller (up to
16 characters).

Create/Setup an Alias and an IP address for a S4 Controller


By clicking the button a dialog for creation of an alias for a S4
controller is displayed:

3-32
Users Guide S4Online Chapter 3: Installation

Fig. 3-37: Create a S4 controller alias

In the first field please enter a name for the alias to be created. Then
select the profile (the just created one) to be used from the drop down
list beside of the text field for the profile:

Fig. 3-38: Create a S4 controller alias

Now click on the Address-button, the following dialog for select-


ing/entering addresses is shown:

3-33
Chapter 3: Installation Users Guide S4Online

Fig. 3-39: Create a host file entry

Click the ADD button for getting a dialog to be able to enter a name
and an IP address for the robot to be connected with the alias which is
currently defined:

Fig. 3-40: Configure a TCP/IP address

To save the address in the hosts file and close the window click the
OK button. The previous shown dialog comes up again, this time it
holds another (just created) entry, which is already the selected one:

3-34
Users Guide S4Online Chapter 3: Installation

Fig. 3-41: Select TCP/IP address

Click the button Select to use the selected address for the alias which
is to be created:

Fig. 3-42: Create an S4 Alias

Now select and click the button Create to create the alias with the
made settings. Then close the window using the Close button. In the
configuration program window now a new alias is shown:

3-35
Chapter 3: Installation Users Guide S4Online

Fig. 3-43: Interlink configuration program

3-36
Users Guide S4Online Chapter 3: Installation

CREATE AN ALIAS FOR AN IRC5 CONTROLLER


The creation of an alias for an IRC5 controller is described in the fol-
lowing paragraphs. Generally this is divided again into the steps of
creating a profile, make an entry to the host table and the creation of
the alias itself.

Create/Setup a profile for an IRC5 Controller


By clicking the button the profile selection window is opened.
When checking the radio button Display IRC5 profiles only profiles
for IRC5 controllers are shown:

Fig. 3-44: Profile management window

To create an IRC5 profile click the Add Profile button, the following
dialog comes up:

3-37
Chapter 3: Installation Users Guide S4Online

Fig. 3-45: Add Profile for IRC5 controller

Enter a name for the profile and select Type IRC5 as type of the pro-
file. Clicking the OK button brings up the dialog for the profile set-
tings:

Fig. 3-46: Profile Settings for IRC5 controller

In the right dialog area the user to be used for the connection between
Interlink and the robot controller is to be defined. This user must be

3-38
Users Guide S4Online Chapter 3: Installation

defined in the controller in the UAS (User Authorization System) sys-


tem as well and must have the allowance for the interlink specific
tasks. Shall the standard user be used, enter „Default User“ and „ro-
botics“ as password. Make the necessary changes according your
needs and create the profile by clicking the OK button.

Create an Alias and an IP address for an IRC5 Controller


Clicking the button brings up the dialog for create an alias for an
IRC5 controller:

Fig. 3-47: Create an alias dialog for IRC5 controller

Enter a name for the alias in the top most text field and select the pro-
file (the one created before) to be used from the corresponding drop
down list:

3-39
Chapter 3: Installation Users Guide S4Online

Fig. 3-48: Create an alias for IRC5 controller

Check the Address check mark and click the Address command but-
ton, the following dialog for entering an IP address comes up:

Fig. 3-49: Select TCP/IP address

Click the ADD button for getting a dialog to be able to enter a name
and an IP address for the robot to be connected with the alias which is
currently defined:

3-40
Users Guide S4Online Chapter 3: Installation

Fig. 3-50: Configure a TCP/IP address

To save the address in the hosts file and close the window click the
OK button. The previous shown dialog comes up again, this time it
holds another (just created) entry, which is already the selected one:

Fig. 3-51: Select TCP/IP address

Click the button Select to use the selected address for the alias which
is to be created:

3-41
Chapter 3: Installation Users Guide S4Online

Fig. 3-52: Create an IRC5 Alias

By default click the and set the check mark for the Address and select
the address from the Select TCP/IP address selection window, but if
you don’t know the address you can use also the other check marks to
select presettings for your IRC5 controller. Finally select the Scan but-
ton to search the IRC5 controllers fitting to your settings:

3-42
Users Guide S4Online Chapter 3: Installation

Fig. 3-53: Search IRC5 Controllers

Select the IRC5 controller you want to use for your alias from the list
of found controllers. Change the name of the alias if necessary and
then click the button Create, to create the new alias. Now close the
window by selecting the button Close. In the device configuration
window now an additional alias is shown:

3-43
Chapter 3: Installation Users Guide S4Online

Fig. 3-54: Interlink configuration program

3-44
Users Guide S4Online Chapter 3: Installation

CHECK THE CONNECTION STATE OF DEFINED ALIASES


To be able to check the state of the connection of the defined aliases a
small utility Interlink Monitor is delivered and installed to your PC.
The tool can be started by clicking the symbol on the desktop or by
selecting the corresponding entry from the start menu. The program
shows the state of all defined aliases:

Fig. 3-55: Interlink Monitor

3-45
Chapter 3: Installation Users Guide S4Online

3-46
Users Guide S4Online Chapter 3: Installation

NETWORK CONFIGURATION ON THE ROBOT


From the PC, the communication to a robot with the program
S4Online is executed via the TCP/IP protocol over Ethernet network
connections, and the robot must be booted with the software option
FactoryWare Interface or the previous version RAP Serial Link (for
robots with OS versions older than OS 3.0) when using S4 family ro-
bots or using the PC interface option for IRC5 robots.
Additionally the system parameters have to be set according the fol-
lowing paragraphs.

CREATE THE CONNECTION PARAMETER FOR AN IRC5 CONTROLLER

The configuration of an IP address for the LAN port is done via a


X-Start at the FlexPendant. The IRC5 system is equipped with an User
authentification system (UAS), therefore you might have to login to
the system to be able to access the controller from the FlexPendant or
from the RobotStudio Online software.

3-47
Chapter 3: Installation Users Guide S4Online

Fig. 3-56: IRC5 Welcome Screen

Settings in the X-Start window


• Open the menu window via the ABB button.
• Select the Restart entry and then the Advanced... option.
• Select X-Start and confirm with OK.
• After the restart has been done select Settings.
• Select FIX IP.
• Key in the IP address, subnet mask and gateway suitable for your
local network.
• Confirm the entries with OK.
• Now select the Select System option and select your system and
confirm with OK and then Close.
• Finally select Restart Controller and confirm with OK.

Now you have set a fixed IP address for the robot controller, no more
settings are necessary at the robot controller.

3-48
Users Guide S4Online Chapter 3: Installation

CREATE CONNECTION PARAMETER FOR A S4CPLUS CONTROLLER:


• Select Restart in the service window
• Select the X-start by pressing the keys 1, 5, and 9
• Press function key "X-start"
• After restarting the system, press function key "LAN settings"
• Press function key "Fix IP"
• Enter the IP address you received from the network administrator
for the robot under "IP"
• Enter subnet mask and gateway
• Press function key OK
• Prompt for rebooting the system. For transfer of the new settings
press function key "Yes"

In order for the robot to establish a connection with the computer on


which the program S4Online is run, the IP address of the computer
must be entered into the robot's controller parameters.

Procedure:
• Switch to the window "System Parameter"
• Select the submenu "Communication" from the menu "Param"
• Select the submenu "Appl. Protocol" from the menu "Types"
• Select the entry RAP1 with the <ENTER> key
• Select entry "Remote Address" and press the <ENTER> key
• Enter the IP address of the computer, e.g. "100.100.100.2"
• Finish entry by pressing the function key "OK" twice
• Initiate restart of the robot controller.

If the application protocol doesn’t exist, it must be checked whether


the following settings exist in the system parameters and they must be
created if necessary.

3-49
Chapter 3: Installation Users Guide S4Online

Physical channel:
Name: LAN1
Port: LAN
Transmission protocol:
Name: TCPIP1
Type: TCP/IP
Phys. channel: LAN1
Application protocol:
Name: RAP1
Type: RAP
Transaction protocol: TCPIP1
Remote address <IP address of PC>
Port no. -1
Sending StartUp mess.: No
Enable SUBSCW: No

CREATE CONNECTION PARAMETER FOR A S4C CONTROLLER:


Within a S4C controller all settings are done in the system parameters.
These have to be called and set according the following steps:
• Switch to the “System Parameter” window via the “Other Win-
dows” button
• Select the submenu “Communication” from the menu “Param”
• Select the submenu “Phys. Channel” via the menu “Types”
• Add the following settings (if not already present):
Name: LAN1:
Type: Ethernet
Channel: 3
Attention: for the S4C controller the names of physical channels
have to be finished by means of a colon!
• Via the menu “Types“ the submenu “Transmission protocol“ is to
be selected
• Add the following settings (if not already present):

3-50
Users Guide S4Online Chapter 3: Installation

Name: TCPIP1
Type: TCP/IP
Phys. Channel: LAN1:
Local Address: (IP address for the robot)
Subnet Mask: (Subnet mask for the robot)
• Select the submenu “Application protocol” via the menu “Types”
• Add the following settings (if not already present):
Name: RAP1
Type: RAP
Transm. Protocol: TCPIP1
Remote-Address: <IP address of the PC>
Port-No. -1
Send StartUp Mess: No
Enable SUBSCW: No
• Initiate a restart of the robot controller.
Within the parameters the names for the channel and the protocols are
freely selectable, the local address, the remote address and the subnet
mask have to be adapted to the local environment. All other parameter
should be set as shown above.

3-51
Chapter 3: Installation Users Guide S4Online

3-52
Users Guide S4Online Chapter 4: Robot Licensing

CHAPTER 4
ROBOT LICENSING
The S4Online program must be licensed for the PC where it is in-
stalled and where it shall be used. The amount of licensed robots is set
in the license as well. Which robots are to be used with S4Online is
decided by the user, when he selects a robot, which is not licensed so
far. He has to confirm that in a dialog when there are licenses left.
In order to be able to make use of the complete functionality of
S4Online with a selected robot, an individual license must be selected
for each robot that is to be operated with S4Online.
To request a license key:
1. On the Start menu, point to Programs, ABB Industrial IT, Robotics
IT, Licensing and then select License Key Request Wizard.
2. Follow the instructions in the wizard and enter the requested in-
formation. When the wizard is completed, a license key request
file is saved to a file on your PC. Its name is LicenseKeyRequest-
S4Online-unique number.txt located on the desktop.
3. Attach the license key request file to an e-mail and send it to
[email protected]. The file must be attached to the e-
mail (not copied into the body of the e-mail) and have the exten-
sion .txt (as it is created), otherwise the license key request will
fail the processing. A license key file will then be sent by e-mail to
the e-mail address specified in the license request wizard within a
few minutes.S4Online runs in a demo mode if no valid license for
the currently selected robot is loaded. In demo mode all program
functionalities can be viewed, but no writing actions can be per-
formed. The demo mode allows the user to get to know the pro-
gram without having to buy it. For further tests it is possible to ob-
tain licenses with limited validity from ABB.

Install the License Request


When you have received the e-mail with the license key file:
1. Detach the license key file from the e-mail and save it to a file on
your PC. For information about how to detach files from an e-mail,
see the online help for your e-mail application.

4 -1
Chapter 4: Robot Licensing Users Guide S4Online

2. Double-click the license key file. This opens the License Key In-
stall Wizard.
3. In the License Key Install Wizard, follow the instructions in the
wizard.
You can now run S4Online. To work with a robot controller, you also
must connect the PC to the robot.
S4Online will run in demo mode, if no valid license is installed for the
selected robot. In the demo mode all windows can be shown, but no
actions for writing data are enabled, this gives the opportunity to test
the program. It is possible to get demo licenses from ABB.
In demo mode the following actions are possible:
- Selecting a robot
- Setting the robot clock
- Saving logs
- Editing log files
- Saving parameters
If a robot is selected, which is not licensed so far, and robot licenses
are still available, the program asks the user to select whether this ro-
bot shall be marked as a licensed one. If not S4Online will run in
demo mode with this robot, if answering yes the robot will be saved as
a licensed one.
When loosing your license, it is possible to request it again using the
email described above if the presuppositions have not changed.
If the presuppositions have changed, e.g. a new hard disk is used in the
PC, please redo the license request action as described above.

4-2
Users Guide S4Online Chapter 5: Program Settings

CHAPTER 5
PROGRAM SETTINGS
Starting S4Online the first time after the installation, it works with
standard program settings. In order to fit the needs of the local installa-
tion it is possible to adapt the settings.
The settings are discussed in detail in Chapter 7, section The Settings
Window. For the first program start after the installation the settings
are preset with standard values and kept until a later change.
These standard values are:
Path on the PC: Installation directory of S4Online
Editing program: Windows Accessories program Note-
pad.exe.
Comparison program: no program.
Path in the memory device: S4O.
Language selection: German or English, according to lan-
guage selected during installation.
TimeOut time: 60 sec
Terminate program only with password: not set.

5 -1
Chapter 5: Program Settings Users Guide S4Online

5-2
Users Guide S4Online Chapter 6: Starting the Program

CHAPTER 6
STARTING THE PROGRAM
S4Online is started by choosing the corresponding entry in the start
menu:

Fig. 6-1: Program start using the start menu

Alternatively the shortcut on the windows desktop can be double


clicked to start the S4Online program, if the shortcut was selected to
be created during the installation. The shortcut may be created also
now. To do this, start the Windows Explorer, open the installation
folder of S4Online and right-click the file S4O.exe. From the menu,
choose Copy. Then right-click an empty area on the desktop and
choose Create shortcut from the appearing context menu. Now
S4Online can be started by double-clicking this shortcut.
When the program has been started, an information window will ap-
pear which shows messages about the loading phases of the program.
This process may take several seconds, since depending on the cir-
cumstance that S4Online may have to start Interlink as well, which
provides the connection between robot and PC.
During start of the program it is checked, whether there is a license for
the particular PC in the license file found. If no license for the PC is
found, the program can be started 10 times, one gets a message of how
many starts are already done during the start. When the program is
started the eleventh time a message comes up telling that the program
needs to be licensed for this PC and is terminated immediately. If a PC
license is found the start is continued without any message.

6 -1
Chapter 6: Starting the Program Users Guide S4Online

After the loading process is complete the robot selection window ap-
pears, the information window disappears and the password dialog is
opened. Please enter a valid password. After installation the passwords
are preset as 007 for an operator and 008 for a programmer. You
should change these passwords right after starting the program. The
passwords may consist of a combination of letters, figures and special
characters.

6-2
Users Guide S4Online Chapter 7: Program Description

CHAPTER 7
PROGRAM DESCRIPTION
GENERAL PROGRAM STRUCTURE
The program was designed for the use with a minimum screen resolu-
tion of 800 x 600 pixels and the windows were constructed accord-
ingly.
The program window is divided into four sections:
- the section functions selection
- the section for selecting standard functions (password entry etc.)
- status display
- information section which offers information about the selected
robot
- the program window itself, in which the window of the currently
selected function is displayed.
The following picture shows the S4Online program window after the
first start following the installation (the section robot info is not visi-
ble):

7 -1
Chapter 7: Program Description Users Guide S4Online

Selection of
functions
functions
window

standard
functions

status bar

Fig. 7-1: S4Online start window

In the following the different sections are presented and their basic
functions are described.

7-2
Users Guide S4Online Chapter 7: Program Description

The functions selection area:

Fig. 7-2: S4Online function selection area

In this section the user can select the functions he wants to work on
with the connected robot. Three sub-sections are differentiated here
into the section Settings, the section Functions, as well as the section
Tools.

7 -3
Chapter 7: Program Description Users Guide S4Online

The standard functions area:

Fig. 7-3: S4Online standard functions area

In this section the user can select the functions that are required re-
peatedly and are not assigned to a robot functionality. These are:
- the button Enter Password, it calls up a dialog for entering or
changing the password, respectively,
- the button to turn the robot information section on and off,
- a button to keep the program window in the foreground,
- the Program Info button, as well as
- a button for terminating the program. If the setting Terminate pro-
gram only with password is set and the actual user has entered
only the user password, the clicking of the button brings up a
password dialog box to enter the programmers password to be able
to terminate the S4Online program.

The status bar area:

Fig. 7-4: S4Online status bar

The status bar contains information about the robot which is currently
selected, the currently active user status, as well as the robot and PC
clocks. When moving the mouse pointer over the fields for the PC’s
and robot’s time, it changes to a hand symbol, indicating the possibil-
ity to click on to the fields. This brings up a dialog asking to set the
robots respectively the pc’s time to the time of each other.

7-4
Users Guide S4Online Chapter 7: Program Description

The robot information area:

Fig. 7-5: S4Online robot information area

In this section the user can select the type of information that he needs
from the robot, as for example the display of I/O signals.
Furthermore this section contains an operator bar for the robot, in or-
der to switch the robot mode to operation or stand-by or to execute
program start or program stop commands, respectively.

When clicking a button on the operator bar or when set-


ting/resetting I/O-signals, respectively, it must be observed that no
one is within the safeguarded space of the robot. If the robot is
connected via a remote connection (no visual contact), as a last re-
sort a helper may be assigned on location with the robot.

The functions area:


The functions area is the remaining program window section in the
middle of the program window. It is used by windows of the currently
selected functionality, e.g. with the window for saving log files.
The functions of the specific sections are described in detail in the fol-
lowing chapters.

7 -5
Chapter 7: Program Description Users Guide S4Online

7-6
Users Guide S4Online Chapter 7: Program Description

FUNCTION SELECTION PANEL


The functions selection panel covers the choice of the desired program
functions. For this the selection list is divided into three subsections,
these are the sections settings, functions, and tools.
The three sections appear as follows:

Fig. 7-6: S4Online functions selection panels

THE SECTION SETTINGS


This section can be opened by simply clicking the button .
In the selection list you find the functions Select Robot and settings.
With robot selection you can choose the robot to be used. The settings
window allows you to change the parameters controlling the program
S4Online.

7 -7
Chapter 7: Program Description Users Guide S4Online

THE SECTION FUNCTIONS


By clicking the button the functions section can be
opened. This selection list contains the functions File Manager, Mod-
ule handling, Variable handling, Backup/Restore, Parameter handling
and Logs handling.
The File manager can be used to apply the standard file operations for
deleting and copying between the robot and the PC.
The Module Handling offers possibilities for up/download, load and
save RAPID modules.
The window Variable Handling offers possibilities for reading, writ-
ing, and logging RAPID variables.
In the window Backup/Restore backups can be performed with various
options. Furthermore a restore process can be performed, which copies
an existing backup from the PC to the robot.
In the window Parameter Handling and Logs Handling selected pa-
rameters and logs can be saved or parameters can be uploaded to the
robot, respectively.

THE SECTION TOOLS


This selection can be opened by clicking the button . The
selection list offers the function Tools. It can presently be used to
compare backups or files as well as to read in a backup or a file, in or-
der to create a list of variables for the current robot.

7-8
Users Guide S4Online Chapter 7: Program Description

THE ROBOT SELECTION WINDOW


This window is used to select the current robot. It looks as in the fol-
lowing figure:

Fig. 7-7: The robot selection window

This window consists of a robot selection list as well as a button for


setting the robot clock of the selected robot. The robot is selected by
simply clicking the corresponding robot.
When the program can establish a connection with the robot, the cur-
rent robot time will appear in the status bar of the program shortly af-
ter the selection. Also the button for synchronizing the time will be
enabled.
If a robot, which currently is not connected, is selected, a short mes-
sage comes up to indicate this to the user.
If no connection is available, the program tries for 1 minute to get a
connection to the robot. This is indicated by displaying a window with
a button to cancel the building up of the connection:

7 -9
Chapter 7: Program Description Users Guide S4Online

Fig. 7-8: The Connect Robot Message

If no connection to the robot can be established, this will be marked by


an error message. The error message states that the Standard TimeOut
time can not be written to the robot; this is sent to the newly selected
robot every time a robot is selected.

Fig. 7-9: Error message after robot selection

By clicking the button Set Robot Time the clock of the selected robot
can be matched with the clock of the PC. If this is not possible, be-
cause e.g. no valid password has been entered, the program will also
create an error message:
When the robot has been successfully connected, the section Robot In-
formation will also be refreshed. There the user can query the current
states of the robot. When the required password has been entered and
the EIO configuration file has been entered in the Interlink installation,
the user can query and set the I/O signals.
If already a robot is selected and any logging or time-controlled
Backup function is active for this robot, the user will be asked whether
he wants to stop the current action and to activate the new selected ro-
bot. Answering yes stops the actions running and activates the new ro-

7-10
Users Guide S4Online Chapter 7: Program Description

bot, answering no breaks the activation of the new robot and the old
one remains the active one.
If a robot is selected, which is not licensed so far, but there are robot
licenses left, a dialog box comes up asking to license the particular ro-
bot just selected:

Fig. 7-10: Dialog for robot licensing

If Yes is clicked, S4Online just goes on, saving the robot to the li-
censed ones, if No is selected S4Online gives a message that it is run-
ning in demo mode only.

7 -11
Chapter 7: Program Description Users Guide S4Online

7-12
Users Guide S4Online Chapter 7: Program Description

THE SETTINGS WINDOW


This window is used to set some basically required parameters of the
S4Online program. It looks like this:

Fig. 7-11: The settings window

The window consists of several description fields and buttons, some of


which are assigned to the description fields. All the settings can only
be changed, if the user has entered the programmer’s password. The
specific components are described and explained in the following list.

7 -13
Chapter 7: Program Description Users Guide S4Online

Path in the PC:

Fig. 7-12: The setting Path in PC

This description field allows you to enter a path in which all data
for the different selected robots is filed.
For filing data a directory for each robot is created below the
given path with the name of the robot. In this directory all data,
backups, logs, etc. are saved. The structure looks as follows:

Fig. 7-13: The directory structure for robot data

The standard setting for this directory is the Installation Directory


of S4Online.

7-14
Users Guide S4Online Chapter 7: Program Description

Editor program:

Fig. 7-14: The setting Editor program

This description field is used to enter a program which is used


within S4Online to open files for editing. The program should be
able to receive several files as parameters, since in some parts of
S4Online there is a possibility to use one command to open sev-
eral files for editing at the same time.

As an example for such an editor program, the shareware pro-


gram UltraEdit is included on the installation CD (directory
UEDIT32).

For selecting the editor you can also use the button Browse to the
right of the description field. This reduces the risk of entering an
invalid program, since the program must be selected directly.
The standard setting for the editor is the Windows accessory pro-
gram Notepad.exe.
Compare Program:

Fig. 7-15: The setting Compare Program

This description field is used to enter a program which will be


used within S4Online to compare files and directories. The pro-
gram should be able to receive two files or two directories as pa-
rameters. This is necessary since only then it is possible to trans-
mit the files or directories which are to be compared to the pro-
gram.
For selecting the compare program you can also use the button
Browse to the right of the description field. This reduces the risk
of entering an invalid program, since the program must be se-
lected directly.

7 -15
Chapter 7: Program Description Users Guide S4Online

Additional parameters required for the compare program must be


entered in the description field. Should the program for example
require the parameter /D to compare two files, the entry must look
as follows (without the quotes):
„C:\Program Files\CompareProgram\Compare.exe /D“
The standard setting for the compare program is no program.

As an example for such a compare program the shareware pro-


gram BeyondCompare is included on the installation CD (direc-
tory BeyondCompare).

Path in the memory device:

Fig. 7-16: The setting Path in the memory device of the robot

This description field is used to select a directory that exists on


the memory device of the robot (Ramdisk or Flashdisk) and is
used to save files, i.e. modules, or to transfer them between PC
and robot.
The standard setting for this path in the memory device is S4O.
The path is automatically created in the robot memory if the robot
is selected and the directory does not exist. If a directory is
changed during a session, the old directory is not deleted. The
new directory is created in the robot memory when the settings
are saved.

7-16
Users Guide S4Online Chapter 7: Program Description

Language selection:

Fig. 7-17: The setting Language selection

This selection list is used to select a user's language for the


S4Online program. It is presently possible to choose between
German and English. After selecting a language the label on the
button Save Settings changes to the corresponding language, i.e.
when selecting German it changes to Änderungen sichern.
The standard setting for the language is German.
TimeOut Time:

Fig. 7-18: The setting TimeOut Time

In this description field you enter a time that corresponds to the


time which the program S4Online uses as TimeOut time in the
communication with the robot. This time is sent to the selected
robot every time a robot is activated in the robot selection win-
dow. Should TimeOut errors occur frequently it can be helpful to
raise the value, e.g. when using a serial connection via modem.
Terminate program only with password:

Fig. 7-19: The setting Terminate program only with password

With this checkbox it is controlled who is able to terminate the


program. If one is using the program as an user and wants to ter-
minate the program while this check mark is set, a password dia-
log comes up to ask for the Programmer’s password. This dialog
can be canceled to run the program without changes. When the

7 -17
Chapter 7: Program Description Users Guide S4Online

correct Programmer’s password is entered, the program will ter-


minate.
If Windows is terminated, the program S4Online is terminated
also without requesting a password. The same applies to the ter-
mination of the program from within the task manager.
Delete Changes:
This button discards all unsaved changes, the program continues
to work with the previously used values.
Save Changes:
This button saves all unsaved changes, the program continues to
work with the new values.
Should you quit the window without saving the changed values, a
warning message appears. This must be acknowledged and then
the changes must be saved or discarded to quit the window.

7-18
Users Guide S4Online Chapter 7: Program Description

THE FILE MANAGER PROGRAM


This application is started, when the button File manager in the main
window is pressed. It starts with the currently selected robot.
The program is used for working with the files and folders of the cur-
rent robot and looks as follows:

Fig. 7-20: The file manager window

This window consists of a tool bar in the upper part of the screen, a di-
rectory tree in the left and a file list in the right section of the window.
In addition there is a status bar in the right section of the window. By
clicking a folder in the left section the files contained in this folder are
displayed in the right section.
The status bar informs about the selected robot, the date and time and
after clicking the ABB logo about the file manager itself.
Double-clicking a folder opens it and the contained subfolders are dis-
played.

7 -19
Chapter 7: Program Description Users Guide S4Online

Right-clicking the folders or a file produces a shortcut menu for copy-


ing, deleting, etc.
The file manager adheres to the standards of the Windows Explorer. A
short list of the icons from the tool bar follows.

Fig. 7-21: The file manager tool bar

The icon Large Icons changes the appearance of the files in the
right window to large icons.
The icon Small Icons changes the appearance of the files in the
right window to small icons.
The icon List changes the appearance of the files in the right win-
dow to a list.
The icon Details changes the appearance of the files in the right
window to a list with file details.
The icon Cut removes the selected files or folders and places them
on the clipboard. You can use the function Paste to insert them in an-
other place.
The icon Copy copies the selected files or folders to the clipboard.
They can be inserted in another place with the function Paste.
The icon Paste inserts the files or folders that are stored on the
clipboard in the currently selected place in the directory structure.
The icon Delete deletes the selected files or folders.
The icon Rename opens a dialog box for renaming the selected
folder.
The icon Refresh refreshes the screen, i.e. all information about the
folders and files of the current robot are read in again from the robot.
The icon SafeCopy creates a safe copy.
The icon Help opens the online help function of WebWare SDK.
The dropdown-list RobotSelection is to
be used for the selection of a robot, which is used in the file manager.
If the file manager was started by clicking the button in the main win-
dow, the actual robot is preselected. The dropdown-list is only visible,
if the RobotSelectList button was pressed after the file manager was

7-20
Users Guide S4Online Chapter 7: Program Description

started. With this button the list can be made invisible again by click-
ing it again.
The icon RobotSelectList switches the dropdown list RobotSelec-
tion visible and invisible.
The icon EndProgram terminates the file manager program.
Furthermore some of these functions can be reached by using the con-
text menus (right-clicking on a file or folder).
The language used in the file manager depends on the settings in the
Windows Control Panel, section Regional Settings.

7 -21
Chapter 7: Program Description Users Guide S4Online

7-22
Users Guide S4Online Chapter 7: Program Description

THE MODULE WINDOW


This window is used for working with modules of the currently se-
lected robot. It looks like this:

Fig. 7-22: The module window

This window consists of a file list, a status LED with a label, two
check boxes, as well as three command buttons.
The window is used to save modules from the program memory of the
robot controller to the local memory device Ramdisk or Flashdisk of
the currently selected robot, or to load modules from the local memory
device to the program memory. In addition to that, during the saving
process the modules can also be copied to the hard disk into the subdi-
rectory MODULES below the current robot directory or they can be
transferred from there to the robot for loading, respectively.

7 -23
Chapter 7: Program Description Users Guide S4Online

The status of an operation is signalized by the status LED as well as a


text message above it. While an operation is in process, the LED is
red. When no operation is in process, the LED is green. The operation
currently in process is displayed as a text message above the LED.

The modules and programs can only be loaded into the user mem-
ory of the robot by S4Online, when no program is executed in the
robot and when the robot is in automatic mode.

The modules which can be loaded or saved are displayed in the selec-
tion list. The list is generated by showing the files which are in the di-
rectory MODULES in the robot directory on the PC and in the direc-
tory Path on memory device (see chapter The Settings Window) on the
robot memory device. The files are additionally marked by icons in
two columns to the left of the list, which indicate where the files were
found. The robot symbol appears in the first column if the file was
found in the robot directory Path on memory device. Furthermore the
PC symbol appears in the second column if the file was found in
the directory MODULES in the robots directory on the PC. If a module
exists in both locations, both icons ( ) are displayed.
Depending on the locations of the files, the correspondingly applicable
command buttons are enabled.
The following is a description of the single components.
Module list:
Lists the modules which can be loaded into the user memory of
the robot or saved from the user memory. It does not matter
whether the modules are on the PC or already in the specified di-
rectory on the robot memory device. The displayed icons indicate
where the modules are located.
Check box Copy to the PC:
If this check box is activated, all modules that were saved in the
robot memory by clicking the Save button are additionally copied
to the PC. There they are stored in the directory MODULES be-
low the robot directory.
Check box Copy to the robot:
If this check box is activated the loading process is modified so
that the modules from the directory MODULES on the PC are

7-24
Users Guide S4Online Chapter 7: Program Description

first copied to the specified directory on the robot controller and


then loaded from there. That means the module that was on the
PC is loaded into the user memory. If a module does not exist on
the PC, an error message is displayed (usually not possible, be-
cause the corresponding button is not enabled).
Status LED/Text:
The LED signals whether a module operation is being performed.
If this is the case, it turns red, otherwise it turns green. Addition-
ally a status text is displayed above the LED. This changes be-
tween “copying”, “loading”, and “saving”, according to the op-
eration being currently performed.
Button Save:
The selected module is saved in the folder Path on memory de-
vice on the memory device of the robot and, if the check box
Copy to the PC is activated, is copied to the PC.
Button Load:
Loads the selected module from the folder Path on memory de-
vice into the primary memory. Before loading, the module is cop-
ied from the PC into the specified folder if the check box Copy to
the robot is checked.
To initialize the robot program a Program Prepare-command is
sent to the robot controller after a load mod/prg action is done.
This means to be carefully when restarting the robot as he will
start from the “main” (or “haupt” in german systems) routine of
the program when the next program start order is given.
Button Edit:
The selected module is loaded to the editor specified in the set-
tings. For this, the module must exist on the PC.
Status text Modul:
This text label shows, whether a module is selected, which is in-
valid for loading or saving in the modules list.

7 -25
Chapter 7: Program Description Users Guide S4Online

7-26
Users Guide S4Online Chapter 7: Program Description

THE VARIABLE WINDOW


This window is used for working with variables of the currently se-
lected robot. It looks like this:

Fig. 7-23: The data window

This window allows you to log or change variables of the selected ro-
bot, respectively. Furthermore the variables listed in the table can be
protocoled, i.e. every change will be written into a protocol file.
It is possible to log or write variables of the types num, bool, and
string.
The following is a description of the single components.
List of variables:
Lists the variables that have been read into the program through
reading of a backup or a RAPID module for the selected robot
(see chapter The Tools Window). By clicking an entry and click-

7 -27
Chapter 7: Program Description Users Guide S4Online

ing the button Add below the list the selected variable is added to
the table of variables for logging.
Button Add (below list of variables):
This button inserts the selected variable into the table of vari-
ables. If the variable is already in the table, a corresponding mes-
sage will be displayed.
Text field Name:
The name of a variable that is to be added to the list of variables
can be entered in this description field. The adding is executed by
clicking the button Add below.
Selection list Type:
Used for selecting the data type for the variable entered in the de-
scription field Name.
Button Add (below Type selection list):
This button inserts the variable entered in the description field
Name into the list of variables with the data type selected in the
selection list Type. If the variable is already in the table, a corre-
sponding message will be displayed.
Text field Current Value:
Shows the current value of the variable selected in the table of
variables.
Text field New Value:
Used to enter a new value for the variable selected in the table of
variables.
Button Write:
Writes the value entered in the description field New Value into
the variable selected in the table of variables.
Table of variables:
Lists all variables selected for logging. The data type is displayed
in the second column. The third column shows the current value
of the variables, it is refreshed when the variable changes in the
robot controller and when the entry is selected by clicking it with
the mouse. The current value of these variables is then transferred
into the description field

7-28
Users Guide S4Online Chapter 7: Program Description

Button Delete Variable from List:


Deletes the variable selected in the table of variables from the ta-
ble of variables and from the internal log list.
Button Edit Variable Log:
Calls up the selected editor with the log file of the variable log-
ging. The button is enabled only when no logging is active and
variables have already been logged for the selected robot during
the current session.
Button Start:Variable Log:
Starts the logging of variables listed in the table of variables. All
variables in the table are entered into the log file with their value.
When a variable is changed after that, only entries with this
change will be made.
All variables entered in the log table are saved in the file VarList.txt in
the directory of the corresponding robot when another robot alias is
chosen or when the program is terminated, respectively. When the ro-
bot is selected again, the saved variables are inserted into the List of
Variables and also written into the Table of Variables and directly
logged again.
This mechanism can be used to load and log pre-defined variables
when selecting a robot. The file has the following format:
"reg1","num"
"reg2","num"
"ww_BackupOK","bool"
"ww_AutoRestart","bool"
"ww_StopProgram","bool"
Each line contains a variable which is defined by its name and its type.
Name and type are enclosed in quotes and separated by a comma. No
blank lines are allowed.
If a variable is not defined in the robot or if it is of another type, either
an error message will be displayed or the output will be the value
“<Read-Write Error>”.
If a different robot is selected while logging of variables is active, the
logging is aborted, as well as if the program is terminated.

7 -29
Chapter 7: Program Description Users Guide S4Online

7-30
Users Guide S4Online Chapter 7: Program Description

THE BACKUP WINDOW


This window is used to create backups of the currently selected robot
or all connected and licensed robots, respectively. Backup is a com-
plete saving of all program and parameter data of the robot system.
Furthermore a restore, which loads a previously saved backup, can be
executed for the selected robot. The window looks like this:

Fig. 7-24: The backup window

The window is used to create backups of the selected, licensed robot


or of all logged on and licensed robots or to load a backup back into
the selected robot, i.e. to execute a restore.
The backups can be done a) upon request, b) on a selected date, c) cy-
clically in adjustable time intervals or d) on request of the robot.

7 -31
Chapter 7: Program Description Users Guide S4Online

Additionally a directory can be stored with the backup, it is to be se-


lected via the text box Add. Directory. To do that, the checkmark Copy
to PC or Move to PC and Add. Directory must be set.
Instead of saving a backup locally to the ramdisk or flash disc it can be
saved to a PC directly when checking the Remote mounted disk
checkmark which needs a remote mounted disk in the robot parame-
ters (if the remote mounted disk is not present, an error is given).
The settings for the backup window will be saved when a different ro-
bot is selected or the program is terminated. The settings are saved in a
text file located in the robots directory with the name „bckSet-
tings.txt“. If a robot is selected, which already has a „bckSettings.txt“
file the settings for the window are restored according to the saved in-
formations.
The backup depends on several conditions which are briefly described
in the following paragraphs.
ww_BackupOK
The RAPID variable BackupOK controls the creating of a
backup. If the variable is defined and set to False or if it is not de-
fined, the creating of a backup by the S4Online program is not al-
lowed. If the variable is defined and set to True, the S4Online
program can create a backup.
ww_StopProgram
The RAPID variable ww_StopProgram controls whether the cur-
rent robot program may be stopped for creating a backup when it
is currently being executed. If the variable is defined and set to
True, the stopping of the robot program through the S4Online
program is allowed. If the variable is defined and set to False or if
it is not defined, the S4Online program will not create a backup
because the RAPID program cannot be stopped.
ww_AutoRestart
The RAPID variable ww_AutoRestart controls whether the cur-
rent robot program may be restarted after a backup has been cre-
ated, if it was being executed when the backup began. If the vari-
able is defined and set to True, starting the robot program by the
S4Online program is allowed. If the variable is defined and set to
False or if the variable is not defined, no program start will be
executed by the S4Online program.

7-32
Users Guide S4Online Chapter 7: Program Description

ww_StartBck
The RAPID variable ww_StartBck controls, whether a backup
ordered by the robot is to be started or not. This is done by sur-
veying of the variable in the robot controller (It is read once per
second). If a change from False to True is detected, a backup pro-
cedure is started. This backup is done only for the robot which is
surveyed, even if the all robots check mark is checked. If the vari-
able is not defined, it is not possible to do a supervision, an error
is produced and the check mark is reset immediately.

All four variables must be declared as persistent and with the data
type bool. Alternatively the included system module S4O.SYS can
be loaded.

The software includes a RAPID system module S4O.SYS in which the


variables are declared. Additionally the module contains the routine
HomeposBCK, to set the variables to True as well as the routine
EndBCK to set the variables to False. These routines can be used to
control the creating of a backup by S4Online with a RAPID program.
Here it is practical to allow backups only in the home position of the
robot for example.
If the active robot is deselected (see section The Robot Selection Win-
dow) or S4Online is terminated, the currently active settings of the
backup page are stored for the robot. When the robot is selected again,
all the settings are reloaded again. This affects mostly the settings for
the cyclic or dated backup.
When a backup is started, S4Online checks the settings for the robot in
the Interlink configuration. If there in the profile for the robot on the
backup tab the check mark Set output high during backup: is checked
and in the drop down list an output is selected, this output is set during
the backup and is resetted to zero after the backup is finished.

7 -33
Chapter 7: Program Description Users Guide S4Online

Fig. 7-25: Selections for backup output signal

The signal is set to 1 also during the copying of the backup, if copying
is ordered. By checking the signal state from the robots program it can
be used e.g. to stop a background task during the time of backup.

When S4Remote shall perform a Restore for a S4P controller,


only the ramdisk respectively the additional directory is copied to
the controller. Afterwards the restore is to be done manually from
the robots Service menu.

The following is a description of the specific components of the


backup window.
Check box Including Logs:
Determines whether the backup should include the robot's error
logs or not. As default the logs are not saved with the backup.

7-34
Users Guide S4Online Chapter 7: Program Description

Check box Backup all Robots:


This check box is used to create a backup of all logged in, li-
censed, and connected robots.
Check box Move to PC:
This check box controls whether the created backup remains on
the robot's memory device or is moved to the PC. As default the
check box is active, i.e. the backup is created on the robot's mem-
ory device (hd0a or ram disk) and then copied to the PC and sub-
sequently deleted from the robot's memory device again. If the
check box is not active, the backup remains on the robot's mem-
ory device, here it must be noted that a backup can take up a lot
of memory space. With S4/S4C the ram disk can already be full
after one backup under certain circumstances.
Check box Copy to PC:
This check box controls whether the created backup is copied to
the PC. As default the check box is inactive. If it is active, the
backup is created on the robot's memory device (hd0a or ram
disk) and then copied to the PC. Here it must be noted that a
backup can take up a lot of memory space. With S4/S4C the
Ramdisk can already be full after one backup under certain cir-
cumstances.
Add. Directory-Checkbox:
This checkbox controls whether an additional directory is stored
together with the backup.
Add. Directory-text field:
This text field contains and holds the name for an additional di-
rectory to be stored together with the backup if the checkbox
Add. Directory is selected. If no directory name is given even if
the check box is set, the system stores nothing in conjunction with
a S4Cplus controller. Together with a S4 or S4C controller the
complete ramdisk will be saved in the backup directory. When
this backup is selected for restoring, the directory (the ramdisk)
will be restored as well.
Check box Use remote mounted disk:
This check box controls whether the created backup is saved di-
rectly to a PC, which serves as a memory device for the robot. If

7 -35
Chapter 7: Program Description Users Guide S4Online

the check box is marked, both checkboxes for copying and mov-
ing should not be set. Furthermore this function requires having
no files with more than 8.3 characters in their names, even when
using a S4Cplus controller. This is necessary, as the use of the ftp
interface from the belonging robot’s profile must be deactivated
to use this function properly.
Text box Remote Mounted Disk:
Contains the name of the remote mounted disk.
Command button Remote Mounted Disk:
Clicking this command button results in a search through the
saved parameters of the robot for a remote mounted disk name, if
a name is found, it will be put into the text box Remote Mounted
disk.
Start Backup command button:
This button starts the backup procedure. For this the path for sav-
ing a backup on the robot's memory device is determined and of-
fered to the user for confirmation, as can be seen from the follow-
ing graphic:

Fig. 7-26: Confirmation of backup directory


The name of the directory can still be changed at this point. The
restrictions for the active robot controller must be observed, how-
ever (e.g. S4/S4C: 8 characters). If this restriction is not observed,
S4Online will switch back to the proposed name.
By clicking the Cancel button the backup procedure can still be
aborted. Clicking the OK button starts the backup procedure.
If the program finds that the given directory is already present, it
asks to delete the directory. If this is answered with no, one is

7-36
Users Guide S4Online Chapter 7: Program Description

asked whether the directory shall be overwritten. When this is an-


swered with No, the backup is canceled.
When the backup is started, the output signal given from the
Interlink Settings is set to high, if this function is ordered (see
Interlink Manual). The signal is reset after the backup and copy-
ing is finished.
During the backup procedure the progress of the backup is indi-
cated in the status display in the lower part of the window. Fur-
thermore in the right area a text "Handling robot X" flashes, in the
left area the currently executed action (copying, saving, etc.) is
displayed, and in the description field the file which is affected by
the displayed action is shown. The following graphic is an exam-
ple:

Fig. 7-27: Display of progress of backup procedure

Command button Edit Backup:


This button starts the selected text editor and loads the files of the
backup, which are located in the Progmod and Sysmod directory
of the backup, into the editor.
Check box Cyclic, every:
If this check box is active, the button for entering the cycle data is
enabled.
If the check box Date, at is active, activating the check box Cy-
clic, every will deactivate it.
...Command button:
This button opens the following dialog for entering the data for
the cyclic backup.

7 -37
Chapter 7: Program Description Users Guide S4Online

Fig. 7-28: Entering cycle data

You can choose between a cyclic backup which backs up every X


hours, and a backup which backs up once a day.
For the version every X hours the time period can be entered in
hours and minutes.
For both versions the start time for the first backup can be set.
By clicking the OK button, the data is transferred to the backup
window and the button Start Cycle is enabled.
Start Cycle command button:
Clicking this button starts an internal timer mechanism, which
logs the entered cycle data and starts the backup at point X. The
backup is executed with the settings which are active at the time
of the start. That means if at the time of clicking the command
button the check box All Robots is inactive, but is set at point X
when the backup starts, a backup of all robots will be carried out.
When the button is clicked, the label changes to Stop Cycle. If the
button is clicked again now, the internal timer mechanism is
stopped.
While the backup is executed according to the cycle data, no mes-
sages or prompts are displayed.

All prompts in the program (e.g. the prompt if an already existing


backup should be replaced) are treated as if they had been shown
and categorically answered with Yes.

All messages and prompts are protocoled in a BackupLog file.

7-38
Users Guide S4Online Chapter 7: Program Description

Check box Date, at:


By activating this check box the … button next to it is enabled.
This is used to enter a date for the scheduled backup.
If the check box Cyclic, every is active, it is deactivated by acti-
vating the check box Date, at.
... command button:
This button opens the following dialog for entering the data for
the scheduled backup.

Fig. 7-29: Entering a backup date

By clicking the single components a date can be set, which is


transferred to the backup window by clicking the OK button. Be-
fore the transfer you are prompted for the time when the backup is
to be started.
With the transfer the Start Date button is enabled.
Start Date button:
Clicking this button starts an internal timer mechanism, which
logs the entered date data and starts the backup at point X. The
backup is executed with the settings which are active at the time
of the start. That means if at the time of clicking the command
button the check box All Robots is inactive, but is set at point X
when the backup starts, a backup of all robots will be executed.

7 -39
Chapter 7: Program Description Users Guide S4Online

When the button is clicked, the label changes to Stop Date. If the
button is clicked again now, the internal timer mechanism is
stopped.
While the backup is created according to the cycle data, no mes-
sages or prompts are displayed.

All prompts in the program (e.g. the prompt if an already existing


backup should be replaced) are treated as if they had been shown
and categorically answered with Yes.

All messages and prompts are protocoled in a BackupLog file.


Check box Supervision backup request:
Activating this check box starts an internal timer, which super-
vises the variable ww_StartBck in the robots controller.
If the variable changes from False to True a backup of the robot is
triggered. Only the actual robot is activated, the check box All
Robots is not used.
All other settings are used as they are (with logs, copy to PC ...).
The backup is handled like a dated backup, which means there are
no messages and questions from the program.

All prompts in the program (e.g. the prompt if an already existing


backup should be replaced) are treated as if they had been shown
and categorically answered with Yes.

For having a successful execution of the backup, all the backup


controlling variables have to have the correct values. These are
ww_BackupOK, ww_StopProgram and ww_Autorestart, which
means if ww_BackupOk is False, no backup is done.
At the end of the backup a message is written to the Backup Log-
file.
Command button Edit BackupLog:
Clicking this button starts the selected editor with the Backup Log
file that was written during the cyclical or scheduled backup. This
file contains information about the progress of the backup.

7-40
Users Guide S4Online Chapter 7: Program Description

Text field Restore Directory:


This description field is used to enter a directory which must con-
tain a backup, in order to be able execute a restore of this backup
on the currently selected robot.
Command button Select Backup:
This button opens the following dialog to select a directory with a
backup:

Fig. 7-30: Selecting a backup directory for restore

If a directory is selected that contains no backup, a corresponding


message is shown.
By clicking the OK button, the selected directory is transferred
into the description field Restore Folder.
Command button Start Restore :
Clicking this button starts the restore process after some prompts.
If one of the prompts is answered negative, the process is can-
celed. Also the given directory is checked to contain a valid
backup by checking the existence of a backinfo.txt file. If the file
is not found a message comes up and the restore is canceled.

7 -41
Chapter 7: Program Description Users Guide S4Online

If all the prompts were answered positive, first the backup files
are copied to the memory device of the robot and then loaded into
the controller from there. Afterwards the robot is automatically
restarted.
Label Message:
During a backup this indicates the action which is currently being
executed, e.g. "copying" or "saving".
Label Robot:
Indicates with which robot a backup or restore is currently being
executed.
Text field Info:
Indicates with which file of the backup the action shown in the
messages label is being executed.

7-42
Users Guide S4Online Chapter 7: Program Description

THE PARAMETER WINDOW


This window is used for saving parameters of the currently selected
robot. The window looks like this:

Fig. 7-31: The parameter window

This window consists of several check boxes, several command but-


tons, as well as a description field and two text labels. The command
buttons P-Start, I-Start and C-Start (see description of the buttons) as
well as the text labels and the description field in the lower window
area are not visible when the window is opened. They will become
visible when certain actions like saving parameters or other things like
clicking a command button happen.

7 -43
Chapter 7: Program Description Users Guide S4Online

A description of the specific components of the window follows:


Check box I/O-parameters:
If this check box is selected, the I/O-parameters are observed by
the program when the buttons Save Parameters, Load Parame-
ters, and Edit Selected are clicked, i.e. they are saved, loaded or
loaded into the editor, respectively.
Check box MMC-parameters:
If this check box is active, the MMC-parameters are observed by
the program when the buttons Save Parameters, Load Parameters,
and Edit Selected are clicked, i.e. they are saved, loaded or loaded
into the editor, respectively.
Check box MOC-parameters:
If this check box is active, the MOC-parameters are observed by
the program when the buttons Save Parameters, Load Parameters,
and Edit Selected are clicked, i.e. they are saved, loaded or loaded
into the editor, respectively.
Check box PROC parameters:
If this check box is active, the PROC-parameters are observed by
the program when the buttons Save Parameters, Load Parameters,
and Edit Selected are clicked, i.e. they are saved, loaded or loaded
into the editor, respectively.
Check box SIO parameters:
If this check box is active, the SIO-parameters are observed by
the program when the buttons Save Parameters, Load Parameters,
and Edit Selected are clicked, i.e. they are saved, loaded or loaded
into the editor, respectively.
Check box SYS-Parameters:
If this check box is active, the SYS-parameters are observed by
the program when the buttons Save Parameters, Load Parameters,
and Edit Selected are clicked, i.e. they are saved, loaded or loaded
into the editor, respectively.
Command button Select All:
Clicking this button activates, i.e. selects, all check boxes, the fol-
lowing actions then refer to all parameter types.

7-44
Users Guide S4Online Chapter 7: Program Description

Command button Unselect All:


Clicking this button deactivates, i.e. unselects, all check boxes.
Command button Save Parameters:
The selected parameter types are saved in a temporary directory
in the selected robot controller and copied from there to the PC in
the subdirectory SYSPAR of the selected robot. If there are al-
ready parameters in the directory, a safety prompt is shown:

Fig. 7-32: Prompt for overwriting parameters

If answered with YES, the parameters will be overwritten. Then


the temporary directory in the robot controller is selected again.
The program informs the user whether the parameters have been
saved:

Fig. 7-33: Message parameters saved

7 -45
Chapter 7: Program Description Users Guide S4Online

Command button Load Parameters:


If no parameters are found for the selected parameter type and se-
lected robot, the following message appears:

Fig. 7-34: Message parameters not found

If a file with saved system parameters exists for the selected ro-
bot, they will be copied into a temporary directory in the robot
controller and loaded into to controller from there. If the follow-
ing prompt whether the robot should be restarted to activate the
parameters is answered with Yes, the program S4Online instructs
the robot to execute a restart.
If the robot is in the wrong operating mode for the loading of pa-
rameters, a message will be shown as well and the process is can-
celed:

Fig. 7-35: Message wrong operating mode

Command button Edit Selected :


The selected parameter files are loaded into the selected editor for
editing.
Label Messages:
Indicates the action which is currently being processed, e.g.
"Copying" or "Saving". The label will become visible when a
save or load parameter action is started and afterwards he will be-
come invisible again.

7-46
Users Guide S4Online Chapter 7: Program Description

Label Robot:
Indicates which robot the program is currently working with. The
label will become visible when a save or load parameter action is
started and afterwards he will become invisible again.
Text field Info:
Indicates which file the action shown in the Messages label is
executed with. The field will become visible when a save or load
parameter action is started and afterwards he will become invisi-
ble again.
Command button Restart:
After a safety prompt a restart is executed with the selected robot.
Command button P-I-C-Restart:
Switches the command buttons P-Start, I-Start and C-Start visible
respectively invisible. If the buttons are visible, they will become
invisible again after they have been clicked.
Command button P-Start:
After a safety prompt a P-Start is executed with the selected ro-
bot. Afterwards the buttons P-Start, I-Start and C-Start will be-
come invisible again.
The P-Start executes a restart with a reinitialisation of the booted
process software and a restart of possible existing background
tasks in the controller.
Command button I-Start:
After a safety prompt an I-Start is executed with the selected ro-
bot. Afterwards the buttons P-Start, I-Start and C-Start will be-
come invisible again.
The I-Start executes a restart and then asks for the software option
to be installed to the baseware of the robot, the necessary boot
software has to be available.

7 -47
Chapter 7: Program Description Users Guide S4Online

Command button C-Start:


After a safety prompt a cold start is executed with the selected ro-
bot. Afterwards the buttons P-Start, I-Start and C-Start will be-
come invisible again.
The C-Start executes a restart with a reinstallation of the complete
operating system for the robot, the needed boot software has to be
available.

If the robot is currently executing a program and the prompt


whether the restart, the C-Start, the P-start, or the I-start is to be
executed is answered with Yes, the program will be stopped and
the selected restart will be executed. The program will not be re-
started afterwards.

7-48
Users Guide S4Online Chapter 7: Program Description

7 -49
Chapter 7: Program Description Users Guide S4Online

THE LOG WINDOW


This window is used for saving the error logs of the currently selected
robot. The window looks like this:

Fig. 7-36: The loglist window

This window consists of several check boxes, several command but-


tons, as well as a description field and a text label.
A description of the specific components of the window follows:
Check box General .. WebWare Errors:
If the respective check box is active, the respective log General
Messages… WebWare Error is observed by the program when the
buttons ReadLogs, ReadContinously, or Edit Selected Logs are
clicked, i.e. they are saved, protocoled, or loaded into the editor,
respectively.

7-50
Users Guide S4Online Chapter 7: Program Description

Check box Delete Logs in Robot Controller:


When this check box is activated, the respective read log is reset,
i.e. deleted, in the robot controller after saving the program during
the process read logs. This is valid only for the selected logs.
Command button Select all Logs :
Clicking this button activates, i.e. selects, all check boxes, the fol-
lowing actions will then refer to all log lists.
Command button Delete Logs:
Clicking this button deletes all selected logs in the robot control-
ler without saving them first.
Command button Unselect all:
Clicking this button deactivates, i.e. unselects, all check boxes.
Command button Read Logs:
The selected logs are saved to a temporary directory in the se-
lected robot controller and then copied to the PC in the subdirec-
tory LOGS of the selected robot. The file name indicates not only
the log type but also the date and time of saving. Afterwards the
temporary directory on the robot controller is deleted again. The
program informs the user whether the logs have been saved.

Fig. 7-37: Message logs saved

Command button Edit selected logs:


The selected log lists are loaded into the selected editor for edit-
ing.
Command button Create Protocol:
The selected log types are enabled for logging, i.e. a protocol file
is created which protocols a date and time stamp for all messages
of the activated log types. This file has the following format:

7 -51
Chapter 7: Program Description Users Guide S4Online

Datum Uhrzeit FehlerNr Text


24.03.2005 13:11:33 10010 Meldung:MOTOREN AUS Zustand Zeit:0324 13:11.37
24.03.2005 13:11:48 20072 Meldung:Unzulässige Anweisung Zeit:0324 13:11.57
Ursache:In MOTOREN AUS unzulässig.
24.03.2005 13:12:03 10011 Meldung:MOTOREN EIN Zustand Zeit:0324 13:12.12
The different columns are delimited by tabs, therefore the file can
be exported and evaluated to Excel, for example.
While the logging is active, in the lower window area a list box
with the last ten captured messages is shown, which can be
scrolled to review them:

Fig. 7-38: List of logged messages

The list will be hidden, when logging is stopped, if logging is


started again, the list will become visible again.
The logging of messages will be stopped, if a different robot is se-
lected or the program is terminated.
Edit Protocol Log:
Shows the protocol file of the protocoled logs in the editor.
Label Message:
Indicates the action that is currently being executed, e.g. "Copy-
ing" or "Saving".
Text field Info:
Indicates with which file the action shown in the message label is
being executed.

7-52
Users Guide S4Online Chapter 7: Program Description

7 -53
Chapter 7: Program Description Users Guide S4Online

THE TOOLS WINDOW


This window provides several additional functions. These offer possi-
bilities for comparison of backups/files as well as the possibility to
create variable lists from a backup/file.

Fig. 7-39: The tools window

This window consists of several description fields, two selection but-


tons, as well as three command buttons and several text labels.
A description of the components of the window follows:
Text fields Compare Backups:
These description fields are used to enter directories, each of
which must contain a backup in order to be able to compare them
afterwards. The comparison is started by clicking the button
Compare Backups. If one of the two description fields is empty,
the program uses a dialog to prompt for the directories. The com-
parison only works if a compare program was specified on the
settings page.

7-54
Users Guide S4Online Chapter 7: Program Description

Button Compare Backups:


Starts the process of comparing two backups. These are read from
the description fields to the left of the button. If one of the boxes
is empty, a selection dialog prompts for the directory. The com-
parison only works if a compare program was specified on the
settings page.
Text fields Compare Files:
These description fields are used to enter files that are to be com-
pared. The comparison is started by clicking the button Compare
Files. If one of the description fields is empty, the program uses a
dialog to prompt for the respective file. The comparison only
works if a compare program was specified on the settings page.
Button Compare Files:
Starts the process of comparing two files. These are read from the
description fields to the left of the button. If one of the boxes is
empty, the missing file is prompted for in a selection dialog. The
comparison only works if a compare program was specified on
the settings page.
Text field/radio button Backup for Variable List:
Clicking this radio button provides the possibility to enter a
backup directory in the description field, which is to be searched
for variable definitions for the variable lists on the variable page.
The search process starts when the button Create Variable List is
clicked. If no backup is entered, the program will prompt for it.
Text field/radio button File for Variable List:
Clicking this radio button provides the possibility to enter a file
which is to be searched for variable definitions for the variable
list on the variable page. The search process is started by clicking
the button Create Variable List. If no file is entered, the program
will prompt for it.
Command button Create Variable List:
By clicking this button a variable list for the variable page is cre-
ated. For this either a backup or a file is searched for the relevant
declarations, depending on which radio button left of the button
with the respective description field is active. If no backup or no
file, respectively, is entered, the program will prompt for it.

7 -55
Chapter 7: Program Description Users Guide S4Online

7-56

You might also like