7_WinCC Flexible 2008 - Basics_Recipes&Archives_EN

March 27, 2018 | Author: Pham Sang | Category: Tag (Metadata), Data Type, User Interface, Computer File, Data


Comments



Description

WinCC flexible 2008 - Recipes & ArchivesRecipes Historical Data Exercise 1 Input of data during engineering If all production data is determined during engineering you have the possibility to configure the complete recipe in WinCC flexible with the help of the editor Recipes. The display name is used to identify the element in the recipe view at runtime. An element has a display name and a tag.Recipes Recipes ƒ Basics ƒ Creating recipes ƒ Administartion in runtime ƒ Recipes are used to change production to a different production variant in a very comfortable way ƒ Different configuring options: ƒ Configuring in runtime ƒ Import of data records in runtime through csv – files ƒ Configuring during engineering Historical Data Exercise WinCC flexible 2008 . Recipes are used to combine data that belongs together. So it is possible to edit the csv-files on a central PC and import the changed recipes to the HMI device.Recipes & Archives 2008-06-18 Rainer Uhl Slide 2/15 Industry Sector © Siemens AG 2008 . The tag is used to read the corresponding process value from the PLC or transfer a changed value to the PLC. Input of data in Runtime With the help of a recipe view it is possible to edit recipe directly in runtime at the HMI device. This is done with the help of csv – files. Import of data in Runtime Recipes can also be imported into the runtime. 2 .Subject to modifications A recipe consists of different data records that contain different values. like machine parameters. Each recipe consists of several elements. The elements are the single ingredients of a recipe that are needed for configuring a machine. With the different data records you have the possibility to create different mixtures with the elements.Recipes & Archives 2008-06-18 Rainer Uhl Slide 3/15 Industry Sector © Siemens AG 2008 .Subject to modifications Recipes are configured in an own editor called Recipes. 3 .Recipes Recipes ƒ Basics ƒ Creating recipes ƒ Administartion in runtime ƒ Configuring recipes Historical Data Exercise WinCC flexible 2008 . Simple recipe view With HMI devices that have a small display size (e. Recipe view The recipe view is a screen object and can be found in the tools window under enhanced objects. 4 . This screen can be configured individually by placing IO fields with a connection to the recipe elements.Recipes Recipes ƒ Basics ƒ Creating recipes ƒ Administartion in runtime ƒ To work with recipes on the HMI device you need a recipe view Historical Data Exercise WinCC flexible 2008 .g. With normal buttons it is possible to trigger all necessary events for the recipe administration.Recipes & Archives 2008-06-18 Rainer Uhl Slide 4/15 Industry Sector © Siemens AG 2008 . The simple recipe view consists of 3 display areas: „Recipe selection „Data record selection „Data record entries Recipe screen A recipe screen is a special screen for editing recipes.Subject to modifications To display and edit recipes on a HMI device you can place a recipe view on a screen. OP77B) the simple recipe view is used for editing recipes. The recipe view shows the data records in a table view. Recipes & Archives Recipes Historical Data Exercise 5 .WinCC flexible 2008 . 6 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ Logs are used to collect data through a specific time period ƒ Following data can be logged: ƒ Alarms ƒ Tags Exercise WinCC flexible 2008 .Recipes & Archives 2008-06-18 Rainer Uhl Slide 6/15 Industry Sector © Siemens AG 2008 .Subject to modifications Hint The functionality of logging data depends on the used HMI device. Recipes & Archives 2008-06-18 Rainer Uhl Slide 7/15 Industry Sector © Siemens AG 2008 . Use of tag logging When logging process values you have the possibility to document the process or analyse error states in the machine. You can optimize the product quality and guarantee quality standards. 7 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ In the editor data logs you configure all settings for logging tags Exercise WinCC flexible 2008 .Subject to modifications Data logging is used to store important process values during a specified time period. The interpretation of the logged data brings for example results for the productivity of a machine. Subject to modifications Data logging is controled by cycles and events.g. the oldest value is overwritten „Segmental circular log: The log is divided into several log files. WinCC flexible provides the following logging types: „Circular log: If the data log is full.Recipes & Archives 2008-06-18 Rainer Uhl Slide 8/15 Industry Sector © Siemens AG 2008 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ In the tag editor you specify which tag is stored in which archive Exercise ƒ In the log properties you configure the logging type and the start behaviour of the log WinCC flexible 2008 . the user gets informed by a system message „Raise event: If the log file reaches the maximum fill level an event is raised. e. The logging cycles ensure a continuous recording of process values. the value change of a tag. logging continues with overwriting the first file again „Display system event at: If logging reaches a certain fill level. each of the log files have the same size. 8 . These settings can be defined separately for every single tag. If all files are filled up. Data logging can also be triggered by events. Subject to modifications Possibilities of storage Depending on the HMI device you can use different storage media.Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ Depending on the HMI device. 9 . the logs can be saved local or on a PC in the network Exercise ƒ For displaying data logs in runtime you use a trend view WinCC flexible 2008 . Display of data logs You can display the values of a data log in a trend view.Recipes & Archives 2008-06-18 Rainer Uhl Slide 9/15 Industry Sector © Siemens AG 2008 . The saved data can then be edited with other tools. The trend view is under enhanced objects in the tools window. Recipes & Archives 2008-06-18 Rainer Uhl Slide 10/15 Industry Sector © Siemens AG 2008 .Subject to modifications Following data is stored in an alarm log: „Date and time of the alarm „Alarm text „Alarm number „Alarm state „Alarm class „PLC 10 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ Alarm logs can be used to display alarms that are no longer active ƒ You can find sporadic problems more easier Exercise WinCC flexible 2008 . Subject to modifications 11 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ In the alarm settings you can assign an alarm log for each alarm class ƒ It is also possible to store alarms of multiple classes into one single alarm log Exercise WinCC flexible 2008 .Recipes & Archives 2008-06-18 Rainer Uhl Slide 11/15 Industry Sector © Siemens AG 2008 . Recipes & Archives 2008-06-18 Rainer Uhl Slide 12/15 Industry Sector © Siemens AG 2008 .Historical data Recipes Historical Data ƒ Basics ƒ Data Logs ƒ Displaying Data Logs ƒ Alarm Logs ƒ Displaying Alarm Logs ƒ To display an alarm log in runtime you use the alarm view Exercise Select the alarm log to be displayed WinCC flexible 2008 .Subject to modifications 12 . Recipes & Archives Recipes Historical Data Exercise 13 .WinCC flexible 2008 . the path and the logging type ƒ The new tag should be written to this log cyclic every second. the other trend should show the logging tag ƒ Configure different colors for the two trends and test the different settings of the trend view ƒ Start the runtime with the simulator and test the project 14 .Recipes & Archives 2008-06-18 Rainer Uhl Slide 14/15 Industry Sector © Siemens AG 2008 .Exercise Recipes Historical Data Exercise Exercise 1 WinCC flexible 2008 . You configure this in the properties of the tag.Subject to modifications ƒ First create a new internal tag with datatype „Int“ ƒ In the editor Data Log create a new log. ƒ In the screen „Trends“ place a Trend view ƒ Add 2 trends to the trend view ƒ One trend should show the realtime value of a tag. Configure the number of entries.
Copyright © 2024 DOKUMEN.SITE Inc.