Programmable Safety Systems PSS-Range PSS WIN-PRO Service Version: Getting Started Item No. 21 015-04
All rights to this documentation are reserved by Pilz GmbH & Co. KG. Copies may be made for internal purposes. Suggestions and comments for improving this documentation will be gratefully received. The names of products, goods and technologies used in this documentation are registered trademarks of the respective companies. Automation Workbench, Pilz, PIT, PMI, PNOZ, Primo, PSS, SafetyBUS p are registered trademarks of Pilz GmbH & Co. KG.
Contents Introduction 1-1 Validity of documentation 1-1 Overview of documentation 1-1 Definition of symbols 1-2 Overview 2-1 Safety 3-1 Intended use 3-1 Safety guidelines 3-1 Use of qualified personnel 3-1 Warranty and liability 3-1 Application guidelines 3-2 Installation 4-1 System requirements 4-1 Installing 4-1 Licensing 4-3 Start service version 4-4 Uninstalling 4-4 1
Contents Functions 5-1 Connect computer to PSS 5-3 Create backup copy 5-4 Download program to PSS 5-5 Download FS program 5-5 Download ST program 5-6 Dynamic program display 5-7 Display variables 5-11 Display PSS error stack 5-13 Display error stack of a unit on SafetyBUS p 5-14 Appendix 6-1 Changes in the documentation 6-1 2
Introduction The Getting Started manual describes the installation of the software and the key functions that can be performed using the service version of PSS WIN-PRO. The Getting Started manual is intended to make it easier to get started with the service version. Further information on how to use PSS WIN-PRO can be found in the online help. This documentation is intended for instruction and should be retained for future reference. Validity of documentation This documentation is valid for the service version of PSS WIN-PRO from Version 1.4.0. It is valid until new documentation is published. Overview of documentation 1 Introduction This is the chapter you are reading at the moment. 2 Overview Describes the most important features of the service version of PSS WIN-PRO. 3 Safety This chapter must be read as it contains important information on safety regulations and intended use. 4 Installation Provides information on the hardware and software requirements and describes how to install the software. 5 Functions Describes the key functions that can be performed using the service version. 1-1
Introduction Definition of symbols Information in this manual that is of particular importance can be identified as follows: DANGER! This warning must be heeded! It warns of a hazardous situation that poses an immediate threat of serious injury and death and indicates preventive measures that can be taken. WARNING! This warning must be heeded! It warns of a hazardous situation that could lead to serious injury and death and indicates preventive measures that can be taken. CAUTION! This refers to a hazard that can lead to a less serious or minor injury plus material damage, and also provides information on preventive measures that can be taken. NOTICE This describes a situation in which the unit(s) could be damaged and also provides information on preventive measures that can be taken. INFORMATION This gives advice on applications and provides information on special features, as well as highlighting areas within the text that are of particular importance. 1-2
Overview The service version of PSS WIN-PRO is an extract of the PSS WIN-PRO system software. It contains all the functions of PSS WIN-PRO, except for the functions used to create and change a project. The most important functions are: Create backup copy Create backup copies of the program on the programmable safety system Download program to PSS Dynamic program display Display the contents of indirect addresses, operands, RLO and accumulator while a block is being processed in the PSS Display variables Display the contents of any operands from one or more blocks, while the program is being processed in the PSS Display PSS error stack Display error stack of a unit on SafetyBUS p These functions are described in the chapter entitled Functions. INFORMATION Additional functions are described in the online help. When reading the online help, please note that the descriptions of the functions for creating and changing a project do not apply to the service version. 2-1
Overview Notes 2-2
Safety Intended use The service version of PSS WIN-PRO is the service tool for the PSSrange/SafetyBUS p. It is designed for diagnosing errors that are detected and displayed by PSS-range programmable safety systems. It can also be used to download programs to programmable safety systems and to create backup copies of programs. Safety guidelines The safety guidelines are an important part of this manual, the online help and the PSS WIN-PRO software. Failure to observe the following safety guidelines will render all warranty and liability claims invalid. All health and safety / accident prevention regulations for the particular area of application must also be observed. In particular, VDE and all local regulations regarding safety measures should also be taken into account. Use of qualified personnel It is the company s responsibility only to employ personnel who: Are familiar with the basic regulations concerning health and safety/ accident prevention Have read and understood the safety guidelines given in this manual. Programming and commissioning must only be carried out by competent, qualified personnel. Warranty and liability All claims to warranty and liability will be rendered invalid if: Damage can be attributed to not having followed the guidelines in the manual and online help Operating personnel are not suitably qualified. 3-1
Safety Application guidelines The instructions given in the PSS-range Safety Manual must be followed. 3-2
Installation System requirements To install the PSS WIN-PRO system software you will need the system features listed below: Operating system: Windows 2000/XP Processor: min. 1 GHz RAM: min. 256 MB Hard drive: ca. 500 MB of available disk space Graphics card: min. resolution 800 x 600 pixels, 65536 colours (set small fonts) Serial port for downloading data to the programmable safety system. If the programmable safety system has an ETH-2 interface, data can also be transferred via Ethernet. To call up online help: Browser, compatible with HTML 3.2. Recommended: Internet Explorer from Version 5.0, Netscape Navigator from Version 5.0. Installing Install PSS WIN-PRO and enter the licence for the service version (see also the section entitled Licensing ). If you have a licence for the full version, this will automatically contain the licence for the service version. NOTICE If there is already an older version of PSS WIN-PRO on your computer, you will need to uninstall this version before installing the new version (see section entitled Uninstalling ). The PSS WIN-PRO software must be installed on a hard drive: 1. Switch on your computer and start up the operating system. 2. Insert the CD-ROM into your CD-ROM drive. 3. If the CD does not start automatically, select Run from the Windows Start menu. Enter x:\setup.exe, replacing x with the designation of the CD-ROM drive. Click OK. The installation will start. 4. Follow the on-screen instructions to complete the installation. 4-1
Installation The installation program creates the following structure in a directory of your choice:... Installation directory bin PSS WIN-PRO internal files Fonts Help Jre Projects Edit_dll PmiMicro Sys_sb Samples PSS Files with additional information for Pilz SafetyBUS p devices Files for expanded diagnostics Device description files (DDF) for SafetyBUS p devices PSS WIN-PRO internal files Online help in various languages PSS WIN-PRO internal files Projects directory Directory with sample projects in various languages SafetyBUS p Pssblocks Setup FS ST UninstallerData Directory for PSS standard function blocks FS standard function blocks ST standard function blocks PSS WIN-PRO internal files Uninstall program Any system files required that are not available on your system will be installed in the appropriate directories. 4-2
INFORMATION To ensure that PSS WIN-PRO functions correctly, the PSS WIN-PRO directories and the files they contain must not be modified manually (e.g. using Windows Explorer or a text editor). Licensing The demo version of PSS WIN-PRO is available after installation. To obtain the service version you will first need to licence the software. For this you will need a licence for the service version or a licence for the full version. 1. Start the software From the Windows Start menu select Programs -> Pilz -> PSS WIN-PRO -> PRO WIN-PRO Demo Version. 2. Start Licence Manager Select Help -> Licence Manager and then Add New Licence. 3. Enter licence data Enter the licence data provided by Pilz. You will find the licence data on the software product certificate. 4. Enter user data Enter the user data. The User Name and Address (Line 1) fields must be completed as a minimum. 5. Check the licence information Check the displayed licence information. If any of the details are incorrect, go back to the relevant window and make the necessary changes. 6. Accept the licence conditions Read the licence conditions. The licence will only be valid if you agree to the licence conditions. 7. Start licensing Click on Finish. The service version is now available. 4-3
Installation Start service version From the Windows Start menu select Programs -> Pilz -> PSS WIN-PRO -> PSS WIN-PRO Service Version. PSS WIN-PRO is opened in ST Mode. PSS WIN-PRO distinguishes between ST and FS Mode: FS Mode Displays the project section for the safety-related section (FS section) of the programmable safety system ST Mode Displays the project section for the non-safety-related section (ST section) of the programmable safety system Uninstalling From the Windows Start menu select Programs -> Pilz -> PSS WIN-PRO -> Uninstall PSS WIN-PRO and follow the on-screen instructions to complete the uninstall operation. 4-4
Functions This chapter describes some of the key functions of the service version. Additional functions are described in the online help. When reading the online help, please note that the descriptions of the functions for creating and changing a project do not apply to the service version. First of all a brief description of the user interface on PSS WIN-PRO. The individual elements of the user interface can be seen in Fig. 5-1. Fig. 5-1: User interface of the service version 5-1
Functions Project window The project window has two tabs: - Project Manager All the project components are shown here. - Program Structure Shows the sequence in which blocks are called. Information window The information window has various tabs, some of which are only visible when necessary. - Messages This tab is used to display PSS WIN-PRO error messages and notes that arise during operation. - Linker This tab shows the protocol when linking a program. - Error stack Displays the PSS error stack (only in online mode). - Download Shows the communication protocol when downloading a program to the PSS. - Upload Shows the communication protocol when uploading a program from the PSS to the computer. - Allocations When a block of type FB, OB, PB or SB is open, this tab shows the allocations of the operands used in the active segment/network. If none of the operands in the segment/network have a tag defined in the allocation table, the Allocations tab will remain empty. Workspace Editors for processing the blocks, allocation table, etc. are opened in the workspace. 5-2
Ethernet Connect computer to PSS Most functions require a connection between the computer and the PSS. PSS ETH-2 COM RS 232 RS 485 PAP RS 485 RS 232 RS 232 Ethernet Fig. 5-2: Connect computer to PSS The PG interface on the PSS may be an RS 232 and/or an RS 485 interface (see the operating manual for the relevant safety system). If the PG interface on the PSS is different to the interface on the computer, you will need to connect via an interface adapter. If the programmable safety system has an ETH-2 interface, data can also be transferred via Ethernet. Once you have established a physical connection between the PSS and the computer you will need to set the correct interface in PSS WIN-PRO: Check that the correct interface is set on the PG Interface tab under Tools -> Options. In the Online Timeout field you can state the length of time for which PSS WIN-PRO should attempt to establish a connection with the PSS, when switching to online mode. If the connection cannot be made after the preset time, an error message will be displayed. 5-3
Functions Create backup copy The linked program from the programmable safety system can be uploaded and stored. This backup copy cannot be edited. However, it can be downloaded again to a PSS. The backup copy of the FS program is created in FS mode and the backup copy of the ST program in ST mode. 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Set the Mode Switch to FS mode if you wish to create a backup copy of the FS program or ST mode if you wish to make a backup copy of the ST program. 3. Start upload Select PSS -> Create Backup Copy. The process is documented in the information window under the Upload tab. If the information window is not displayed, select View -> Information Window. 4. Enter storage location Enter the path and name under which the backup copy is to be stored. 5-4
Download program to PSS The following section describes how to download a program to the PSS. Please note: The linked FS program is downloaded in FS mode and the linked ST program in ST mode. Download FS program 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Switch to FS mode 3. Stop FS section Set the FS selector switch on the PSS to STOP or stop the FS section via PSS WIN-PRO (see Start/Stop PSS in online help). 4. Start download Select PSS -> Download Backup Copy -> PSS 5. Enter password Enter the password that entitles you to download. INFORMATION The default password is pss3000 (lower case). The information window on the Download tab documents the process. If the information window is not displayed, select View -> Information Window. 6. Start FS section Set the FS selector switch on the PSS to RUN or start the FS section via PSS WIN-PRO (see Start/Stop PSS in online help). 5-5
Functions Download ST program 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Switch to ST mode 3. Set ST selector switch The ST selector switch must be set to AUTO PG or PG to enable PSS WIN-PRO to write to the PSS. Set the ST selector switch on the PSS to AUTO PG or PG. 4. Start download Select PSS -> Download Backup Copy -> PSS The process is documented in the information window under the Download tab. If the information window is not displayed, select View -> Information Window. 5. Start ST section Set the ST selector switch on the PSS to SPS or start the ST section via PSS WIN-PRO (see Start/Stop PSS in online help). 5-6
Dynamic program display Alongside the display of variables, dynamic program display is another useful aid when searching for programming errors. When a block is shown in dynamic program display, the contents of the indirect addresses, operands, RLO, accumulator and auxiliary accumulator can be viewed. Dynamic program display can be run across one or more segments: Dynamic program display across one segment Dynamic program display starts in the segment containing the cursor and finishes at the start of the following segment; if there is no segment to follow, it finishes at the end of the block. Dynamic program display across several segments (only on PSS with an FS operating system version 39) Dynamic program display applies to the whole of the block area that is visible in the block editor Fig. 5-3: Dynamic program display 5-7
Functions 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Open project or PSS program You can view the PSS program and then start dynamic program display for a block, or you can open the project that contains the identical program to that of the PSS and start dynamic program display for a block. The benefit of the latter is that you can display the tags and comments from the allocation table. Open a project (Project -> Open) or select PSS -> Open PSS Program. 3. Set the mode Switch to FS mode if you wish to run dynamic program display on an FS block or ST mode if you wish to run dynamic program display on an ST block. 4. Select block You can display the Program Manager tab in the project window and from there select the block whose contents you wish to view, or you can display the Program Structure tab and select the block there. If all the blocks in the program are called just once, you can use either method. If a block is called several times within the program, you can only select the block calls you wish to display via the program structure. In the Project Manager or in the Program Structure, double-click on the block whose contents you wish to view. 5. Start dynamic program display Select PSS -> Dynamic Program Display -> Start dynamic program display across one segment or PSS -> Dynamic Program Display -> Start dynamic program display across several segments. The block is opened and dynamic program display is run. 5-8
If the block is programmed in IL, a table will be inserted within the program code, displaying the contents of the operands, etc. If the block is programmed in LD or FBD, the table will be displayed in a separate window. If the window is not displayed, select PSS -> Dynamic Program Display -> Details Dynamic Program Display. The display is constantly updated. The block for which the program display is being run is highlighted in the program structure through the symbol. An icon on the block s status bar shows which type of dynamic program display is being run on a block: Dynamic program display across one segment Dynamic program display across several segments 6. Define displayed segment (only when Start dynamic program display across one segment has been selected in step 5) With program display across one segment, you can define the segment for which the program display is to be run by changing the cursor position. Click in the segment for which the program display is to be run. 7. Change display format The values can be displayed in binary, decimal or hexadecimal. Select PSS -> Dynamic Program Display -> Display... 8. Define loop (only when Start dynamic program display across one segment has been selected in step 5) If loops are programmed within the block, it is possible to define the loop cycle on which the display should occur. The set loop is displayed in the status bar of the block window. Select PSS -> Dynamic Program Display -> Select Loop. 5-9
Functions 9. Activate program display for additional blocks It is not possible to run the program display for several blocks simultaneously, but you can start dynamic program display for several blocks and then activate the window of the block for which the program display is to be run. A block that is called up at several points within the program can only be opened once, but you can define which of the block calls is displayed via the program structure. Carry out steps 4 and 5 for any additional blocks and then activate the window containing the block for which program display is to be run. 10. Stop dynamic program display The program display must be stopped separately for each block. Only if you have opened the PSS program can you stop the program display for all blocks in one go by closing the program. Select PSS -> Dynamic Program Display -> Stop Dynamic Program Display or close the block. 5-10
Display variables Alongside dynamic program display, variable display is another useful aid when searching for programming errors. With variable display, the values of any operands from one or more blocks are displayed. Absolute addresses from the programmable safety system can also be displayed. The operands to be displayed must be entered in a variable table. There may be several variable tables within a project s FS and ST project section. The PSS has one variable table for the FS section and one for the ST section. Fig. 5-4: Variable display 5-11
Functions 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Open project or PSS program You can view the PSS program and then start to display variables, or you can open the project that contains the identical program to that of the PSS and then start the function. The benefit of the latter is that you can switch between several variable tables (see step 8, Switch variable table ). Open a project (Project -> Open) or select PSS -> Open PSS Program. 3. Set the mode Switch to FS mode or ST mode, depending on which variables you wish to display. 4. Open variable table In the Project Manager, double-click on the variable table that you wish to use to display and control/force. 5. Edit variable table Enter in the variable table all the operands/addresses that you wish to display. 6. Start variable display Select PSS -> Variable Table -> Start Variable Display. The actual values of the operands in the variable table are displayed. The display is updated at each cycle change. 7. Edit variable table As soon as you make a change to a variable table, the display for that variable table will be stopped. Make the changes and then restart variable display. 8. Stop variable display If you wish to freeze variable display at a particular point or if you wish to stop the variable display, select PSS -> Variable Table -> Stop Variable Display or close the variable table. 5-12
Please note the following when displaying variables: You can enter a maximum of 32 operands/addresses in the variable table. Before you enter data words in the variable table, you must always state the corresponding data block, e.g. DB053 in the Operand column. Display PSS error stack The error stack of each PSS can be displayed. Fig. 5-5: Error stack 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Display error stack Select PSS -> Display Error Stack. The PSS error messages are shown in the information window under the Error Stack tab. The display is constantly updated. Displaying the error stack places quite a load on PSS WIN-PRO. For this reason it makes sense to exit the error stack display when you are finished. 3. Display remedy To display the remedy for a particular error, double-click on the relevant error entry. The remedy describes how to react to the event/error. The remedy contains a maximum of 8 steps, the so-called Actions. These actions should be performed in the order stated. If the first action does not rectify the error, carry out the next action, etc. If any action does not apply to your application, simply miss it out. 5-13
Functions Display error stack of a unit on SafetyBUS p The error stack of every device on SafetyBUS p can be displayed. 1. Connect computer Connect your computer to the PSS (see also Connect computer to PSS ). 2. Start the SBp Configurator From the Windows Start menu select Programs -> Pilz -> PSS WIN-PRO -> SafetyBUS p Configurator Service Version or click on in the PSS WIN-PRO toolbar. 3. Go Online Select Online -> Display SBp configuration of PSS. 4. Insert information window If the information window is not displayed, select View -> Information window. 5. Select the error stack tab 6. Display error stack Click on the unit whose error stack is to be displayed. The error messages for the highlighted unit will be displayed. If the unit is the MD, you will also receive general error messages for SafetyBUS p. 7. Display remedy Double-click on the error message to display an explanation of the error. 8. Refresh error stack Select Online -> Refresh error stack to have the error stack refreshed. 5-14
Appendix Changes in the documentation Changes in Version 21015-02 Old page 4-1 5-5 5-7 5-10 5-13 New page 4-1 5-5 5-7 5-10 5-13 Change System requirements Download program to PSS Dynamic program display across one or more segments Variable display Display PSS error stack Changes in Version 21015-03 Old page 4-1 5-3 5-14 New page 4-1 5-3 5-14 Change System requirements Connecting the computer to the PSS Going online in the SafetyBUS p Configurator Changes in Version 21015-04 Old page 4-2 5-4 5-7 5-10 5-13 New page 4-2 5-4 5-7 5-11 5-13 Change Directory structure Creating a backup copy Running dynamic program display Running variable display Displaying the error stack 6-1
Appendix Notes 6-2
Hotline +49 711 3409-444... www In many countries we are represented by sales partners. www.pilz.com Please refer to our Homepage for further details or contact our headquarters. Pilz GmbH & Co. KG Sichere Automation Felix-Wankel-Straße 2 73760 Ostfildern, Germany Telephone: +49 711 3409-0 Telefax: +49 711 3409-133 E-Mail: pilz.gmbh@pilz.de 21 015-04, 2006-01 Printed in Germany