ServiceLab ServiceLab ServiceLab
Transcription
ServiceLab ServiceLab ServiceLab
ServiceLab Software for SIMATIC Demoversion recording, visualizing and evaluating your system and plant data • • • • • • Process coupled Long term measurement Process attendant Online monitoring Trouble shooting Remote Plant monitoring with TELESERVICE Please visit our homepage: http://ww w .servicelab.info ServiceLab Software for SIMATIC The contents of this booklet refer to ServiceLab versions 5.6 and 7.0; the operation of version 3.5 (SIMATIC S5-Functionality) differs only slightly from that described here. Registered trade mark: Windows NT/2000/XP and Windows 98 are registered trademarks by Microsoft Corp. SIMATIC is a registered trademark by Siemens AG © Copyright 2004, ServiceLab Ltd. All rights reserved. If you have any questions about ServiceLab please contact us at: ServiceLab Ltd. Marlene-Dietrich-Strasse 5 89231 Neu-Ulm Germany E-Mail: Telefon: Fax: [email protected] +49 731 98588 - 791 +49 731 98588 - 794 2 ServiceLab Software for SIMATIC Contents ServiceLab demo version 1. Welcome to ServiceLab! ....................................................................................................4 1.1 1.2 1.3 1.4 1.5 ServiceLab Application Range.....................................................................................4 ServiceLab Worksheet ................................................................................................5 ServiceLab Screen .....................................................................................................5 The 9 Most Important Operating Instructions ................................................................6 Function Bar ................................................................................................................8 2. Creating your First ServiceLab Worksheet ................................................................ 10 3. Typical applications.................................................................................................... 15 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 4. 4.1 4.2 4.3 Generation and Visualization of Analog Signals .......................................................... 16 Acquisition and Visualization of Analog Signals from a SIMATIC S7 ............................ 17 Visualisation of Digital Signals .................................................................................... 18 Scaling a Measured Value.......................................................................................... 19 Graphic Signals Analysis............................................................................................ 20 Recording of Experiemet in a List and into EXCEL. ..................................................... 21 Limit Value Monitoring ................................................................................................ 22 Recording Results...................................................................................................... 23 Mathematical Calculations.......................................................................................... 24 Experiment During Certain Pre-Defined Periods (Start/Stop at Time/Date) .................. 25 Event-Dependent Stopping of a Measurement............................................................ 26 Storing Data (It is not possible to store any data with the demo version) ............................................ 27 Import Data ................................................................................................................ 28 Real life Usage example: Collection of parameters for the cleaning of a dairy.............. 29 Real Life Usage example: Documentation of parameters during a test run .................. 31 Technical data ............................................................................................................. 33 System Requirements ................................................................................................ 33 Coupling values SIMATIC S7/S5/SIPART.................................................................... 34 List of Modules........................................................................................................... 35 5. Product Overview........................................................................................................... 47 5.1 5.2 5.3 5.4 ServiceLab Products ................................................................................................. 47 Siemens Accessories for ServiceLab ......................................................................... 48 National Instruments Measuring Cards Kit for ServiceLab .......................................... 49 Ordering .................................................................................................................... 50 3 ServiceLab 1. Welcome to Software for SIMATIC ServiceLab! 1.1 ServiceLab Application Range You have acquired user-friendly troubleshooting software that provides a large range of functions and options for your data acquisition tasks. With ServiceLab it is easy to perform acquisition, visualization and evaluation of process data from SIMATIC S7 (300/400), SIMATIC S5 or any analog data source. Even complex measuring tasks can be solved with ServiceLab : fast and without external programming expenditure. ServiceLab is particularly suitable for the following applications: Real-Time Visualization of process data Long-term measurement with user-friendly evaluation without paper consumption Limit value monitoring of process signals Acquisition of machine data Recognition and analysis of errors and disturbances Support with commissioning and service Use at training courses Checking the transient response of controllers With this demo version a connection between PC/PG and SIMATIC/SIPART is possible, however limited to one channel. Communication with SIMATIC S5 and SIPART is via the serial interface of the PC’s/PG’s. To access a SIMATIC S5 from a PC you need a specific cable that makes the conversion from R-S232 to TTY. You do not need additional hardware. Communication with SIMATIC S7 is via the MPI/PROFIBUS interface. To access a SIMATIC S7 from a PC/Notebook you need a PCI card (e.g. CP 5611), PCMCIA card (e.g. CP 5511) or a PC adapter (RS232/MPI). Due to the high degree of flexibility during the acquisition and evaluation of process data, ServiceLab is the ideal aid for service, start-up and plant/equipment visualization. In the next chapter you’ll find a short introduction to the ServiceLab operations. Some typical applications for ServiceLab are also shown. In just a few minutes you can perform your first own experiment setup! 4 ServiceLab Software for SIMATIC 1.2 ServiceLab Worksheet The experiment set-up and the process flow are presented in ServiceLab by a worksheet. This consists of modules, which are interlinked over data channels. Each module fulfils a certain task, and the data channels symbolize the data flow. The example shows an experiment setup, in which a process variable is read from a SIMATIC, indicated in a Recorder and a Digital Meter module, and stored on hard disc or floppy disc. Chapter 1.4.2 describes in detail how the modules are parameterised. 1.3 ServiceLab Screen Module Bar Worksheet Window Modules Function Bar Data Channels Display Window Icon 5 Display Windows (opened) ServiceLab Software for SIMATIC 1.4 The 9 Most Important Operating Instructions 1.4.1 How to Add a New Module to the Worksheet At the left-hand side of the ServiceLab screen you can see the Module Bar. It contains icons, which represent the most important modules available for an experiment set-up. There are two possibilities to select a module. You can either click with the left mouse key on the appropriate symbol in the module bar, or you select it from the Module Bar on the top left side of the ServiceLab worksheet. 1.4.2 Parameterising a Module In order to change the settings of a module, doubleclick with the left mouse key on a module and a parameterising window of the module will open. Here, various adjustments can be made to the module e.g. you can select the number of channels. Click with the left mouse key on the plus or minus bottom in order to add or remove channels. You can adjust the settings for the individual channels by selecting the appropriate channel in the bar (click with the left mouse key on the symbol). The corresponding channel settings will then change. 1.4.3 Linking Modules You can connect two modules together by a click on the output “O” of the first module. The pointer becomes a hand with a plug. Move the plug over the input “I” of the second module, followed by another click with the left mouse key. The two modules will be connected automatically. 1.4.4 Deleting a Module Double click with the right mouse key on the module, then choose “Delete Module”. 1.4.5 Deleting a Data Channel Two clicks on the data channel with the right mouse key (not a doubleclick!). 6 ServiceLab Software for SIMATIC 1.4.6 Definition of the Global Measuring Parameters Click with the left mouse key on the shown icon, in the Function Bar. Then you can adjust the global measuring parameters (e.g. the sampling rate) 1.4.7 Starting the Experiment Click with the left mouse key on the shown icon in the Function Bar. 1.4.8 Stopping the Experiment Click with the left mouse key on the shown icon in the Function Bar. 1.4.9 Help ServiceLab is designed to be user-friendly. It has a logical structure that is to a large extent self- explanatory. Nevertheless, if you wish, you can at any time request detailed information about current developments. You can call the “Text Assistant” by clicking in a dialogue box on the main menu bar under “Help”, by clicking on the “question mark” in the Function Bar or by pressing the function key F1. 7 ServiceLab Software for SIMATIC 1.5 Function Bar ServiceLab Function Bar 1.5.1 Purpose of the function bar The Function Bar below is the main menu line at the top margin of the ServiceLab window. The icons in this bar symbolize menu instructions that are needed particularly frequently by a simple Mouse click you can call these functions, without having to open the menus themselves. This procedure is more convenient than (from the identical function) calling the appropriate instructions over the Menu Bar. 1.5.2 Meaning of the Function Bar Icons The Function Bar configuration is fixed by the program. Therefore you cannot change this configuration by removing or adding any icons. The following table gives an overview of the icons and the menu commands that they represent. Icon Function Command Menu Start Experiment Pause Experiment Stop experiment Stop Experiment Clear worksheet to create a new worksheet New File Read stored worksheet and window arrangements from diskette/Hard disk Open File Save worksheet and window arrangement to diskette/hard disk Save File Time Base Experiment Experiment Set-up Experiment Hardware Set-up Experiment File info File Flow Control Windows Start experiment/ continue Pause experiment (toggle) / continue Set up different time bases Set general experiment parameters(dialogue box) Set hardware-specific parameters (dialogue box) Open file info dialog box Switch to Control Sequencer mode 8 ServiceLab Software for SIMATIC Display Windows Worksheet Windows Layout Windows Cut Edit Copy selected Worksheet part of Layout object to clipboard Copy Edit Inserts contents of clipboard into Worksheet or Layout Window Paste Edit Change to the main worksheet: Leave the Black Box, return to preceding worksheet level (or to the main chart). To enter a Black Box, double-click its module in the worksheet. Back to the main chart Edit Hide or minimize all the display windows simultaneously Make all windows invisible View Open all display windows simultaneously Make all windows visible View All windows are minimized to icons Minimize all windows View All windows are activated Normalize all windows View Help Help Switch to Display Window mode Switch to Worksheet mode Switch to VITool Layout Window mode Cut out a selected range Display Online Help options 9 ServiceLab Software for SIMATIC 2. Creating your First ServiceLab Worksheet After learning about the basic elements and functions of ServiceLab in chapter 1, you surely now will want to accomplish your first experiment. If you follow these instructions, you will create your first worksheet in few minutes! Double click with the left mouse key on the ServiceLab program icon. The main window of ServiceLab will open with the Menu Bar at the upper edge, the Function Bar appears below and the Module Bar at the left-hand side of the window. If you press the key F1, you will call the on-line assistance, that will give you advice at any time for any situation. In this case you will receive an overview of the auxiliary functions available in ServiceLab . The Module Bar, at the left of the ServiceLab window, displays a selection of frequently required modules in icon form. Look for the accompanying icon in the Module Bar. It represents a Generator module. If you click with the left mouse key on this icon, a dialog box appears. Select from here the option “Without Modulation”. Similarly, Click with the left mouse key on the icon Recorder in the Module Bar. An additional icon at the lower edge of screen appears. By these actions you have already produced two modules (Generator and Recorder). So that data can be exchanged between these two modules, they must be connected by a Data Channel. Move the mouse pointer on the Recorder module symbol (on the worksheet). There the mouse arrow is transformed into a cross. Press now the left mouse key and move the module (while still pressing mouse key) against the Generator, until the output (O) and input symbols (I) of the two modules touch. When you release the mouse key, ServiceLab connects the two modules automatically and provides for the correct arrangement of the Data Channel. (It is also possible to connect the modules without moving them: see in addition the section “Module Connection” on page 6). The Data Channel is now created! 10 ServiceLab Software for SIMATIC Before you start the experiment, you must pre-set the used modules: Click on the Function Bar, on the icon for Experiment Setup. A dialogue box appears, in which you can adjust the Global Experiment Set-up. Please choose a sampling rate of 50ms and a block size of 1. Double click on the Generator module on the worksheet. Again a dialogue box appears, in which the initial values of the Generator can be adjusted. Select a frequency of 0,5 Hz per second and a sine curve. 11 ServiceLab Software for SIMATIC In the same way you can set parameters for the Recorder. Set the maximum display time to 20 seconds and display from -5,0 to 5.0 V. The visualization module graphically displays the complete experiment set-up or measurement procedure. This happens in a separate window. After placing a module symbol on the worksheet, this window is still closed and is represented by an icon at the lower edge of screen. If a measuring procedure begins and you would like to activate visualization, you must just "open" the window.To do this there are two possible procedures. For both of these the left mouse key is used: Click on this icon on the Function Bar (it stands for the command „show all display windows“ from the view menu), or double-click on the icon Recorder at the lower edge of window screen. The Recorder window opens and you can now observe, on its screen, the display of the signal produced by the Generator module. You can now start the experiment! Click with the left mouse key on the shown icon in the Function Bar. Thereby you start the experiment procedure, and after a short time the Generator Module produces a signal. By clicking on this icon in the Function Bar with the left mouse key you can interrupt the measuring procedure. With a subsequent click you can cause it to continue. 12 ServiceLab Software for SIMATIC Click with the left mouse key on the shown icon in the Function Bar. Thereby you terminate the experiment procedure. If you cannot see the Recorder module symbol (on the worksheet) because it is covered by the window, then... Shift the window, by clicking the left mouse key on the title border of the window and moving with the mouse key pressed to the desired place, or... Close it, by clicking with the left mouse key the smaller icon (that is the arrow directed downward in the right upper corner of the window framework). Doubleclick then with the right mouse key on the Recorder symbol (on the worksheet). If you press the ok key from the following safety inquiry, the Recorder module and the connection to the Generator from the worksheet are deleted. Click with the left mouse key in the submenu “Module/ Display / Bar graph”. The module is placed on the working surface. At the lower edge of the screen you see in addition the icon for the associated window. Connect the entrance of the module symbol - as above described - with the exit of the Generator module. Open the window by one double-click with the left mouse key, on the icon at the lower edge of screen and … You restart the measurement. Here is not necessary to parameterise the Bar Graph, since the adjusted basic values fit for this example. The values of the Generator signals are visualized after a short time in the Bar Graph window. Stop the experiment with the help of the icon in the Function Bar. Click with the left mouse key on the icon of the Digital Meter module in the Module Bar. The module is placed on the worksheet beside the Bar Graph module; at the lower edge of screen you see the icon for the Digital Meter. Move the Digital Meter on the worksheet, by clicking it with the left mouse key and moving with pressed mouse key to another place, for example under the Bar Graph module symbol. In order to also attach the Digital Meter module to the Generator, it is enough "to tap" the existing connection between Generator and Bar Graph. 13 ServiceLab Software for SIMATIC Click for this with the left mouse key on any place on the data channel, which connects the Generator with the Bar Graph module. The mouse pointer now has now the form of a hand with a plug. Lead the plug into the input of the Digital Meter module (small box at the left hand side of the module symbol, named "I"), and click again there with the left mouse key. The inserted autorouting function provides for the correct and clear shifting of the new data channel. You can now - as above described - start, interrupt and continue the experiment procedure, the window of the Digital Meter by clicking on the icons at the lower edge of screen to open and the colour of its display area to change. (Modules > Display > Bar Graph) (In case ServiceLab does not react to your clicks ask yourself: ”Did I first terminate the current experiment?” Only then can changes to the experiment set-up be done.) The Demo Version contains a set of worksheet for applications, which are described in chapter 3. You can load, run and modify all these examples. In order to load stored worksheets, click with the left mouse key on the shown icon in the Function Bar. With this you can open an existing experiment set-up. 14 ServiceLab Software for SIMATIC 3. Typical applications In this chapter we show you the different possibilities as to how one can quickly and simply acquire, visualize, analyse and document the signals from SIMATIC S7 and SIMATIC. Importance has been given to including as much information as possible for solving existing experimental tasks. In the Demo Version only single-channel communication with SIMATIC and/or SIPART is possible. In addition, in the Demo Version the store functions of Experiment data and Experiment set-up are deactivated. Some modules, which are present in the Demo Version, are not contained in ServiceLab Basic Version (6ES5 886-8SL11); see for this the “List of Modules” on page 35. In most of the following examples, Process Signals are simulated by a Generator function. Many of the examples are already included in ServiceLab 7.0. You can load, modify and perform the respective measurement set-up in ServiceLab. Storing a measurement set-up is not possible in the Demo Version. 15 ServiceLab Software for SIMATIC 3.1 Generation and Visualization of Analog Signals Task: Produce a signal using a Generator and represent it on a Recorder, a Digital Meter and an Analog Meter. Structure: (see worksheet BSP31.DSB in the ServiceLab directory) Settings: Generator: Without Modulation Frequency: Amplitude: Offset: Phase shift Wave form: Digital Meter: Recorder: 0,100 Hz 5V 5V 0,000 Triangular Unit Lower limit: Upper limit: Mode: Copy Inputs to Output Volt 2,000 7,500 Last Value Time axis: Display Time Unit Start at left Max Display Time: Unit: Display from: Display to: Copy Inputs to Output Analog Meter: Unit Lower limit Upper limit Mode Result: Recorder: Digital Display: Analog Display: 16 30,000s volt 0,000 10,000 Volt 0,000 10,000 Last Value ServiceLab Software for SIMATIC 3.2 Acquisition and Visualization of Analog Signals from a SIMATIC S7 Task: Acquire data item 5 from data component 10 of a SIMATIC S5/S7 with assistance of a Recorder and visualize it on a Digital Meter and on an Analog Meter. Note: In the Demo Version only a single channel of S7-Data can be accessed, i.e. in each case only one value of a variable can be read in. Structure: Settings: Simatic S7: (See worksheet BSP32.DSB in the Data Type in PLC: Variable Type Block No.: Adress: Maximum: Minimum: Interface ServiceLab directory) Data Block Word (signed) 10 5 10 0 Corresponding your configuration Adjust the Recorder, Digital Meter and Analog Meter as in the example 3.1. Result: Recorder: Digital Display: Analog Display: 17 ServiceLab Software for SIMATIC 3.3 Visualisation of Digital Signals Task: Visualize a digital signal with a Recorder. Note: In this example the Switch module replaces the signals processed by SIMATIC. Structure: (see worksheet BSP33.DSB in the ServiceLab directory) Settings: Switch : Options: Real Time Output Switch Type: Channels: On/Off Switch 0 and 1 Recorder: Time axis: Display Time Unit Start at left Max.Display T ime 30,000 Sec Unit Volt Display from 0,000 Display to 6,000 Channels 0 and 1 (T he settings for each channel must be done) Result: Recorder: Note: Switch: ServiceLab uses TTL levels for the visualization of digital values. The logical value 0 (Low) corresponds thereby the value 0 and logical value 1 (High) is represented by the value 5. 18 ServiceLab Software for SIMATIC 3.4 Scaling a Measured Value Task: A measured value from 0,0 to 5,0V is to correspond to a temperature from 0,0 to 200,0 degrees Celsius. Note: In this example the Generator replaces the process signals of SIMATIC. Solution: (Worksheet BSP34.DSB is in the ServiceLab directory) Settings: Generator: Bar graph: Without Modulation Frequency: Amplitude: Offset: Phase Shift: Wave Form: 0,100 Hz 2,500 V 2,500 V 0,000 Triangular Lower limit: Upper limit: Unit: Type of Display: Mode: Options: 0,000 200,000 °C Bar Last value Display digital value: Scaling: Display: Result: Bar graph: 19 Digits: Decimals: With Unit Linear Interpolation using: Defining 2 Points: x1: x2: y1: y2: 6 2 0,000 5,000 0,000 200,000 ServiceLab Software for SIMATIC 3.5 Graphic Signals Analysis Task: Evaluate signals that were noted with a Recorder module by means of a Zoom and Cursor option. Procedure: Click with the left mouse key on the Zoom Shot key in the Recorder Window. The mouse pointer transforms into a magnifying glass symbol, with which you can mark the area that you want to increase. Click now with the left mouse key on the Cursor Key in the Recorder Module and the Cursor Display Window is opened. You can shift now both cursors with the mouse. In the Cursor Display Window the corresponding measured values are indicated. Result: Recorder: Recorder after Zoom Shot: Cursor Display: 20 ServiceLab Software for SIMATIC 3.6 Recording of Experiemet in a List and into EXCEL Task: Represent the experiment values of an analog signal in a list and import into EXCEL. Note: In this example the Generator replaces the process signals from SIMATIC and SIPART. Structure: (see worksheet BSP36.DSB in the ServiceLab directory) Settings: Generator: Without Modulation Frequency: Amplitude: Offset: Phase Shift: Wave Form: List: 0,100 Hz 5,000 V 5,000 V 0,000 Sine Unit: Options: Display: String Format: Volt Time of Day Normal Format Result: When you want to transfer the contents of the list into EXCEL - click with the mouse on the key "take contents into the Windows Clipboard" (see picture). Open the desired spreadsheet and insert using the menu option for inserting the list into EXCEL. The data can then be worked on further. 21 ServiceLab Software for SIMATIC 3.7 Limit Value Monitoring Task: A measured value is to be supervised. If the limit exceeds 4.75 or the measured value is negative, then the Recorder begins recording. Note: In this example the Generator replaces the process signals from SIMATIC. Solution: (see worksheet BSP37.DSB in the ServiceLab directory) Settings: Generator: Without Modulation Frequency: 0,040 Hz Amplitude: 2,500 V Offset: 2,500 V Phase Shift: 0,000 Wave Form: Sine Trigger: Start-/Stop Trigger T rigger T ype : Start Conditions: T rigger Range: From: T o: Relais: Blocked Data Remove Recorder: T ime Axis: Digital: Unit: Mode: Volt Evaluation / Last value Max. Display Time Unit: Display from Display to: Result: Recorder Digital Meter: 22 Start Trigger Amplitude Range Outside Range 0,000 4,7500 Display Time Unit Start at left 20,000 Sec Volt 0,000 5,000 ServiceLab Software for SIMATIC 3.8 Recording Results Task: In a voltage monitor, a warning is to be given when in excess of the limit value 4.9V. Note: In the example the Generator replaces the process signals from SIMATIC. Solution: (see worksheet BSP38.DSB in the ServiceLab directory) Settings: Generator: Message: Without Modulation Frequency: 0,100 Hz Amplitude: 5,000 V Offset: 5,000 V Phase Shift: 0,000 Wave Form: Triangular Output Device für message: Options: Action: Event: Threshold: Receiver: Action: Parameter: Exceed Threshold 4,900 Message00 Message Async “This is a message sample” Message Window Open Windows for a new message Display message queue Clear message queue at experiment start Result: At the start of the experiment the Generator gives 5V. At a value of 4,9V the specified message is shown in the Message Window. Message Window 23 ServiceLab Software for SIMATIC 3.9 Mathematical Calculations Task: Two temperature values should - for a further treatment - be added and than visualized on a Recorder. Note: In the example the Generator replaces the process signals from SIMATIC. Solution (see worksheet BSP39.DSB in the ServiceLab directory) Settings: Generator: Channel 0 Without Modulation Frequency: 0,100 Hz Amplitude: 2,500 V Offset: 2,500 V Phase Shift: 0,000 Wave Form: Sine Recorder: Time axis: Max. Display T ime: Unit: Display from: Display to: Copy Inputs to Output Channel 1 Frequency: Amplitude: Offset: Phase Shift: Wave Form: 0,500 Hz 5,000 V 0,000 V 0,000 Pulse Time Arithmetic: Operations with two or more Operants Start at left Operation for all input channels: Add 30,000 Sec Volt (all channels) 0,000 (all channels) 5,0 (channel 0, channel 1) respectively 10 (channel 10) Result: Recorder 24 ServiceLab 3.10 Software for SIMATIC Experiment During Certain Pre-Defined Periods (Start/Stop at Time/Date) Task: An experiment should run for a certain time period. Procedure: Select the option "Start/Stop at Time..." from the menu "Experiment". The following timing window will be displayed, in which you can specify the experiment time frame: 25 ServiceLab Software for SIMATIC 3.11 Event-Dependent Stopping of a Measurement Task: An experiment is to be terminated when reaching the limit value of 250°C Note: In the Demo Version the Generator replaces the process signals of the SIMATIC. Solution: (see worksheet BSP39.DSB in the ServiceLab directory) Settings: Generator: Stop: Without Modulation Frequency: 0,010 Hz Amplitude: 2,500 V Offset: 2,500 V Phase Shift: 0,000 Wave Form: Triangular Recorder: Action after: Action: Parameter: Scaling: >= Limit Stop 250 Time axis: Max. Display T ime: Unit: Display from: Display to: Time Start at left 30,000 Sec. °C 0,000 300,000 Linear Interpolation using: Defining 2 Points x1: 0,000 x2: 5,000 y1: 0,000 y2: 300,000 Result: Recorder: As soon as the value exceeds 250 Celsius, the experiment is immediately interrupted 26 ServiceLab Software for SIMATIC 3.12. Storing Data (It is not possible to store any data with the demo version) Task: The experiment signals are to be stored on a storage medium. Solution: Settings: Generator: Without Modulation Frequency: 0,100 Hz Amplitude: 2,500 V Offset: 2,500 V Phase Shift: 0,000 Wave Form: T riangular Result: Adjusting Recorder Box In order to indicate a file name, you click with the mouse on the switch file name. You can then give any name. Button for input of the filename 27 ServiceLab Software for SIMATIC 3.13 Import Data Task: The previously stored signals are to be read from a storage medium. Solution: Settings: Recorder: Time axis: Max. Display T ime: Unit: Display from: Display to: Time Start at left 30,000 Sec. °C 0,000 100,000 Result: Read Data In order to indicate a filename, click with the mouse on the button “FileName”. You can then give any name. Button for the input of the filename 28 ServiceLab 3.14 Software for SIMATIC Real life Usage example: Collection of parameters for the cleaning of a dairy Task: A dairy uses a SIMATIC S5-115 for controlling the fully automatic cleaning of the piping and machines, in which milk is transported and processed. The cleaning consists of several stages: pre-rinsing, caustic solution, rinsing, acid and rinsing. But the fully automatic cleaning did not succeed in reducing the number of bacteria in the plant to the legal limit. The cause of this was that construction units (pumps etc..) in the plant were in the course of the time incorrectly replaced so the parameters (pressure, temperature and conductance) had changed for the plant. However, since they had not been re-co-ordinated, the cleaning did not any longer work accurately. This was, among other things, a reason why the workers in the dairy, to a large extent, serviced the plant manually. ServiceLab should be used to produce a comprehensive overview of all the experiment values of the plant without a large time and, above all, personnel expenditure. Solution: All the cleaning equipment parameters were noted during the complete purification process (approx. 40 min). In addition a laptop was attached to the PG interface of the SIMATIC S5-115 and the program ServiceLab was started by Siemens. The illustration shows a cutout from the connection worksheet, which was developed for the problem represented above. Temp-SYS 1 Skal-SYS 1 P3-SYS 1 Sep-SYS 1 IDM-SYS 1 LW-SYS 1 Kreis-SYS 1 A-SYS 1 • Circuit SYS 2 • Circuit SYS 3 • Circuit SYS 4 29 P24-SYS 1 F-SYS 1 ServiceLab Software for SIMATIC The complete connection worksheet contains four similar developed circuits (SYS 1 to 4), i.e. each circuit system corresponds to a worksheet. Worksheet Explanation: Transducers supply the temperature, flow rate and conductance data over the DDE connection to the program ServiceLab (DDE modules). Subsequently, the tension signals must be converted by scaling to the appropriate values (module Scaling SYS 1). Afterwards the data are given by continuous curves as a function of time on the monitor (module P3-sys 1). Additionally, after separating the data set (module September SYS 1) the reduced data are stored again on the given monitor (module P24-sys 1) and on the hard disk of the laptop (module f-sys 1). The fourth DDE connection (module circle SYS 1) monitors event-dependent actions (module A-sys 1), i.e. with a certain condition (e.g. switching on the cleaning equipment) the program ServiceLab is started, or a list with the values is printed out. Solution: ServiceLab is used to receive a comprehensive overview of all measured values of the plant without large time and personnel expenditure. Comment: This worksheet was developed using an earlier version of ServiceLab, which the module SIMATIC S5 was not yet contained. For communication with the SIMATIC in place of its the module DDE connection was used. Current sample applications under http://www.servicelab.info 30 ServiceLab Software for SIMATIC 3.15 Real Life Usage example: Documentation of parameters during a test run Task: The company Rheinelektra technology GmbH of Aalen manufactures, amongst other things, electrical controls for filtration plants (e.g. for fruit juice concentrates, protein or industrial water) for the company Membraflow Filter Systems, Aalen. As SPS serves the SIMATIC S5, the task of the company Rheinelektra is it to develop and test the electrical control for these filter systems. A metrology record of all parameters is to be provided, which the customer receives with the final inspection. Solution: In the test run, the entire plant is gradually advanced to the intended performance. At the same time the ServiceLab program seizes and plots the individual measured values. Thus one sees the transient response of the plant and can intervene in the process at any time. The following connection worksheet represents only an excerpt of the actually used connection worksheet with altogether 11 DDE connections and a TTL Pulse Generator. PI 3002 Skal PI 3002 Istw PI3002 TIA 3001 Skal TIA3001 Istw TIA3001 FIC 3001 Skal FI 3001 Istw FI 3001 PDIA+3003 SkalPDIA3003 Istw PDIA3003 W-Speisepump Skal Pumpe Freigabe Liste Istw Takt 5 min Worksheet explanation: Transducers (pressure, temperature, etc.) supply the data over the DDE connection to the ServiceLab program (DDE modules). Subsequently, the voltage levels are converted into appropriate values for pressure, temperature, etc. (Scaling modules) and as actual values into digital displays. Additionally every 31 ServiceLab Software for SIMATIC five minutes (T TL Pulse Generator module + Release module) the measured values are stored in a list (List Module) and printed out if necessary. Solution: The use of ServiceLab led to a saving of time, with start-up and/or test run. Comment: This worksheet was developed with an earlier version from ServiceLab, which did not contain the SIMATIC S5 module. In place of this module, for communication with the SIMATIC, the module DDE connection was used. Current example applications under http://www.servicelab.info 32 ServiceLab Software for SIMATIC 4. Technical data 4.1. System Requirements Recommended computer configuration for ServiceLab 3.5: 486 or Pentium PC 8 MB main storage (RAM) High resolution colour monitor (e.g. 1024*768 points) and super VGA Graphic Card 5 MB of free memory on the hard disk for the ServiceLab program Recommended computer configuration for ServiceLab 5.6: Pentium PC 32 MT main storage (RAM), for Windows NT/2000 64 MB (RAM) main storage High resolution colour monitor (e.g. 1024*768 points) and super VGA Graphic Card 8 MB of free hard disk memory, for the ServiceLab program. Depending upon the volume of the experiment data, additional storage location can be done. Required software for ServiceLab 3.5 MS-DOS or PC-DOS starting from version 3.3 Microsoft Windows 3,1 or Microsoft Windows for Workgroups 3,11 or Microsoft Windows 95/98 ! ServiceLab 3.5 should not be installed under Windows NT/2000. This can lead to system crashes and to the loss of system files. Required software for ServiceLab 7.0: Microsoft Windows 98SE or Windows NT (SP6) or Windows 2000(SP2)/XP 33 ServiceLab Software for SIMATIC 4.2. Coupling values SIMATIC S7/S5/SIPART 4.2.1. Maximum Number of Experiment Values Over the modules SIMATIC S5/S7 and SIPART we can acquire a maximum of 256 process values at the same time. 4.2.2. Maximum Sampling Rate SIPART Module An approximate value for the minimum sampling rate-recorded value can be computed using the following formula: Number of SIPART modules in the worksheet * 30ms + Number of recording channels in the worksheet * 25ms. SIMATIC S5 Module It is very difficult to obtain an exact estimation of minimum sampling rate recorded in a process with the module SIMATIC S5 since this is dependent on several parameters. Among other things there are the number of SIMATIC-S5-Modules in the worksheet, the number of collection channels, the kind of the process (binary value, 8-bit value, 16-bit-value) and the complexity of the worksheet. Therefore only a few examples are specified here: Recording from Minimum sampling period per channel in ms 1 process factor 8 Binary values within a byte 8 entrance bytes 16 data items up to 75 Approx. 500 Approx. 600 Approx. 1500 SIMATIC S7 module It is very difficult to obtain an exact estimation of minimum sampling rate recorded in a process with the SIMAT IC S7 Module, since this is dependent on several parameters. Nevertheless sum-sampling rates of 40 cycles per second (corresponding to a sampling period of 25 ms) can be achieved and more with appropriate hardware. Measuring cards ServiceLab can be operated with different manufacturer Measuring Cards, thereby sum sampling rate of 200 k Samples/s and more possible (the sum sampling rate depends on the efficiency of the used measuring card). 34 ServiceLab 4.3. Software for SIMATIC List of Modules (Some of the modules presented here are only available in the full version) Differentiation/ Integration This module is used for the integration of experiment data or alternatively the computation of upward gradients in the signal process. Action This module is used for initiating various actions in ServiceLab or in ServiceLab modules. In the on-line assistance, the general function mode is described for event-dependent actions. Analog Output Use this module to define analog output channels that are available on the installed data acquisition hardware. Analog Input Use this module to connect ServiceLab and the analog input channels of the installed data acquisition hardware. Analog Meter Use this module to display a single data point in an Analog Instrument - like window. Arithmetic The arithmetic module performs basic calculations with one or more input signals. Cut out This module makes it possible to pass an adjustable range of values from a data block unchanged to the exit. The remaining values are set to 0. Bar graph With this module the data can be represented as a Bar Graph. 35 ServiceLab Software for SIMATIC Bit-logic This module interprets the input signals as a binary number, which is represented by an input port with 16 entrance bits. Black–Box With this module many different modules can be summarized (compared with a function block in SIMATIC). Block Average/ Peak Hold This module serves the block oriented computation of average, maximum and minimum values of up to 16 input channels. Blocktime This module seizes the time information of the data block resting against the entrance and writes these into global strings. Datasocket Import Module The DataSocket Import module is used to write data to the different data targets. This module is used to connect to a data source using a number of different protocols and read data into the experiment. Socket Output Data Socket Export The DataSocket Export module is used to read data from a data source. Read Data In the Demo Version, use this module to read data in different generated formats. Write Data Use the Write Data Module to store data on disk in files of different formats (ServiceLab Basic Version). Data Window This module serves the evaluation of signal blocks by different evaluation windows and the adjustment of the block length by a power-of-two. 36 ServiceLab Software for SIMATIC Backup Use this module to copy data stored with the Write Data module to diskettes or another hard disk if the storage capacity of the source drive drops below a specified limit. DDE Output This module can be used to transfer acquired or calculated data from ServiceLab to any other Windows application (e.g. EXCEL) supporting the DDE protocol (Dynamic Data Exchange). DDE Input Use this module to receive data from other Windows applications, such as Microsoft Excel. It uses the standard Windows DDE interface (Dynamic Data Exchange). Digital Output This module can be used to transfer acquired or calculated data to any other Windows application supporting the DDE protocol (Dynamic Data Exchange). Digital Input Use this module to acquire digital input signals with the corresponding digital I/0 from the installed data acquisition hardware. Digital Meter Use this module to display a single data point from a block for up to 16 input signals in an instrument similar to a Digital Meter. E-Mail With this module you can send an e-mail message. Electric Characteristics This module computes the well-known electrical engineering quantities based on voltage V and current I, including power, phase angle, as well as the input frequencies. Export/Import Black-Box This module provides the connection between a Black Box worksheet and the main chart (or the preceding worksheet) of which Black Box is an element. It transfers data between these 37 ServiceLab Software for SIMATIC two worksheet levels. FFT - Fast Fourier Transform This module provides different algorithms for special analysis of the spectrum of a signal. Filter This module provides digital signal filtering with infinite impulse response filters (digital IIR filter). FlexPro Write Data This module can be used to transfer data from ServiceLab in FlexPro format direct into a project e.g. data that is already stored in FlexPro format on the hard drive. Formula Interpreter Use this module to perform custom mathematical operations. The Formula Interpreter allows you to easily process input data with user-defined formulae. The result of the operation is sent to the specified output. Frequency Output Use this module to send frequency data to the output channels of a connected data acquisition hardware device (plug-in board or other external device). Generator With this module you can produce - depending upon function type – from 8 up to 16 different signals and to output over data channels to further modules at your disposal. Read Global Variable Use this module to generate a data channel using the value of a specified Global Variable. Variable Use this module to save a data channel to a specified Global Variable. 38 ServiceLab Software for SIMATIC Gray Code This module makes possible the direct use of way/angle sensors, which use the Gray code for positioning information. Latch Since this module provides different basic operations, you must first select the function type when you install the module. Slider This module generates a signal with an amplitude that can be modified manually. Harmonic Distortion This module calculates the amplitude and phase of the fundamental wave in the defined frequency interval and calculates up to 48 harmonic waves (they can be out of the defined interval) with corresponding amplitudes and phases. Histogram In this module the detailed data streams of a histogram evaluation (categorization) are calculated. ICOM Output Use this module to send data to devices connected to the PC’s serial, or TCP/IP port. ICOM Input This module serves the collection of serial data over a TCP/IP ports or the serial interface. IEEE488–Input/ Output (optional) Use this module to acquire data coming from/into the PC via an IEEE488-Interface (International Electronical Commission bus). IVI Digital-Multimeter (optional) This module is used to acquire data of a triggered time interval from an IVI compatible DMM (Digital-Multimeter-Hardware) device via the IVI interface driver. 39 ServiceLab Software for SIMATIC IVI Function generator The module controls a Function Generator device from ServiceLab via the IVI interface. IVI Scope This module is used to acquire data, of a triggered time interval, from a Scope device via the IVI interface. Sort Channels (optional) This module sorts the values of several channels in increasing or decreasing order. Channel Comparator This module is used to compare the level of data channels. The input signal is compared either with a constant or with another channel. Combi-Trigger Use this Trigger module for continuous signal supervision. It generates a trigger signal at its output based on the input signal conditions. Correlation (optional) This module performs the calculation of correlation functions and coefficients and the application of the power cepstrum. Chart Recorder Use this command to insert a Chart Recorder Module to display curves of data acquired at a low speed. List Display Use the List Display Module to display the values of its input signals in list form. Logical Operations This module can perform logical operations with TTL compatible signals. 40 ServiceLab Software for SIMATIC Message This module is used to display and output messages initiated by one or several action modules. Maximum Use this module to find minima and/or maxima in the data stream. Average Use this module to calculate different average values of input signals. MODBUS Analog Input and Output Modules (optional) Use this module to acquire analog data from industry-standard MODBUS devices. MODBUS Digital Input and Output Modes (optional) Use this module to acquire digital data from industry-standard MODBUS devices. Merge/Expand (optional) Use this module to sequentially combine different data channels into one data channel or to distribute the values of one data channel to up to 16 channels. ODBC-Input The ODBC Input Module is used for the exchange of information with databases. The content of database table fields are written into global strings and/or variables upon an Action. ODBC-Output The ODBC Output module is used to exchange information with databases. The content of global strings and/or variables is written, upon an action, into the fields of a table in a database. Period Check This module checks the data for the first positive zero crossing at a specified zero line (you can use global Variables). 41 ServiceLab Software for SIMATIC PID Control (optional) This module implements a PID control algorithm. Polar Cartesian (optional) This module converts a pair of input signal values defining a curve in Cartesian coordinates into polar coordinates and vice versa. Position in Signal Use this block to extract up to 15 single values from the data block according to their position. Coded Switch (optional) This module can generate up to 4 TTL compatible signals. These signals can be switched between the predefined 16 levels and on and off. Pulse Width Analysis (PWM) (optional) This module statistically evaluates pulse-width-modulated (PWM) signals. The value to be computed can be chosen for each channel: frequency (Hertz), pulse duration (s), pause duration (S) or pulse/pause relationship (%). Regression (optional) This module will create an output signal with the linear regression or mean value of the input signal for each block. Relais Relay This module can control up to 15 entrances depending on a common control or interrupt the signal flow or switch16 entrances upon an event. This module can control several data streams using one control input. Circular Buffer Use this module to save data into a buffer for a defined time interval and output it to the module outputs via an Event Driven Action. 42 ServiceLab Software for SIMATIC RS232–Output Use this module to send data to devices connected to the PC’s serial ports. RS232–Input Use this module to acquire data coming from devices connected to the PC’s serial ports. Sample Trigger This module is used to generate a trigger signal at its output depending on the input signal conditions. Switch Use this module to generate TTL compatible signals. The output can be switched manually between low and high. Shift Register (optional) Use this module to store data, one point at a time - controlled by a trigger, into a temporary register, and output a block repeatedly. Separate Use this module to reduce data by skipping the specified number of blocks or samples. Signal Adaptation This module synchronizes data streams that have different sampling rates, block sizes or starting times. Time Slice(optional) Use this module to combine signal segments from different channels using a defined time schedule. SIMATIC S7 This module is used for reading process variables from a SIEMENS SIMATIC S7 (SIMATIC S7-300 or -400) via MPI or PROFIBUS interface. 43 ServiceLab Software for SIMATIC Reference Curve This module calculates a Reference (Set Point) curve during a test run of your application. Check Reference This module is able to compare an incoming data stream with a previously stored reference curve. Scaling Use this module to apply different scaling methods to the signals from the module entries - up to 16 data channels. Start–/Stop–Trigger This module controls the entire measurement by generating a continuous high or low signal at its output that is dependent on the input signal conditions (amplitude or slope). Statistical Values This module provides the computation of statistic values within data blocks. Status Display Use this module to display the alternating state of an input signal along with a state-specific alphanumeric string and status light for up to 16 channels. Trigger on Demand (optional) Use this module to trigger, from sample pairs, a data stream with consideration for the dynamics of the signal. Slope Limitation This module limits the slope of the input signals. Stop This module pauses or stops the entire measurement if certain predefined conditions are fulfilled. Trigonometry (optional) 44 ServiceLab Software for SIMATIC This module performs trigonometric calculations on the input signals. Router This module can time dependently alternate a data channel or, with a control signal, switch on/off up to 16 channels. Pre/Post Trigger This module provides continuous monitoring of data signals, with an adjustable range of limitations or upward gradients, resulting in trigger (Control) signals. X/Y–Chart Use this command to insert a Chart Display Module for up to 8 channel blocks of two dependent signals, in a separate window, as X/Y plots. Y/t–Chart This module displays blocks of data over time. Counter This module supplies different counting algorithms. Counter Input (optional) This module is used for the acquisition and counting of impulses or frequencies. It is available if your data acquisition hardware (card or equipment), supports counter measurement. Time Base This module extracts the time information either from a data channel or from the global sampling rate, and makes it available at the output. TTL Pulse Generator This module generates up to 16 TTL compatible signals according to the defined duty cycles. Time Delay This module is used to generate a time delay in the signal flow. The delayed data will then be transferred unchanged. 45 ServiceLab Software for SIMATIC Two Points Control (Optional) This module is used to process data in the manner of a two-point controller. 46 ServiceLab Software for SIMATIC 5. Product Overview 5.1 ServiceLab Products ServiceLab Basic version CD-ROM with a single license and a User Guide in German ServiceLab Leasing Version For one or two months CD-ROM with a single limited time license and a User Guide in German ServiceLab Single License, Releasing all Modules ServiceLab Single License, Releasing ServiceLab License up to 5/10 users with 2/3 CD ROMs and 2/3 User Guides ServiceLab License for up to 20/50/70 users, with 5/10/15 CD-ROMs and User Guide ServiceLab Modules for reading and recording data communication with a S7-300/-400 through a SIMATIC SOFTNET S7 – Software for PROFIBUS or Industrial Ethernet Measuring Cards Support (Basic Version Upgrade) Releasing all Modules (Basic Version Upgrade) Team License (5/10) Plant License (20/50/70) Softnet S7 Modules (add-on Modules for the Basic Version) Further ServiceLab product information can be found on the next page. 47 ServiceLab Software for SIMATIC 5.2 Siemens Accessories for ServiceLab For S7: CP5611MPI Consisting of PCI-Card CP5611and MPICable, 5m For S7: CP5511 PCMCIA-Card for the connection of a laptop to a PROFIBUS or MPI For S7: PC-Adapter RS232, 9-pole, spike; with RS232C/MPItransducer For S5: Adapter cable with RS232-C and TTY support 48 ServiceLab Software for SIMATIC 5.3 National Instruments Measuring Cards Kit for ServiceLab 5.3.1 PCMCIA Kit Consists of: DAQ-Card 6024 E: - 16 analog inputs - Sampling rate of -up to 200-kS/s - Two 12-Bit Analog outputs - Eight digital I/O channels - Two 24-Bit counters Terminal Box SCB 68: Protected I/O terminal block with screw terminals Protected Connection Cable SHC68-68-EP: Available length 0.5 m 5.3.2 USB Kit Consisting of: DAQ-PAD 6020 E: - 16 analog inputs, 12-Bit resolution - Sampling rate of up to 100-kS/s - Two 12-Bit Analog Outputs - Eight I/O digital channels - Two 24-Bit counters Terminal Box SCB 68: Protected I/O terminal block with screw terminals Protected Connection Cable SH 68-68: Available lengths 1 m, 2 m, 5 m and 10 m 49 ServiceLab Software for SIMATIC 5.4 Ordering You can find up-to-date information concerning prices, order numbers, and workshops on our website: www.servicelab.info To place an order please contact either your Siemens partner or us directly: adress: ServiceLab Ltd., Marlene Dietrich Strasse 5, 89231 Neu-Ulm, Germany email: [email protected] fax: 49 731 98588-794 For further informations please contact us. ServiceLab Ltd. E-Mail : Tel.: Fax : [email protected] +49 731 98588 - 791 +49 731 98588 - 794 50