Vijeo Designer 5.1 Manual A

March 26, 2018 | Author: Brayan Peralta | Category: Windows Vista, Microsoft Windows, Graphical User Interfaces, Windows Xp, Areas Of Computer Science


Comments



Description

Manual Version 1.1 Vijeo Designer Training Manual Version 5.1 Schneider-Electric Pty Ltd 245 route des Lucioles BP147 Sophia Antipolis Cedex 06903 FRANCE DISCLAIMER Schneider Electric Inc. makes no representations or warranties with respect to this manual and, to the maximum extent permitted by law, expressly limits its liability for breach of any warranty that may be implied to the replacement of this manual with another. Furthermore, Schneider Electric Inc. reserves the right to revise this publication at any time without incurring an obligation to notify any person of the revision. Schneider Electric Inc. (“Schneider”) Vijeo Designer Configuration Training Manual INTRODUCTION AND LEGAL NOTICE Your purchase of this official Vijeo Designer Configuration Training Manual entitles you to undertake the Vijeo Designer Configuration training course. The number allocated to you on purchase of this manual is your key to complete the course evaluation. Satisfactory completion of this evaluation is mandatory for you to obtain a Schneider Electric Inc. certificate of completion of the training course. The contents of this manual are proprietary to Schneider Electric Inc. and all rights, including copyright, are reserved by Schneider Electric Inc.. You must not copy any part of the manual in hard or electronic form or make any adaptation or other commercial use of it without Schneider's prior written consent. Schneider Electric Inc. will not accept any liability for action taken in reliance on this training manual. COPYRIGHT © Copyright Schneider Electric Inc. All rights reserved. TRADEMARKS Schneider Electric Inc. has made every effort to supply trademark information about company names, products and services mentioned in this manual. Trademarks shown below were derived from various sources. Windows, Windows NT, Windows 2000, Windows XP, MSSQL Server and Excel are trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Novell and NetWare are registered trademarks of Novell Inc. dBASE is a trademark of Borland Inc. General Notice: Some product names used in this manual are used for identification purposes only and may be trademarks of their respective companies. About Us Members of Schneider’s team of Instructional Designers have tertiary qualifications in Education, Educational Course Development and are also experienced trainers in their own right; some are also published authors. Currently, the team is supporting a range of over 70 courses in multiple languages and multiple software environments. Authors September 2010 Edition for Version 5.1 Manual Version 1.1 Written, Printed and bound in Australia ii Version 5.1 September 2010 Contents CHAPTER 1: INTRODUCTION TO VIJEO DESIGNER .................................................... 1-1 Overview .................................................................................................................... 1-1 Before You Begin....................................................................................................... 1-2 Course Overview ........................................................................................................ 1-3 Conventions Used in this Manual............................................................................... 1-5 CHAPTER 2: VIJEO DESIGNER AT A GLANCE ............................................................ 2-1 Overview .................................................................................................................... 2-1 System Requirements ................................................................................................. 2-2 The Vijeo Designer Interface ..................................................................................... 2-4 CHAPTER 3: PROJECT MANAGEMENT ....................................................................... 3-1 Overview .................................................................................................................... 3-1 The Navigator ............................................................................................................. 3-2 The Vijeo Manager..................................................................................................... 3-3 Project Manager.......................................................................................................... 3-4 New Projects............................................................................................................... 3-5 Select the Target Model.............................................................................................. 3-7 Save a Project ............................................................................................................. 3-8 Backup a Project....................................................................................................... 3-15 Delete Projects.......................................................................................................... 3-17 Restore a Project....................................................................................................... 3-19 Project Validation..................................................................................................... 3-21 Project Simulation .................................................................................................... 3-24 CHAPTER 4: VIJEO DESIGNER VARIABLES ................................................................ 4-1 Overview .................................................................................................................... 4-1 Variables..................................................................................................................... 4-2 Variable Editor ........................................................................................................... 4-5 Variable Addressing ................................................................................................... 4-9 Variable Logging Groups ......................................................................................... 4-11 Variable Properties - Input Range ............................................................................ 4-12 Block Variables ........................................................................................................ 4-13 Variable Folders ....................................................................................................... 4-14 System Variables ...................................................................................................... 4-15 Variable Arrays ........................................................................................................ 4-16 Reference Variables.................................................................................................. 4-18 Reference Variable Solution..................................................................................... 4-21 Scan Groups.............................................................................................................. 4-22 Importing PLC Variables (Linking) ......................................................................... 4-24 Updating a Variable Link ......................................................................................... 4-26 XML Support for Variables...................................................................................... 4-27 Vijeo Designer Manual Version 1.1 iii CHAPTER 5: GRAPHICS .............................................................................................. 5-1 Overview .................................................................................................................... 5-1 Graphic Panels............................................................................................................ 5-2 Graphical Editor ......................................................................................................... 5-5 The Property Inspector ............................................................................................... 5-6 Graphical Objects Toolbar ......................................................................................... 5-9 Draw Basic Objects .................................................................................................. 5-11 Time and Date Display ............................................................................................. 5-13 Color Picker Tool ..................................................................................................... 5-18 Base Panels............................................................................................................... 5-19 Panel Text................................................................................................................. 5-24 Navigation Introduction............................................................................................ 5-27 Panel Navigation ...................................................................................................... 5-28 Add Clipart to a Panel .............................................................................................. 5-36 Rectangles, Squares, Ellipses and Circles ................................................................ 5-41 Lines, Polylines and Polygons.................................................................................. 5-43 CHAPTER 6: ANIMATION AND CONTROLS ................................................................. 6-1 Overview .................................................................................................................... 6-1 Animation ................................................................................................................... 6-2 Expression Editor ....................................................................................................... 6-3 Numeric Displays ....................................................................................................... 6-4 Custom Shape Animation......................................................................................... 6-14 Color Resources........................................................................................................ 6-17 Bar Graphs................................................................................................................ 6-22 Lamps ....................................................................................................................... 6-29 CHAPTER 7: POPUP PANELS AND METERS ................................................................ 7-1 Overview .................................................................................................................... 7-1 Popup Panels .............................................................................................................. 7-2 Popup Windows, Groups and Panels.......................................................................... 7-3 Creating a Popup Panel .............................................................................................. 7-6 Meters ......................................................................................................................... 7-8 Launching a Popup Panel ......................................................................................... 7-13 CHAPTER 8: TRENDS .................................................................................................. 8-1 Overview .................................................................................................................... 8-1 Trend Introduction...................................................................................................... 8-2 Realtime Trend Charts................................................................................................ 8-3 Historical Trend Charts .............................................................................................. 8-5 Block & Plot Trends................................................................................................... 8-7 Data Logging ............................................................................................................ 8-11 Data Logging Groups ............................................................................................... 8-12 Data Logging Group - Variable Setting ................................................................... 8-16 Data Logging Group Buffer ..................................................................................... 8-19 iv Version 5.1 September 2010 CHAPTER 9: ALARMS AND EVENTS ............................................................................ 9-1 Overview - Alarms and Events................................................................................... 9-1 Alarming Introduction ................................................................................................ 9-2 Alarm Groups ............................................................................................................. 9-3 Alarm Sounds ............................................................................................................. 9-8 Alarm Variables........................................................................................................ 9-10 Alarm Banners.......................................................................................................... 9-17 Alarm Summary ....................................................................................................... 9-22 Alarm Categories...................................................................................................... 9-30 Output Alarms to File ............................................................................................... 9-32 Alarm Printing .......................................................................................................... 9-37 Real-Time Alarm Printing ........................................................................................ 9-41 Event Monitoring...................................................................................................... 9-42 Exercise - Event Monitoring .................................................................................... 9-45 CHAPTER 10: FORMS & EMAIL .................................................................................. 10-1 Overview .................................................................................................................. 10-1 Forms ........................................................................................................................ 10-2 Form Editor .............................................................................................................. 10-3 Email......................................................................................................................... 10-7 Configuring Email .................................................................................................... 10-9 Triggering Email .................................................................................................... 10-10 CHAPTER 11: SCRIPTING ............................................................................................ 11-1 Overview .................................................................................................................. 11-1 Scripting Introduction............................................................................................... 11-2 Script Types and Scope ............................................................................................ 11-3 Variables and Scripting ............................................................................................ 11-4 Scripting Basics ........................................................................................................ 11-5 Variable Read/Write Methods .................................................................................. 11-6 Creating an Action Script ......................................................................................... 11-7 Script Editor.............................................................................................................. 11-9 Panel and Object Level Scripts............................................................................... 11-11 CHAPTER 12: PROJECT SECURITY ............................................................................. 12-1 Overview .................................................................................................................. 12-1 Security Introduction ................................................................................................ 12-2 Project Security ........................................................................................................ 12-3 Target Security ......................................................................................................... 12-4 Other Security........................................................................................................... 12-5 Security Groups ........................................................................................................ 12-6 Security Levels ......................................................................................................... 12-7 Target Operation....................................................................................................... 12-8 User Login .............................................................................................................. 12-10 Security on Switches .............................................................................................. 12-11 Vijeo Designer Manual Version 1.1 v CHAPTER 13: RECIPES ............................................................................................... 13-1 Overview .................................................................................................................. 13-1 Introduction to Vijeo Recipes................................................................................... 13-2 Recipe Terminology ................................................................................................. 13-4 Relationship of Parts................................................................................................. 13-5 Recipe Variables....................................................................................................... 13-6 Recipe Groups .......................................................................................................... 13-7 Recipes and Ingredients............................................................................................ 13-8 Recipe Manager........................................................................................................ 13-9 Recipe Security....................................................................................................... 13-10 Recipe Access Rights ............................................................................................. 13-11 CHAPTER 14: DATA SHARING .................................................................................... 14-1 Overview .................................................................................................................. 14-1 Data Sharing Introduction ........................................................................................ 14-2 Exclusive Input ......................................................................................................... 14-3 Input Synchronization .............................................................................................. 14-4 Variable Sharing Example........................................................................................ 14-5 CHAPTER 15: WEB SERVER AND WEB GATE ............................................................ 15-1 Overview .................................................................................................................. 15-1 What is the Web Server? .......................................................................................... 15-2 What is Web Gate? ................................................................................................... 15-3 Web Gate Basics....................................................................................................... 15-4 Web Gate Features/Restrictions ............................................................................... 15-5 Types of Web Gate Connections .............................................................................. 15-6 Web Gate Configuration........................................................................................... 15-7 Web Gate Security.................................................................................................... 15-9 CHAPTER 16: INTELLIGENT DATA SERVICE (IDS) ................................................... 16-1 Overview .................................................................................................................. 16-1 IDS Functionality ..................................................................................................... 16-2 IDS Basics ................................................................................................................ 16-3 IDS Topology ........................................................................................................... 16-4 IDS Configuration Introduction ............................................................................... 16-5 IDS Manager ............................................................................................................ 16-6 Database Type .......................................................................................................... 16-8 Variables Tab............................................................................................................ 16-9 Monitoring/Actions Tab ......................................................................................... 16-10 Create Data Tables ................................................................................................. 16-11 Exercise - IDS Manager ......................................................................................... 16-12 IDS Explorer........................................................................................................... 16-20 Datasources Manager ............................................................................................. 16-21 Menu....................................................................................................................... 16-22 Create a Panel ......................................................................................................... 16-23 vi Version 5.1 September 2010 CHAPTER 17: INITIALISE A MAGELIS TERMINAL ..................................................... 17-1 Overview .................................................................................................................. 17-1 Vijeo Designer Runtime System .............................................................................. 17-2 Set the Initial IP Address.......................................................................................... 17-3 Access the System Area ........................................................................................... 17-4 Adjust the Terminal .................................................................................................. 17-5 Offline Configuration Screens.................................................................................. 17-6 System Configuration Screens ................................................................................. 17-7 System Diagnostic Screens....................................................................................... 17-8 APPENDIX A: MULTIMEDIA FEATURES ...................................................................... A-1 Overview - Multimedia Features............................................................................... A-1 Multimedia Features.................................................................................................. A-2 ScreenSnapshot.......................................................................................................... A-3 Screen Snapshot Configuration ................................................................................. A-5 ScreenSnapshot Save Tab.......................................................................................... A-6 ScreenSnapshot Print Tab.......................................................................................... A-7 ScreenSnapshot and Web Gate.................................................................................. A-8 Multimedia - Video ................................................................................................... A-9 Video Record Configuration ................................................................................... A-10 Video Recording - Playback Snapshot Configuration............................................. A-11 Live Snapshot Configuration................................................................................... A-12 Video Snapshot Variables ....................................................................................... A-13 Video Display Options ............................................................................................ A-14 Video Control Variables.......................................................................................... A-15 Exercise - Multimedia ............................................................................................. A-16 Vijeo Designer Manual Version 1.1 vii . .................................... Its open architecture adapts to all Magelis platforms................................ as well as to Magelis Smart & Compact iPCs.......Chapter 1: Overview Introduction Introduction to Vijeo Designer Vijeo Designer is a Windows based configuration and programming software dedicated to programming Magelis HMI hardware........ Vijeo Designer HMI software handles design from the smallest applications for 3. This Chapter Covers These Topics: Before You Begin ..................................1-3 Conventions Used in this Manual...................................1-2 Course Overview ..8” terminals to the most demanding HMI applications of 15’’ industrial PCs......................1-5 .... Your Instructor is an experienced Vijeo Designer user so please feel free to ask questions. Defining the Scope of this Training Manual This training manual is a supplement to the authorised training. The graphics displaying screen shots have been taken using the Windows XP operating system using Classic mode display properties. Some screen shots may have been taken from beta versions of the software and may vary slightly from release screen shots. and will guide you through this training course.1 September 2010 .Before You Begin Your Instructor Please write the name of your Instructor here ____________________ Your Instructor will be spending the next four days with you. In order to make full use of the software you should also refer to the Online Help and Vijeo Designer Knowledge Base. 1-2 Version 5. If you are running a different version of Windows then your screens may differ slightly from the ones shown in the training manual. PAEs. Field Service engineers.1 1-3 . configure and display alarms Configure and use the email feature Create and use simple scripts Implement project security Create. Configure and use real time and historical trend charts Create. configure and use the recipe feature Create. SAEs. This course is designed for: Users who are new to Vijeo Designer Users who will create Vijeo Designer based solutions People who will support Vijeo Designer users such as help desk people.Course Overview Course Objectives By the completion of this training course you will: Be able to use Vijeo Designer to create a HMI application Configure communications between a Magelis target and a PLC Initialize a Magelis terminal for first time use Create a new Vijeo Designer application from the ground up Create user panels for an application using Vijeo Designer Create Vijeo Designer variables manually as well as importing variables from a PLC project Create and use variable arrays Create and use Popup panels Create. configure and use Webgate Implement data sharing between two Magelis terminals Configure and use the Intelligent Data Service Understand the Multimedia feature options Target Audience The Vijeo Designer Configuration training course is an integral part of the complete Schneider Electric curriculum. Schneider Electric parters and technical sales personnel End users including OEMs and System Integrators Vijeo Designer Manual Version 1. Course Overview (cont. outlines the topics that will be covered on each day: The following program Day 1 Topics Introduction to Vijeo Designer Vijeo Designer at a glance Project Management Setting up PLC Communications Introduction to Vijeo Designer Start a Schneider Soup Project 2 Import PLC Variables Into a Project Create and Configure a Popup panel Create Realtime and Historical Trend Charts Configure and Test Alarming Configure and Test the Email Feature 3 Create some Simple Scripts Create and Configure Security Configure and use Recipes Configure and test Webgate Implement Data Sharing between Magelis targets Create and configure Intelligent Data Service Initializing a Magelis Support If you require support during training or would like additional information about any concepts or products in the course.) Course Program The training course will take four days to complete. please ask your Instructor. 1-4 Version 5.1 September 2010 . Whenever you are required to type information into a field or dialog box it will be written in this font User Input Example KETTLE_TEMP/25 Vijeo Designer Manual Version 1. Often. examples are given to illustrate the conceptual overview.Conventions Used in this Manual Objectives These are the skills you will achieve by the end of each chapter. These exercises begin by explaining the general concept of each exercise and then step-by-step procedures are listed to guide you through each procedure. Example The Vijeo Designer configuration environment consists of several toolbars. This chapter introduces the user to the configuration environment using an example project with pre-defined elements. An overview providing a brief synopsis of the topic begins each section.1 1-5 . browser windows and programming editors. Exercises After a concept is explained you will be given exercises that practise the skills you just learned. Conventions Used in this Manual (cont. use the mouse cursor or press the TAB key. Menus and Menu Options Text separated by the double arrow symbol “»” indicates that you are to select a menu Example File » New… Open a menu “File” then select the menu option “New…” Horizontal and Vertical Tabs Text written this way indicates the Horizontal then the (Vertical) tab you are to select. Note A note will refer to a feature which may not be obvious at first glance but something that you should always keep in mind Example Note: Any events named GLOBAL are enabled automatically when events are enabled. Example Appearance (General) 1-6 Version 5.1 September 2010 .) Hints and Tips This heading will provide you with useful or helpful information Example Hints & Tips To go to the next field. Vijeo Designer Manual Version 1. Example WARNING CRITICAL DATA LOSS Only use communications port for non-critical data transfers.) See Also Text written in this way indicates further references about the current topic.Conventions Used in this Manual (cont.1 1-7 . see Vijeo Designer Help . Warning This heading describes situations where the user needs to be careful. Further Training This heading describes topics that are covered in more advanced courses. Example See Also: For further information about Templates. Example Further Training: Trend Table Maths is a topic in the Vijeo Designer Customisation and Design Course.Using Page Templates. . 2-4 Exercise ................................................................2-6 ....... This Chapter Covers These Topics: System Requirements ............ browser windows and programming editors.Examine the User Interface ............................................Chapter 2: Overview Introduction Vijeo Designer at a Glance The Vijeo Designer configuration environment consists of several toolbars.... This chapter introduces the user to the configuration environment using an example project with pre-defined elements..2-2 The Vijeo Designer Interface.............. as the minimum hardware requirements have changed: Description Platform Processor Processor Speed Random Access Memory (RAM) Available Disk Space Operating System Minimum Specification or Higher PC Intel Pentium 4 2 GHz or faster recommended 1 GB minimum 80GB. Vijeo Designer has been designed for machines with the following specifications: Hardware Requirements The computer equipment may need to be upgraded to run Version 5.1 September 2010 . or 160GB if running a Web Server Microsoft Windows XP Professional (Service Pack 2 or greater) Microsoft Windows Vista Business edition 32 bits (Service Pack 1 or greater) Microsoft Windows 7 32 Bits Web Browser Microsoft Internet Explorer 6.1.0 (Version 7 or higher recommended) 2-2 Version 5.System Requirements Before You Start Before installing Vijeo Designer the computer that will be used as the Vijeo Designer Server needs to be configured. 1 2-3 .System Requirements (cont. Vijeo Designer is a single software for three specialised platforms Simulations Vijeo Designer is able to simulate the operation of the selected PLC so that it is possible to run preliminary tests on programs without the need to be connected to a PLC. In addition this simulation allows users to test fault conditions without the need to make the devices fail. Vijeo Designer Manual Version 1. Use a generic data structure to map I/O.) Forget the Hardware while Developing Create generic program modules regardless of the PLC hardware configuration: Use a set of generic instructions. Module or I/O configuration is not required. such as the current zoom and the position of the selected window Used to create and access all the elements in the application such as panels.1 September 2010 . alarms and popup windows Used to create the application Indicates any faults that occur during the validation or build process of the application The following windows may also be used: Toolchest Property Inspector Graphics List Variables Window Collection of predefined graphic objects Used to configure the selected object Provides an exhaustive list of the objects that feature in the active window Used to enter the variables in the application Hints & Tips Any of these windows can be closed. 2-4 Version 5. Many of the objects in Vijeo Designer have right click menus (quick way to access settings). resized or moved. As with all other Schneider software applications.The Vijeo Designer Interface Graphical User Interface Vijeo Designer uses the Windows interface with its multi-window display. Java scripts. it features: Menu bar and Toolbar Status bar Navigator Graphic editor Feedback zone Provides access all the menus and tools use to develop the HMI application Advises users about the status of the software. 1 2-5 .The Vijeo Designer Interface (cont.) How to Start Vijeo Designer To start Vijeo Designer: Select the Vijeo Designer item from the Windows start menu: Start » Programs » Schneider Electric » Vijeo Designer » Vijeo Designer Vijeo Designer Manual Version 1. Exercise . Select Start » Programs » Schneider Electric » Vijeo Designer » Vijeo Designer. i. changes) (exact name of projects changes as product version 2-6 Version 5. iii. When the Open Existing Project dialog appears select the project Vijeo-Designer_Sample_640x480 from the list.1 September 2010 . Select the option Open existing Project then click Next > to continue. ii. Click Open to continue.Examine the User Interface 1 Open Vijeo Designer. When Vijeo Designer opens the Welcome Screen is displayed. Exercise . v.) iv. Examine the different screens in the project then close the project. The Vijeo-Frame warning will appear warning the user that existing projects will be updated to the current version. Vijeo Designer Manual Version 1. vi.Examine the User Interface (cont.1 2-7 . Click Yes to continue. When Vijeo Designer opens use the Navigator on the left side of the screen to open the different example panels. . ...............................3-18 Restore a Project ...............3-23 Project Simulation......................................3-21 Exercise ...........................Chapter 3: Overview Introduction Project Management This chapter describes the steps required in order to create a new Vijeo Designer project....................3-19 Exercise ...................................Delete a Project...............................................................................................................................................................3-20 Project Validation ......................................................................................................Import a Project ........................................3-10 Backup a Project ........................................................3-7 Save a Project...........................................................................3-4 New Projects ........3-16 Delete Projects ..................................................3-24 Exercise ...............Start the Simulation ...3-8 Exercise ..Create a New Project ..........................Validate the Project................3-15 Exercise ....................................................................................3-25 ................................................................3-5 Select the Target Model.....3-17 Exercise ..................................3-2 The Vijeo Manager .........3-3 Project Manager...............................Export a Project .... This Chapter Covers These Topics: The Navigator ............................................................................... The project can be displayed in two different ways: Vijeo-Manager Project 3-2 Version 5.1 September 2010 .The Navigator Navigator The Navigator allows the contents of a Vijeo Designer project to be displayed. 1 3-3 . It may be used to: Start a new project Select an existing project for editing Backup an existing project project must be closed first project must be closed first Export a project Vijeo Designer Manual Version 1.The Vijeo Manager Project Management The Vijeo-Manager has several different uses. security configuration and languages The alarm groups and categories The resource library for new objects (message display. bargraph and selector) Alarm group configuration The recipe group configuration Data logging group configuration Variable creation or importing The I/O manager configuration 3-4 Version 5.1 September 2010 . The list of graphic panels The popup windows and panels Environment . It gives: The name of the project and application.external data files.Project Manager Project Tree View The Project Manager is used to gain access all the components that make up the HMI application. A project can have several applications. meter. including several Magelis terminals. Whenever a project is created.New Projects First Step in the Configuration The first step when configuring Vijeo Designer is to create a new project. When naming the project. How to Create a New Project To create a new project: Open Vijeo Designer then click the New Project or Right click the Vijeo-Manager icon in the Navigator and select New Project… or Select the menu File » New Project… button. the default name Project is generated. and may contain any alpha-numeric characters and underscores [ _ ]. its name must be unique within Vijeo-Manager. the new project may be given a new name when it is created. If the default is kept but a previous project exists with the same name. The underscore character may not be the initial character and spaces may not be used. Vijeo Designer Manual Version 1. Alternatively. Note: The project name is restricted to 32 characters. a confirmation message will allow the user to replace the previous project with the new one. The project is where all information is stored.1 3-5 . 1 September 2010 . Then identify the Type of project Single target Multiple target Note: Multiple Target – Multiple configurations may be filed under a single project name.) How to Name the Project To name a Vijeo Designer project: Open the Create New Project dialog then add a name to the Project Name field.New Projects (cont. Each target (XBTGX) is configured independently. 3-6 Version 5. Select the Target Model Target Model Target Model . you must name the target and identify the model of the XBTGT/GK/GTW or iPC to be programmed.From this screen.1 3-7 . Note: The model selected simply sets the working area of the Graphic Editor and can be changed easily at a later stage if needed. Vijeo Designer Manual Version 1. All saved projects are visible in the Vijeo-Manager tab.Save a Project Default Location Vijeo Designer projects are saved in the default location C:\documents and settings\All Users\Documents\Vijeo Designer\ This location is defined during the product installation and may be changed during the installation process.1 September 2010 . 3-8 Version 5. Save a Project (cont.1 3-9 . Vijeo Designer Manual Version 1.) How to Save a Project To save a Vijeo Designer project: Click the Save button on the main toolbar or Select File » Save Project from the main menu or Click the Save button on the Navigator toolbar in the Project tab or Right click the Project Name in the Project tab and select Save from the menu. Exercise . Your instructor will give you files to copy into this folder. Right click the Vijeo Manager.1 September 2010 . Launch Vijeo Designer. i. 3-10 Version 5. These files will be used at various points in the course. Name the project Schneider Soup. Create a new folder on the computer named C:\Class.Create a New Project 1 Create a New Project. icon inside the Select New Project. ii. iii. Leave the rest of the fields with the default settings then click Next to continue. change nothing on this screen and click Next to continue.Create a New Project (cont.Exercise .1 3-11 . The first part of this course will run the project in simulation mode. This dialog sets the target IP Address.) iv. Click Next to continue. v. Select XBTGT model 6340 and name the target Factory. Vijeo Designer Manual Version 1. Therefore. Click OK. Click the Add button to open the New Driver dialog. vii.) vi. Click Finish to close the Create New Project wizard. The final screen displays the driver and the equipment that has been added in the list. 3-12 Version 5.1 September 2010 . The IP address will be added at the end of this exercise. Select a Schneider Electric Modbus TCPIP Communications driver and Modbus Equipment for the PLC.Exercise .Create a New Project (cont. The project Schneider Soup will be visible in the Vijeo-Manager tab and the contents of the project will be visible in the Project tab. Expand the project in the Navigator until the communications driver is visible under the IO Manager node. When the wizard closes examine the Navigator.Create a New Project (cont.) viii. Double click the PLC200 connection to open the Equipment Configuration dialog. Vijeo Designer Manual Version 1.Exercise . 2 Configure the PLC Connection.1 3-13 . i. Select ModbusEquipment01 in the Navigator and change the name to PLC200 in the Inspector. ii. i.200 0-based (Default) High word first 1-based (Unity Quantum) Low word first 3 Save the project.) iii.1 September 2010 .168. Field IP Address IEC 61131 Syntax Addressing Mode Double Word word order Premium 192.1.Create a New Project (cont. Identify whether the PLC is Premium or Quantum based and enter the settings below. 3-14 Version 5.1. There are two different configurations depending on the PLC type.200 Quantum 192.168. Vijeo Designer projects are saved in the default location My Documents » All Users » Vijeo Designer.Exercise . All saved projects are visible in the Vijeo Manager tab in the Navigator. . from the menu Vijeo Designer Manual Version 1.. from the main menu or Right click the project in the Vijeo-Manager and select Export Project. Exporting projects is useful for writing to removable media such as a flash drive... or copying to another computer over the network Note: Before an export can take place. for sending by email. the project must first be closed How to Export a Project To export a Vijeo Designer project: Select the project in the Vijeo-Manager then: Select File » Import/Export » Export Project.Backup a Project Export Projects Vijeo Designer projects may be backed up by exporting them as compressed files (VDZ file).1 3-15 . iii.Export a Project 1 Export the Schneider Soup project. Return to the Schneider Soup project and Save the project. iv.Exercise . 3-16 Version 5. Select File » Close Project from the main menu.1 September 2010 . Click OK. v.. Right click the Schneider Soup project in the Vijeo-Manager and select Export Project. When the project export is successful this dialog will be displayed.. The default location for exported projects is: C:\Program Files\Schneider Electric\Vijeo-Designer\Vijeo-Frame\Backup Save the Schneider Soup project in this location. ii. from the menu. i. the project must first be closed Vijeo Designer Manual Version 1.Delete Projects How to Delete a Project To delete a project: Select Edit » Delete from the main menu or Click the Delete button on the main toolbar or Right click the Project in the Vijeo-Manager and select Delete.1 3-17 . from the menu... Note: Before a project can be deleted. 1 September 2010 . 3-18 Version 5.Delete a Project 1 Delete the Schneider Soup project. Right click the project in the Vijeo-Manager and select Delete. from the menu. This warning message will appear.Exercise .. Click Yes. i. Ensure that the project is closed as projects may not be deleted if they are the active project.. ii. To restore a previously backed up project: Right click the level in the Vijeo-Manager where the project will be restored. then: Select File » Import/Export » Import Project.. from the main menu or Right click the project in the Vijeo-Manager and select Import Project. Vijeo Designer Manual Version 1.Restore a Project How to Import a Project Exported projects may be restored by importing the compressed project files in VDZ format.. from the menu The example shows a project that will be restored to the root directory.1 3-19 ... Exercise .. 3-20 Version 5. This message will appear when the import is successful. Right click the Vijeo-Manager icon in the Vijeo-Manager tab. i.vdz file from the backup folder.Import a Project 1 Import the previously exported Schneider Soup project. Select the Schneider Soup. ii. iii. 2 Double click the Schneider Soup icon in the Vijeo-Manager to reopen the project.1 September 2010 .. from the menu. Click OK. Select Import Project. Project Validation Validation Validation checks the project for errors. How to Validate a Project To Validate a project: Select the target then select Build » Validate Target from the main menu or Select the target and click the Validate Target or Right click the target and select Validate. It is quicker to validate as a separate operation. Yellow errors should be fixed but are not fatal.1 3-21 . In either case any errors that are detected must be fixed and have a red background. rather then as part of a download. from the menu button on the Navigator toolbar Vijeo Designer Manual Version 1... Validation automatically takes place when a project is downloaded to the target or download to the simulator. ) Feedback Zone The Feedback Zone displays system generated messages when the project is Validated.Project Validation (cont. Downloaded or Simulated. Red Errors must be fixed Double-click errors to navigate to the problem 3-22 Version 5.1 September 2010 . Exercise . 2 Save the project.. ii. Right click the target Factory and select Validate. Examine the Feedback Zone. i. from the menu. Some warnings will be displayed in yellow because the default panel has no objects. Vijeo Designer Manual Version 1.. Objects will be added to this panel in a later exercise.Validate the Project 1 Validate the Schneider Soup project.1 3-23 . 1 September 2010 . This can be a real PLC or a PLC program running in the Unity Pro or Concept simulators. This in effect allows you to connect Vijeo Designer to a virtual “soft” PLC. Start Device Simulation option . This allows developers to see how the graphics will appear but is not interactive like the first option. To do this.Project Simulation Simulation There are two choices for simulation.Vijeo Designer can connect to the configured PLC if it is reachable by the configuring computer. Start Simulation Option (first option) . select the first start simulation option.This option connects the application to a simulator that generates random numbers and drives the animated graphics. How to Start the Simulation To start the simulation: Select the target then select Build » Simulation from the main menu or Select the target then click the Simulate or Right click the target and select Start Simulation (Build) from the menu button on the Navigator toolbar 3-24 Version 5. Save the project. Click the Close button on the runtime window. Vijeo Designer Manual Version 1. iii. Right click the target Factory and select Start Simulation (Build) from the menu.1 3-25 .Exercise . ii. 2 The Vijeo Designer Runtime screen will start and display a black screen as this is the default Panel that is created with a new project.Start the Simulation 1 Start the simulation i. . ..................................4-5 Variable Addressing............Import PLC Variables .......................4-29 ............................................................................................................ a great deal of configuration is done at the variable level.........................................................Input Range.................. Some examples of this are: Assign variables to a logging group Input Limits ...Chapter 4: Overview Introduction Vijeo Designer Variables Variables are symbolic names for Magelis memory locations..4-27 Exercise .... variable scaling and persistence This Chapter Covers These Topics: Variables .......4-12 Block Variables. In Vijeo Designer............................" Vijeo Designer has both Internal and External variables Internal Variables – inside the Magelis only.......4-21 Scan Groups .........4-15 Variable Arrays ..............................4-9 Variable Logging Groups...4-2 Variable Editor ............4-22 Importing PLC Variables (Linking)........................................................e........................................... address A name only............4-26 XML Support for Variables ............................................................................................................................. Variables are also often called "tags.............................4-18 Reference Variable Solution .................................................................... PLC)..........4-24 Updating a Variable Link.................4-13 Variable Folders ...................................................................................... no physical External Variables – connected to an external device (i....limit operator inputs Alarm definitions...............4-14 System Variables........................................................................4-16 Reference Variables ........................................................4-11 Variable Properties .. 1 September 2010 .Variables What is a Variable? Variables exist in most. The right side of the equation is evaluated and then assigned to the left side. Consider this algebraic expression: z=x+y The letters x. A variable is a symbol or a name that represents a value. 4-2 Version 5. Variables are names given to represent the data. y and z are variables. programming languages. if not all. Substitute these values. x=3 y=5 when the values are substituted the expression can be evaluated so that z=8 Variables in programming work the same way. 1 4-3 .132.schneider-electric. Vijeo Designer is able to take those addresses and give them nice easy names.) Variable Names Each Variable is defined with a unique name. Variable Tags convert complicated I/O Device registers into names that are easier for we poor humans to understand.19.Variables (cont. Address %MW10 %MW14 %M2 %M3 Data 25. an address and are associated with an I/O Device.6 0 1 Vijeo Designer Manual Version 1.4 705.2 that are hard to remember can be converted to domain names such as www. the I/O Device registers are like the Dewey Decimal system used in libraries. a data type. However.4 705. Data coming in from field devices is stored in the I/O Device in registers. Tag Name Water_Temp Water_Level Water_Valve Water_Pump Address %MW10 %MW14 %M2 %M3 Data 25. It works the same way that Internet addresses such as 203. The way this works is similar to the way books are stored in a bookshelf.com. They use addresses that are not very user friendly.6 0 1 In a library it is made easier because books have titles that are easier for us to understand and remember. see Vijeo Designer Help Setting Up Variables. Type BOOL INT DINT UINT UDINT REAL STRING Designation Boolean Integer Double integer Unsigned integer Unsigned double integer Real String Format (bits) 8 16 32 16 32 2 to 100 characters See Also: For further information about Variable Data Types. Unless enough memory space is reserved when the variable is created. When variables are created some memory space is reserved for those variables. 4-4 Version 5. The variables sit together in memory like those books on the library bookshelf. there may not be enough room to place the value into the variable when it is assigned. This would be like trying to fit a book that is too big into a small gap between the other books. The data types commonly used in Vijeo Designer are listed in the table below.Variables (cont.) Data Types Variables are also given a Data Type.1 September 2010 . Vijeo Designer Manual Version 1. and logging group.1 4-5 . data source. Information may be updated directly in the spreadsheet. displaying the variable’s name. scan group.Variable Editor Variable Editor The Variable Editor displays variables in a spreadsheet format. data type. device address. alarm group. Variable Editor (cont. Used mainly by recipes 4-6 Version 5. DINT. UINT.1 September 2010 . Select New Variable then the Variable Type from the menu. REAL. Select from these types: Type Discrete Integer Float String Folder Block Variables Description Digital. ON/OFF Numbers without decimals points Real numbers Text data Folders store multiple variables of different data types A block of external variables of type Integer.) How to Create Variables Manually To create a variable in a project manually: Right click Variables in the Navigator. Variable Editor (cont.) How to Create Variables Manually (cont.) or Double click Variables in the Navigator to open the Variable Editor then click the New Variable button. The New Variable dialog will then open. Vijeo Designer Manual Version 1.1 4-7 Variable Editor (cont.) How to Create Variables Manually (cont.) or Click the down arrow on the New Variable select the Variable Type from the menu. button to open the menu then The new variable will be displayed in the Variable Editor. 4-8 Version 5.1 September 2010 Variable Addressing How to Set Direct Addressing If equipment is to communicate with a target machine, it is necessary to set up a device driver and specify device addresses. Follow the steps below to set up device addresses in the target machine. To set up a variable with direct addressing: Select or create a new variable in the Variable Editor. The variable may be edited by using the Variable Properties dialog or the Property Inspector. Set the source to External then click the Ellipsis Address field and set the address. button in the Device i. Modicon uses an offset (3) 1. 6 digit addresses are changed to 5 digit addresses by Vijeo Designer ii. IEC addressing (4) for all Schneider Electric platforms Vijeo Designer Manual Version 1.1 4-9 Variable Addressing (cont.) Indirect Addressing When the application uses any device address within a consecutive range, you can use indirect addresses. Using indirect addresses lets you change the device address associated with a variable, at runtime, by simply changing the value of the offset. Indirect addresses comprise a base variable and an offset variable Base Variable: A base variable is an external I/O variable—its device address defines the base address, or start point. To set up an indirect address for the base variable, select the Indirect Address checkbox. You will then need to select an offset variable. Offset Variable: An offset variable is an internal or external integer variable. Its value defines the offset from the base variable. The offset variable determines the number of units to shift and locates the actual device address. You cannot use another base variable as the offset variable. The offset cannot be a negative value. Do not set an offset value that's so large that is forces device addresses out of range Example Uses a starting address and an “offset pointer” 40001 is the start address and the value in the variable named in the indirect address field (myoffsetvar) is the offset If the value in myoffservar = 5, then the variable is connected to 40001 + 5 or 40006 if Device Address = %MW1 then variable is connected to %MW1 + 5 or %MW6 Works the same way with IEC addressing - Data Formats The Variable's Data Format may be selected. Select: BIN – binary BCD – binary coded decimal Signed or unsigned data 4-10 Version 5.1 September 2010 Variable Logging Groups Logging Groups Logging groups control when data is logged, where it is logged and how long to keep historical data. A maximum of 80 different logging groups. Once a logging group has been created, variables are assigned to the group and data logging is started. Multiple variables are assigned to a single group Historical data may be viewed with a historical trend chart or may be retrieved using the data manager Historical data is managed using a circular filing system When last file is filled, oldest file is overwritten See Also: For further information about Logging Groups, see the topic Data Logging (page 8-11). Vijeo Designer Manual Version 1.1 4-11 Variable Properties - Input Range Input Range When the Input Range is enabled it limits the value an operator may enter into a variable. Input Range is available for variable types Integer or Float DataScaling DataScaling defines how PLC data is converted between a Raw PLC value and a Scaled HMI displayed result. Scaling from the HMI to the PLC is not possible this way. 4-12 Version 5.1 September 2010 Block Variables Block Variables Block Variables are a special type of variable that enables faster communication with blocks of contiguous device addresses. Block variables are mainly used in recipes, which write values to multiple device addresses in a single step. Although a block variable has access to multiple device addresses, it appears in the Variable List as a single variable and counts as 1 towards the variable count. When working with a block variable, the variable is associated with a block of devices addresses, defined by the Start Address and number of Block Elements. Use the block address for when it is necessary to update multiple contiguous device addresses. In the following example, the target machine is set up to change the values in addresses 40101 to 40104. Vijeo Designer Manual Version 1.1 4-13 Up to 200 variables may be added to a folder. 4-14 Version 5. The use of Variable Folders improves the management of variables by creating a structure in the tag database and organising variables by machine.Variable Folders Variable Folders Variable Folders are used to store multiple variables. it is not possible to create nested folders (folder inside a folder). However. Variables may be of any data type.1 September 2010 . plant area. or other user defined categories. and DataType properties of system variables are read-only. the target's system variables are added to the Variable List. Vijeo Designer Manual Version 1. System variables begin with the underscore character (_). When a target is added to the project. Source.1 4-15 . change the name or copy system variables. The Name.System Variables. an integer variable that stores the panel ID of the currently displayed graphical panel.System Variables System Variables System variables are special variables that provide information about the target machine or system that the user application runs on. See Also: For a complete list of System Variables. For example. such as _CurPanelID. Some of the other system variables provide status information on an application as it runs. see Vijeo Designer Help . It is not possible to delete. _Day is a system variable that holds the current date of the target machine's system clock. Each variable in an array is called an element.Variable Arrays Variable Arrays An Array is a collection of variables with the same data type and the same data source. The variables are named MyInteger[0] – MyInteger[4]. Arrays are created by adding a number in the Array Dimension field.1 September 2010 . The total number of elements in an array cannot exceed 2048. 4-16 Version 5. A five element array of type INT is created from the configured information. 1 4-17 . the manufacturer can record how much product was created during each hour of the day over many days. one day is divided into 24 array elements. Using this array. with each element representing an hour. At the end of each hour. Arrays like this solution are highly useful because instead of making 24 individual variables to represent the hours of the day. Vijeo Designer Manual Version 1. the amount of product the manufacturer created in that hour is stored in the element. you only need one array with 24 elements in it to represent the hours of the day.) Array Solution In this solution.Variable Arrays (cont. multiple compressors in one application. The panel operator can use the reference variable feature to dictate which set of data is to be controlled or viewed using an assembly of Vijeo Designer objects. With reference variables. This feature is particularly useful in a system where there is multiple equipment with several sets of similar data. for example. it is not necessary to create multiple panels with similar objects for each set of data. It is also possible to change the variable that an object is referencing at run time.1 September 2010 . Source (1) – data source that is copied to the target variable Target (2) – receives data from one source Control (3) – variable that determines which source is copied to the target 4-18 Version 5.Reference Variables Introduction The Reference variable feature allows the creation of variables that reference other variables for their value. The variable that is being referenced may be changed during run time. The reference string becomes the name of the variable that the reference variable will use for its value. A reference variable can have one parameter variable one or multiple parameter variables. At runtime. Reference String: defines the variables that determine the reference variable's value during run time. The reference string is determined by the format and the values of the parameter variables at runtime. Parameter Variables: variables whose value is part of the reference string.1 4-19 .Reference Variables (cont. one at a time. part. the parameter variable's value can be changed by the panel operator in order to access a set of variables. Vijeo Designer Manual Version 1. During runtime. the reference variable can access data from multiple variables.) Terminology Reference Variable (Name): dynamic variable that can be used in place of a regular variable in an object. or action. You can have up to three parameter variables for each reference variable. Parameter 1 has a variable P1 and Parameter 2 has a variable S1.inserts the parameter as a decimal number %nd or %0nd . If P1 had a value of 2 and S1 had a value of 'A' then the reference variable would be connected to VAR2MachA 4-20 Version 5. %nd.where "n" is a constant number.Reference Variables (cont. and so on. Temp003. %d. for example: Temp%03d would be Temp001. there is a reference string. Temp33 %0nd . Example In the example above. Temp002. and %0nd are placeholders: %s . for example: Temp%3d would be Temp31. Enter a Unicode string that follows the syntax rules. where %s. VAR%dMach%s.1 September 2010 .) Reference String The reference string is where the name of the variable that will be referenced at runtime is built. %nd . Temp32.where "n" is an integer indicating the number of leading zeros.inserts the parameter as a string %d .inserts "n" (a number from 1-9) digits of a decimal number. 1. you define the Reference String and the Parameters. then the Reference String becomes production2. This will show the Production Rate and Running Time for the corresponding machine. On a Panel. So. iv. iii. allowing many different combinations Vijeo Designer Manual Version 1. create numeric displays for MachineNumber. which in this case. This variable will be used in a similar manner as the offset for indirect variables. and RefHours. Reference String is “hours%d”. Enable input for Machine Number When the project is run. In the properties for RefProd. The Reference String allows you to define how you want to select variables. These will be your reference variables.Reference Variable Solution Solution i. Create 2 internal variables: RefProd and RefHours and enable “Reference” in the properties. The value of %d is the Parameter. is MachineNumber. ii. RefProd. you can change MachineNumber between 1 – 5. it is set to “production%d”. The same process is done for RefHours 1. v. if MachineNumber = 2.1 4-21 . There can be a maximum of 3 parameters for a single reference string. 2. In this example. Create an internal variable called “MachineNumber”. Medium.Scan Groups Group of External Variables A scan group is a group of external variables from a single piece of equipment that are scanned at the same rate. Scan groups organise communication with equipment. 4-22 Version 5. When a PLC and a PLC driver is added to a project. There are four different scan rates offered: Fast.1 September 2010 . and User-Defined. Variables with equipment values that are scanned at the same rate should belong to the same scan group. The figure below shows a Modbus TCPIP driver and a Scan Group named ModbusEquipment01. a Scan Group associated with that driver is created automatically. Slow. 1 4-23 . The developer is then able to select from two different configured scan groups when defining the properties of the Variable.) Additional Scan Groups Once the equipment (PLC) has been added.Scan Groups (cont. Each scan group may have its own individual ScanRate (Polling Rate) that controls how often the Magelis requests an update for configured variables attached to the PLCs scan group. Vijeo Designer Manual Version 1. additional scan groups may be added to that equipment. TXT to . Just change the extension from the default .2 4-24 Version 5. It is possible to create a variable in a scan group and link it to Q4. %QXX).Importing PLC Variables (Linking) How to Link Variables Vijeo Designer has the ability to link variables and variable addresses directly to a PLC file. To Link Variables to an external file: Right click Variables and select Link Variables.. Vijeo Designer can be updated with the same information.CNN Vijeo Designer supports Unity direct addresses (%IXX.1. This feature saves time not only when the system is first implemented.CCN file. Whenever a change is made to the equipment configuration..1 September 2010 . from the menu Browse for the PLC program files. Unity – Export the variables in .XVM format Concept – export the variables out of Concept as a . but also during maintenance. ) Select the Variables to be linked and the Scan Group where the variables will be added.) How to Link Variables (cont.Linking Variables (cont. Click Add to add the Variables to the selected Scan Group in Vijeo Designer Vijeo Designer Manual Version 1.1 4-25 . Updating a Variable Link How to Update a Variable Link If variables have been added to a PLC program and there is a Vijeo Designer link to the PLC program file or an exported file of PLC Variables it is possible to add new variables by updating the link.. 4-26 Version 5.. from the menu. To Update a Variable Link: Right click the Variables node and select Update Link.1 September 2010 . Select the Link to update .it is possible to have multiple links to different files. Click Update then click Yes to confirm the Update. there are five possible file type formats: File Type Unicode XML (*.1 4-27 . When exporting.XML) ANSI CSV Files (*.XML Support for Variables File Types Vijeo Designer variables can be imported and exported from external files.txt) Description Saves the file as an Unicode XML file Saves the file as an ANSI CSV commaseparated or semi-colon value file Saves the file as an Unicode CSV commaseparated or semi-colon value file Saves the file as an ANSI TXT file. Specify the file's field delimiter from the Field Delimiter drop-down list Saves the file as an Unicode TXT file.csv) Unicode CSV Files (*. Specify the file's field delimiter from the Field Delimiter drop-down list Unicode TXT Files (any delimiter) (*. The XML format allows all of the properties of the variables to be imported and exported.csv) ANSI TXT Files (any delimiter) (*.txt) Vijeo Designer Manual Version 1. ...XML Support for Variables (cont. from the menu. Select the desired file type in the Files of Type field and name the file.) How to Export Variables To export variables from Vijeo Designer: Right click the Variables node in the Navigator. and select Export Variables. 4-28 Version 5.. from the menu. How to Import Variables To import variables into Vijeo Designer: Right click the Variables node in the Navigator and select Import Variables.1 September 2010 . Select the File Type and browse for the exported file. iv.Import PLC Variables 1 Import Variables for the project. Right click the Variables item and select Import Variables. v. 2 Save and validate the project. Click Open to continue.XML and browse to the C:\Class folder. You will be importing a XML file from your C:\Class folder containing most of the variables used in this project.XML. ii. iii. The feedback zone will indicate the success of the import. The variables are imported into the default Scan Group. Change the folder name to External as shown.1 4-29 .Exercise . Select the XML file SchneiderSoup. i. Change the Files of Type filter option to . Vijeo Designer Manual Version 1. 4-30 Version 5.1 September 2010 . ..............................................................................................Add Circles and Lines to the Process Panel ....5-7 Graphical Objects Toolbar.....5-28 Exercise ............................ Ellipses and Circles ..5-39 Rectangles.................Create Base Panels.........................................................................................5-19 Exercise ......................................................5-18 Base Panels ....Add an Image to the Master Panel.............Chapter 5: Overview Introduction Graphics The graphical panels are one of the principle components of a Vijeo Designer project...............Add Time and Date Objects ...........5-20 Panel Text ......................................................................5-24 Exercise ...........Add Clipart to the Process Panel ...............................................................Create a Master Panel ......5-11 Exercise .........................5-5 The Property Inspector............................. and can be designed to display data as well as to accept operator input.................................5-43 Exercise ........................................................................... This Chapter Covers These Topics: Graphic Panels .....5-15 Color Picker Tool................................................Add Text Objects to a Panel ..........5-25 Navigation Introduction......... Graphical panels are comprised of a master panel...................................... They are the interface for plant operators.............................................................................................5-41 Lines................5-13 Exercise ........................... the objects drawn on the page.....................................................5-27 Panel Navigation.5-9 Draw Basic Objects .. as well as properties specific to the page................5-36 Exercise ...5-6 Exercise .. Polylines and Polygons ... Squares.............................................................5-30 Add Clipart to a Panel.......5-46 ............................Add Switches to a Panel .......5-12 Time and Date Display .........5-2 Graphical Editor........ Popup windows are used frequently to provide detailed information about something being shown on the main panel.1 September 2010 . On a master panel. Move up one folder level. Vijeo Designer automatically creates a panel in the Base Panels folder under the Graphical Panels node in the Navigator window. if you have a folder structure.Graphic Panels Panel Types The Graphical Panels node in the Navigator window provides the following types of panels: Base Panels When a project is created. developers can draw objects and place Toolchest parts. Master Panels Popup Window Panels Thumbnail View The thumbnail view toolbar allows developers to: Display the current path in the base panel folder. Switches and lamps can be placed. Change the thumbnail size to large or small. or other objects can be drawn on a base panel. The panel that is created becomes the display screen on terminals Master panels are panel templates that can be applied to any base panel in the project. At Runtime. operators can open the popup window panel over the current panel using a variety of methods. A panel is the canvas the developer uses to draw objects and place Toolchest parts. 5-2 Version 5. to create a panel of common objects that can be used for all base panels in a project. Graphic Panels (cont. On a Master Panel. to create a panel of common objects that can be used for all base panels in a project. Master panels also store information about the common objects. Vijeo Designer Manual Version 1. such as font styles and background design. developers can draw objects or place Toolchest parts. All objects on a Master Panel are displayed on the Base Panels that use the Master Panel.1 5-3 . Master panels are like templates Create template objects (Master Panel) that may be added to a Base Panel Not a complete panel by itself Changes made on the Master Panel are applied to all Base Panels that use the Master Panel.) Master Panels Master Panels are panel templates that can be applied to any Base Panel in the project. Graphic Panels (cont. This concept is called Master Panel Layers and it is possible to use up to eight master panels layers. the master panel becomes a base panel. Master panels may be organised in a folder structure. 5-4 Version 5. Panel Folders How to Move a Master Panel To move a Master panel: You can use the cut/paste or drag/drop method to move a master panel under the Base Panel node or into a base panel folder.1 September 2010 .) Master Panel Layers It is possible to add together multiple Master Panel objects on a single base panel as long as objects on each do not physically overlap. or from one Master Panels folder to another. When you move a master panel under the base panel node or into a base panel folder. It is recommended that a master panel folder be created to organise a group of master panels. Vijeo Designer Manual Version 1. it can be edited by double clicking the panel in the Navigator. The Graphical Editor is the working area that contains the panel being created or edited.Graphical Editor Graphical Editor The Graphical Editor allows developers to: Develop or edit graphical panels Develop or edit Popup panels Windows may be resized as desired List of current project panels appears in list under heading Graphical Panels in the Navigator Once a panel has been created.1 5-5 . When a screen object is selected.1 September 2010 . opened or closed as needed 5-6 Version 5. The Property Inspector: Displays the name of the selected object Displays the size of the object Displays the properties of the selected object in the Graphics Editor Properties for the object are edited here May be positioned.The Property Inspector Property Inspector The Property Inspector . the Property Inspector displays all the properties of the selected object in the Property Inspector window. Go to the Property Inspector and click the black rectangle in the Back Color property. A new panel will open in the Graphical Editor.1 5-7 . right click Master Panel and select New Panel. Vijeo Designer Manual Version 1. ii.Exercise . From the Navigator.Create a Master Panel 1 Create a new Master Panel. i. 5-8 Version 5. property to white.Create a Master Panel (cont. 2 Save the project. A standard color palette tool will open.) iii.Exercise . Change the Back Color Note: The background colour of a Master Panel does not matter since it will become an "overlay" of the Base Panel that uses it.1 September 2010 . 2.Graphical Objects Toolbar Graphic Objects (Left) The Graphical Objects toolbar contains the tools necessary to draw or select objects.3 and 5 Normal Line Start Direction Line End Direction Line Bi-Direction Line Draws a straight line (without arrows) Adds an arrowhead to the end of the line Adds an arrowhead to the end of the line Adds an arrowhead to the beginning and end of the line Draws a series of connected line segments (without arrows Adds an arrowhead to the beginning of the Polyline Adds an arrowhead to the end of the Polyline Adds an arrowhead to the beginning and the end of the Polyline Polyline Normal Polyline Start Direction Polyline End Direction Polyline Bi-Directional Polyline Polygon Bezier Curve Rectangle Draws a Polygon Draws a Bezier curve Rectangle Round Rectangle Cut Cornered Rectangle Draws a rectangle or a square Draws a rectangle or a square with rounded edges Draws a rectangle with cut corners Ellipse Arc Pie Symmetric Polygon Draws a circle or an oval Draws an arc Draws a pie shape Symmetric Polygon Star Symmetric Polygon Draws a symmetric polygon Draws a star-shaped symmetric polygon Vijeo Designer Manual Version 1. These are the Select Object Tool and the Standard Drawing objects.1 5-9 . Icon Name Select Object Dot Line Functionality Selects an object on the panel Draws dots in sizes of 1. Image and animated tools Icon Name Scale Functionality Vertical Scale Horizontal Scale Circular Scale Draws a vertical scale of horizontal lines Draws a horizontal scale of vertical lines Draws a scale in circular form Text Image Switch Radio Lamp N-State Lamp Data Display Inserts a text string Inserts an image file Draws a switch Draws a radio switch Draws a lamp Draws an N-State Lamp Numeric Display String Display Date Display Time Display Draws a numeric display that shows the variable value Draws a string display that shows the variable value Draws a date display that shows the date stored in the internal clock Draws a time display that shows the time stored in the internal clock Draws an object that displays a text string based on a variable value Draws an object that displays an image based on a variable value Message Message List Image List Meter Bar Graph Draws a circular graph Vertical Bar Graph Horizontal Bar Graph Draws a graph that shows data growing up or down Draws a graph that shows data growing right or left 5-10 Version 5.Graphical Objects Toolbar (cont. Text.) Graphic Objects (Right) This side of the Graphical Objects Toolbar contains the Scale.1 September 2010 . Position the cursor over the point where the bottom right of the image will be placed and click a second time to define the area of the image. Position the cross on the Image cursor over the top left point on the Panel where the image will be placed and click. Use the Browser to select a graphical image. button on the Vijeo Designer Manual Version 1. The cursor will cursor.Draw Basic Objects How to Add an Image To add an image to a panel: Click the Image change to the Image button on the Graphical Objects Toolbar. Hints & Tips To cancel any of the object cursors click the Select Object Graphics toolbar or press the ESC key.1 5-11 . iii. Click the Image button on the Graphical Objects Toolbar.Exercise . iv. 2 Save the project. i. Return to the Master Panel MasterPanel1 created in Exercise Create a Master Panel (page 5-7). 5-12 Version 5. Position the cursor over the point where the bottom right of the image will be placed and click a second time to define the area of the image. ii. Position the image approximately as shown below.1 September 2010 . When the browser opens select the image factory. Position the cross on the Image cursor over the top left point on the Panel where the image will be placed and click.jpg from your C:\class folder to that panel as shown.Add an Image to the Master Panel 1 Add an Image to the Master panel. 1 5-13 . Once the object has been placed on the page it is possible to customise the display format and display attributes. Vijeo Designer Manual Version 1.Time and Date Display Time and Date Display The Date and Time Display Tools allow developers to add Date and Time information to any panel. 5-14 Version 5.1 September 2010 . Position the cursor over the point where the bottom right of the object will be placed and click a second time to define the area of the object.) How to Add a Numeric Display Object To add a Numeric Display object to a panel: Click the down arrow on the Numeric Display button to open the menu then select the type of Numeric Display object to be placed on the page. The cursor will change to one of these cursors: Numeric Display String Display Date Display Time Display Position the cross on the cursor over the top left point on the Panel where the object will be placed and click.Time and Date Display (cont. Position the cursor over the point where the bottom right of the object will be placed and click a second time to define the area of the object. Position the cross on the Date Display cursor over the top left point on the Panel where the object will be placed and click.1 5-15 . Position the object above the top left corner of the Factory.Add Time and Date Objects 1 Add a Date Display object to the Master panel. Click the arrow next to the Numeric Object button on the Graphical Objects Toolbar. Return to the Master Panel MasterPanel1 created in Exercise Create a Master Panel (page 5-7).Exercise . ii. Vijeo Designer Manual Version 1.jpg image. i. Select Date Display from the menu. iii. i. 5-16 Version 5.Add Time and Date Objects (cont. Change the Format to dd/mm/yyyy and the Style to 000000. When the area of the object is outlined the Date Display Settings dialog will open. ii.) 2 Configure the settings of the Date Display object.Exercise .1 September 2010 . Repeat the steps above to add a Time Display object above the top right corner of the Factory. Click the white rectangle under Text to open the color palette and change the font colour to Black. Hints & Tips To Show and Hide the grid right click anywhere on the background of the panel and select Show Grid » Line or Show Grid » Dot.1 5-17 . 4 Save the project. Click OK.Add Time and Date Objects (cont. i. Select the Color tab. Vijeo Designer Manual Version 1.Exercise .jpg image.) iii. 3 Add a Time Display object to the Master panel. 1 September 2010 . The Color Picker image. However. if a colour cannot be found in the Standard Color Palette a colour may be created by selecting a colour from an image.Color Picker Tool Select a Colour from an Image Most of the time it is possible to find colours using the Standard Color Palette. tool allows the user to select a colour from an existing 5-18 Version 5. To create a new Base Panel: Select the Base Panels node and click the Insert New Panel Navigator toolbar or Select the Base Panels node and press the Insert key on the keyboard or Right click the Base Panels node and select New Panel or New Panel with Master... from the menu button on the Vijeo Designer Manual Version 1.1 5-19 . Master panel(s) may be used as a template when creating a new base panel.Base Panels How to Create a New Base Panel The panels in a project may be created in the beginning of the development phase or created as they are needed. i.1 September 2010 .Exercise . iii.Create Base Panels 1 Create a new Base Panel. When the Style Browser opens select MasterPanel1. Select New Panel with Master. ii. Go to the Navigator and right click the Base Panels node. from the menu. 5-20 Version 5... ii.Exercise . In the Property Inspector change the name of the panel from Panel2 to Navigate.) 2 Adjust the colour of the background. The cursor will change to the Color Picker tool.1 5-21 . 3 Change the name of the base panel. Click the edge of the Factory. i. i. Vijeo Designer Manual Version 1.Create Base Panels (cont. Click the black rectangle of the Back Color property in the Property Inspector to open the color palette.jpg image then click OK. Click the Color Picker. Change the name of the panel to Main.Exercise . iii. i. 5-22 Version 5.) 4 Add the Master Panel to an existing panel. Go to the Property Inspector and click the white rectangle in the Master Panel property to open the Panel List.Create Base Panels (cont. iv. When the project was created a panel named Panel1 was included by default. Select MasterPanel1 and click OK. ii.1 September 2010 . Select this Panel1 in the Navigator. Name these panels as shown.Exercise . Create four additional new panels but do not use the master panel for these four panels. Vijeo Designer Manual Version 1. i.) 5 Create the panels for the project. 6 Save the project.Create Base Panels (cont.1 5-23 . The cursor will cursor.1 September 2010 . To add text to a panel: Click the Text change to the Text button on the Graphical Objects Toolbar. Click the top left and bottom right corners of the text box area. Select the Text Color and the 3D Color. 5-24 Version 5. How to Add 3D Text To add 3D Text to a panel: Select 3D from Font Style in the Text Editor then go to the Property Inspector.Panel Text How to Add Text Labels Text may be added to any panel and may be either static text or animated. Type the text into the blank area then select the font and font style. When the area is defined the Text Editor will open. Click the Text button. i.Exercise .1 5-25 . Open the Main panel. This panel will be the Splash Screen for the project. Add a Text object above the Date and Time Objects. ii.Add Text Objects to a Panel 1 Add Text Objects to the Main panel. Change these settings then click OK: Property Font Font Style Text iv. Value Vijeo Modern 28x50 3D The MAIN Panel Go to the Property Inspector and change these properties: Property Text Color 3D Color Value Blue Black Vijeo Designer Manual Version 1. iii. Use the same property settings as above. 5-26 Version 5.jpg image that reads Schneider Soup. Add another Text object below the Factory.) v. The panel should look similar to this: 2 Save the project.Exercise .Add Text Objects to a Panel (cont.1 September 2010 . it is possible to designate the top level panel in the configuration. It leads to a Navigation panel that has four navigation switches. the developer is responsible for creating the rest of the navigation.e. Navigation between panels must be created by the programmer Navigation between panels may be done using: A native switch Custom animation on any object (older method) Scripting Native switches are the most common method It is good practice to create a plan for the panels.1 5-27 . the first panel that is seen upon a startup. Vijeo Designer Manual Version 1. When testing the application. After that. including the required navigation. The top switch opens a "Process" panel (shown).Navigation Introduction Panel Navigation Basics The developer must create the navigation between all panels during the development process. i. Other switches include an Alarm panel. a Trending panel and a path to the System Area. In the example above. the Top level panel is shown on the left. 1 September 2010 . When this is completed the Switch Settings dialog will open. 5-28 Version 5. The cursor will cursor.Panel Navigation How to Add a Switch To add a Switch to a panel: Click the Switch change to the Switch button on the Graphical Objects toolbar. Click the cursor on the top left and bottom right corners of the area for the Switch. The System operation navigates to the System Area.Panel Navigation (cont.) How to a Switch for Navigation To create switch navigation: When the Switch Settings dialog is open select the When Touch operation Panel. Browse for the target panel then click the Add > button to add the selection to the list of operations.1 5-29 . Vijeo Designer Manual Version 1. The cursor will Click the cursor on the top left and bottom right corners to define the size of the Switch. Click the Switch button on the Graphical Objects toolbar. i. cursor. This will open the Switch Settings dialog. Draw a Switch under the heading The MAIN Panel.1 September 2010 . change to the Switch iii. Open the main panel. ii. 5-30 Version 5.Add Switches to a Panel 1 Add a switch to the Main panel.Exercise . Select the Panel option in the Operation field of the When Touch tab.Exercise . button to open the Panel List.1 5-31 .) iv. Click the Add > button to add the operation to the list. Vijeo Designer Manual Version 1. v.Add Switches to a Panel (cont. Select the Click the Ellipsis Navigate panel then click OK. Change the Label Type to Static. 5-32 Version 5. Open the Label tab. Open the Color tab.1 September 2010 . Add the text Enter into the text field. Click OK to close the dialog. Return to the Color tab and change the Text Color to Black. vii.Exercise . viii.) vi. Change the Fore Color to light grey.Add Switches to a Panel (cont. ) 2 Add Text and Switches to the Navigate panel.Exercise .1 5-33 .Add Switches to a Panel (cont. i. At the completion of this exercise the Navigate panel will look like this: ii. Open the page Navigate and add the page title Factory Navigation. Vijeo Designer Manual Version 1. Exercise .) iii.1 September 2010 .Add Switches to a Panel (cont. Use the following settings for the switches: Switch Cookhouse Alarms Process History System Settings Panel Process Alarms History System Configuration (details below) 5-34 Version 5. from the menu. Right click the target Factory and select Validate.. Save the project.Exercise . iii.. Test the navigation between all panels to ensure that everything functions`` correctly. v. ii.) 3 Validate and test the project.Add Switches to a Panel (cont. Right click the target Factory and select Start Simulation (Build) from the menu.1 5-35 . Vijeo Designer Manual Version 1. Fix any errors that might appear in the Feedback Zone iv. i. Fix anything that does not work correctly. and start in a window. The project will compile. The Toolchest pane will 5-36 Version 5. use the native tools previously described.1 September 2010 . Whenever possible. contains a list of all tools by function (1) Expanding the list (1) displays available choices for the category selected (2) Custom tools may also be created and reused How to Open the Toolchest To open the Toolchest: Click the Toolchest become visible. button on the Tools toolbar. The toolchest also contains a large library of clipart filed under the heading Image Library The Tool Chest.Add Clipart to a Panel The Toolchest The Toolchest contains groups of predefined tools to be used in panel development. Add Clipart to a Panel (cont. Images are filed by category such as tanks and valves. Available images appear when the category is selected. Select Image Library. Drag and drop the image to add it to the panel then Resize image as needed Vijeo Designer Manual Version 1.) How to Add Clipart To add clipart to a panel: Click the Toolchest button to open the Toolchest pane.1 5-37 . the Process Panel will appear as shown. 5-38 Version 5.) Process Panel At the end of this chapter.Add Clipart to a Panel (cont.1 September 2010 . . Right click the Favorites folder and select Import Folder. ii. Click the Toolchest button.Add Clipart to the Process Panel 1 Start the Process Panel. iv.1 5-39 .ztc. Drag and drop the pipes from the folder onto the Process panel. Object Tank Water Hopper Stock Hopper ING Hopper Adjuncts Hopper Steam Valve Pump Pipes Library Image Library/Tanks Image Library/Food Symbol Tank5 Stainless Steel Hopper Image Library/Valves Image Library/Pumps Image Library/Pipes 3-D Valve Vertical pump (down) 90° curve 3 Short pipe horizontal Mixer Image Library/Mixers Mixer blade Vijeo Designer Manual Version 1. from the menu. i. Add the following items to the Process Panel.. Navigate to the C:\Class folder and import the file Training. iii. This will create a custom folder in the Toolchest that contains the pipes used in the Process screen.Exercise . i. 5-40 Version 5. Hints & Tips An alternative method is to copy the Enter switch from the Main panel and paste onto the Process panel then change the attributes to suit this instance of the object. The panel should look similar to this. 3 Save the project.1 September 2010 .) 2 Add text and switches to the panel.Exercise . Add text labels above the four hoppers using the same method in Exercise .Add Clipart to Process Panel (cont. Use the same method demonstrated in Exercise Add Switches to a Panel (page 5-30). iii. Add a switch above the hoppers that will return the operator to the Navigate panel.Add Text Objects to a Panel (page 5-25). ii. Ellipses and Circles The Rectangle Tool The Rectangle tool is used to draw rectangles and squares. Press (and hold) the Ctrl key. Vijeo Designer Manual Version 1. Move the cursor to where the square will start then click the mouse button. Move the cursor to the opposite corner of the rectangle then click the mouse button again. These objects can be moved. To draw a rectangle: Click the Rectangle tool.1 5-41 . and their properties edited just like other types of objects. resized. To draw a square: Click the Rectangle tool. brought to the front and so on. Squares. Move the cursor to where the rectangle will start then click the mouse button.Rectangles. Move the cursor to the opposite corner of the square then click the mouse button again. reshaped. circles.Rectangles. Like the Rectangle tool the Ellipse tool can be moved. brought to the front and so on. Squares.1 September 2010 . 5-42 Version 5. Move the cursor to a corner of the bounding rectangle (marquee) and click the mouse button. Ellipses and Circles (cont. Move the cursor to a corner of the bounding rectangle (marquee) and click the mouse button. and pie-slices.) The Ellipse Tool The Ellipse tool is used to draw ellipses. To draw a circle: Click the Ellipse tool. To draw an ellipse: Click the Ellipse tool. resized. Move the cursor to the opposite corner of the bounding rectangle then click the mouse button again. Move the cursor to the opposite corner of the bounding rectangle then click the mouse button again. reshaped. and their properties edited just like other types of objects. arcs. Press (and hold) the Ctrl key. The cursor will change to the Line cursor.Lines. To draw a line: Click the Line button. Click the panel background and move the cursor to the location of the desired end point then click again. The properties of the Line may be changed in the Property Inspector. Polylines and Polygons The Line Tool The Line is one of the simplest objects to draw.1 5-43 . The method to draw as line is the same as most graphic programs. Lines with different arrow heads may be chosen from the Line Button menu. Vijeo Designer Manual Version 1. a polygon will close the shape by drawing a line between the final node and the first node. button.Lines. Click the panel background and move the cursor to the location of the desired nodes and click for each node. 5-44 Version 5. Unlike the polyline. To terminate the polyline click the right mouse button The Polygon Tool To draw a polygon: Click the Polygon button. Polylines and Polygons (cont.1 September 2010 . where the shape is complete at the point of the final node. To terminate the polygon click the right mouse button. The cursor will change to the Polygon cursor. The cursor will change to the Polyline Click the panel background and move the cursor to the location of the desired nodes and click for each node.) The Polyline Tool To draw a polyline: Click the Polyline cursor. This allows the user to Add and Delete nodes as well as add properties to the entire shape. When a node is selected a context sensitive menu is available when the right mouse button is clicked.1 5-45 . To edit nodes: Select the shape by clicking once then click again to enter edit mode.) Node Editing Nodes may be moved and edited after the shape has been completed. Vijeo Designer Manual Version 1. When the cursor hovers over one of the nodes it will change shape to a Crosshair cursor. Polylines and Polygons (cont.Lines. 5-46 Version 5.1 September 2010 .Add Circles and Lines to the Process Panel 1 Add a circles to the Process Panel.Exercise . i. runtime properties will be added in a later exercise. Add circles to the Hoppers to represent the Hopper Valves. Add circles to the Pump and Mixer to represent their status. ii. ) 2 Add a polyline and a polygon to the panel. i.Exercise . Add a polygon to the Tank to create a cutout. Add a thick polyline to the panel to represent the Steam Pipe.1 5-47 . ii. Hints & Tips Use the Arrange menu to adjust the layers of the objects so that the cutout is behind the Mixer and Mixer Status objects. 3 Save the project.Add Circles and Lines to the Process Panel (cont. Vijeo Designer Manual Version 1. . .............Chapter 6: Overview Introduction Animation and Controls Animations and Controls allow operators to interact with the Vijeo Designer runtime system....................................................6-32 .................6-3 Numeric Displays ................6-14 Exercise ...................Use a Color Resource ...................6-30 Exercise ...............................................................................................................................Add a Bar Graph.......6-16 Color Resources.....................................Add Control Switches.......... This Chapter Covers These Topics: Animation ..........Numeric Input/Output Displays............... Controls allow operators to input command data...............................................................................................6-17 Exercise ..............................................6-28 Lamps......................................................................6-4 Exercise .............6-2 Expression Editor.6-29 Exercise ..........................................6-22 Exercise ...............................................Animate Objects .........6-19 Bar Graphs ..Add a Lamp ..................................................................... Animations provide the operator with feedback regarding the status of the system....................6-11 Custom Shape Animation .... they were drawn so that at runtime they would appear the same as the original image.Animation Runtime When the objects were placed on the Process page.this can be achieved by setting the properties of the objects and by drawing some additional objects.1 September 2010 . However. This is fine if the objects are intended only as a static graphical representation of the plant. The following diagram shows the next stage in drawing the Process page: 6-2 Version 5. at runtime it is possible to receive dynamic information about the plant from the graphical display . 1 6-3 . Vijeo Designer Manual Version 1.Expression Editor Link Variables to Objects The Expression Editor may be used to add variables or expressions to an object. When the variable has been selected the full address will appear in the Expression field. To use the Expression Editor: Click the Expression Editor Expression Editor Pad. button in the Variable field to open the Double click a variable in the window. Numeric Displays Output Displays The value of any variable may be displayed as a number. When the value of the variable changes, the number on the panel is updated automatically. 6-4 Version 5.1 September 2010 Numeric Displays (cont.) How to Add a Numeric Display Output Numeric Displays simply display the value contained in the linked variable. To add a numeric display to a panel: To add a numeric display: Click the Numeric Display button from the Graphical Tools Toolbar. Add the Variable to be displayed into the Variable field. Select the desired font and font attributes. Vijeo Designer Manual Version 1.1 6-5 Exercise - Numeric Output Displays 1 Add numeric display to the Water Hopper. i. Click the Numeric Display button and draw the outline area for the Numeric Display area over the Water Hopper. ii. The Numeric Display Settings dialog will open automatically. 6-6 Version 5.1 September 2010 Exercise - Numeric Output Displays (cont.) 2 Add a variable using the Expression Editor. i. Click the Expression Editor the Expression Editor Pad. button in the Variable field to open ii. Double click the variable Tank_H20 in the window. When the variable has been selected the full address Internal.Tank_H20 will appear in the Expression field. Click OK to continue. Vijeo Designer Manual Version 1.1 6-7 Exercise - Numeric Output Displays (cont.) iii. Change the value in the Display Digits field to 4 digits. iv. v. Open the Color tab and change the Text colour to Black. Click OK to close the dialog. Add three more Numeric Displays for the other hoppers using these settings. Object Stock Hopper ING Hopper Adjuncts Hopper vi. Variable External.Tank_STK External.Tank_ING External.Tank_ADJ Display Digits 4 4 4 The Hoppers with their Numeric Displays should look like this: 6-8 Version 5.1 September 2010 Exercise - Numeric Output Displays (cont.) 3 Add numeric displays around the Tank. i. Add three additional Numeric Displays: Object Temp Time Tank Level ii. Variable External.TMP_act External.TL External.Batch_Total Display Digits 2 2 4 Add the text labels to the TEMP and TIME displays: 4 Save the project. Vijeo Designer Manual Version 1.1 6-9 Numeric Displays (cont.) Input/Output Displays If a display is to have input capability, the Input Mode tab must be configured also. Enable the Input mode and the Popup Keypad to provide for operator input It is possible to specify minimum/maximum input limits that are different than the limits created on the variable linked to this object at this level 6-10 Version 5.1 September 2010 SP_TEMP External. This will allow the operator to input the Setpoint for each of these tags from the Panel during runtime.Exercise .SP_ING External. Variable External.SP_STOCK External.SP_TIME Display Digits 3 3 3 3 3 3 Text Label Water Stock ING Adjuncts Cook Temp Cook Time Open each of the Numeric Display objects and select the Input Mode tab.SP_ADJ External.Numeric Input/Output Displays 1 Add Input/Ouptut displays to the panel.SP_H2O External. Activate the fields Enable Input Mode and Display Popup Keypad. Numeric Object Water Stock ING Adjuncts Cook Temp Cook Time ii. Add six Numeric Displays to the right of the Tank with associated Text Labels. Vijeo Designer Manual Version 1. i.1 6-11 . SP_TEMP External. Open the Variable Editor and double click the grey box to the left of the variable SP_H20 to open the Variable Properties dialog.SP_ING External.SP_H2O External.SP_TIME Min 100 10 5 20 10 5 Max 200 80 15 100 50 10 6-12 Version 5.SP_STOCK External.SP_ADJ External. Add these limits for each of the variables.1 September 2010 . Select the Data Details tab and enable the Input Range.Exercise .) 2 Limit the Operator Input.Numeric Input/Output Displays (cont. i. ii. Variable External. iii. Numeric Keypad will open. Validate and correct any problems. Save. Open the Process panel and click one of the Input Displays. iii. Shutdown the project.Numeric Input/Output Displays (cont.Exercise .) 3 Test the project. Enter values into each of the fields. 4 Vijeo Designer Manual Version 1. Run the project (simulation mode) as it should be functional at this point. ii. The iv. i.1 6-13 . Test to see if it is possible to enter values outside the varialbe limits. 1 September 2010 . The Animation Properties of the object may be configured to display the status of the valve based on the value of a variable. Exercise . This is useful when displaying the status of a boolean tag and could represent a pump.Custom Shape Animation Color Change Any closed shape may be animated to change colour based on the value of a variable. motor valve or the ON/OFF status of any two state device. 6-14 Version 5.Add Circles and Lines to the Process Panel (page 5-46) uses circles overlayed on a pipe to represent the ON/OFF status of a valve. ) How to Animate an Object To Animate an object to change colour: Draw and object then double click the object and open the Color tab. In the example below.Custom Shape Animation (cont.1 6-15 . based on the value contained in the variable Vijeo Designer Manual Version 1. the shape was linked to an Integer variable and this allows the object to have multiple color changes. Link the object to a variable. ON = GREEN then click OK. 6-16 Version 5. iii. iv.Animate Objects 1 Add colour animations to the valves. vi. Change the value in the Mode: field to Free Form.STK_ATV External. Use the same animation settings for the other Hopper Valves and add these variables: Valve Stock Valve ING Valve Adjuncts Valve Variable External.ADJ_ATV 2 Save and Validate the project.H20_ACT. ii. Add the variable External.ING_ATV External. Use the default colours OFF = RED. v. Double click the circle below the Water Hopper that represents the Water Valve.1 September 2010 . i. Activate the Enable Fore Color Animation option.Exercise . ColorResource001 has been set up to identify attributes for all possible animation objects. Vijeo Designer Manual Version 1.Color Resources Color Attributes Color resources may be used to identify a set of color attributes that may be applied to various animation objects A color attribute has a name and stores the attributes that are identified for the color resource. After the Color Resource has been created the Graphical Editor will display the available programmable attributes for the selected items.1 6-17 . from the menu. After the Color Resource has been created it may be applied to an Animation object.Color Resources (cont.1 September 2010 . 6-18 Version 5...) How to Create a Color Resource To create a Color Resource: Select the Color node in the Resource Library and press Insert on the keyboard or Right click the Color node and select New Resource. from the menu. Change the No.Exercise . Click OK. Vijeo Designer Manual Version 1. i. ii. iii. of States field to 2 and select only the Color Animation option. Expand the Resource Library node in the Navigator. Right click the Color node and select New Resource..1 6-19 .Use a Color Resource 1 Create a Color Resource. Name the new Color Resource Process. When the Color resource is selected in the Navigator the Graphical Editor displays all the configured Color Resources.. Change the OFF color to Red and the ON color to Green. iii.1 September 2010 .HEAT. Use the drop down list in the Color Resource field to select the Process Color Resource. 6-20 Version 5. Return to the process page and double click the Steam Pipe (thick line) to open the object properties dialog.Use a Color Resource (cont. ii.Exercise . i.) 2 Use the Color Resource in an object. Activate the Enable Color Animation field and use the variable External. Animate the circles that represent the Pump and the Mixer status: Object Pump Circle Mixer Circle Variable External.) iv.Use a Color Resource (cont.1 6-21 .PMP External. Vijeo Designer Manual Version 1.Exercise .MIXR 3 Save and validate the project. They may come from the Native Toolbar. the size of the Indicator increases or decreases along with the changing value. The Bar Graph's scale and labels enable the user to measure the length of the Indicator and identify the current value of the variable or the expression that is linked to the Bar Graph. A Bar Graph links to a variable or an expression.1 September 2010 . 6-22 Version 5.Bar Graphs Bar Graph A Bar Graph is a rectangular scale with fill animation. When the value of the variable or expression increases or decreases. the Toolchest or a custom Bar Graph may be created using drawn objects. Bar Graphs are vertical or horizontal: Bar Graphs may be added to a panel several different ways. 1 6-23 .) Bar Graph Color The Bar Graph Color Tab is used to set plate style attributes as well as colors for this Bar Graph. A Color Resource may also be used if one has been created previously.Bar Graphs (cont. Vijeo Designer Manual Version 1. Hints & Tips For further information on this tab and any dialog in Vijeo Designer click the Help button to go to the relevant Help article. The cursor will change to one of these cursors: Vertical Bar Graph Horizontal Bar Graph 6-24 Version 5.1 September 2010 .Bar Graphs (cont.) How to Add a Bar Graph Native Tools To add a Bar Graph using Native Tools: Click the down arrow on the Bar Graph button to open the menu then select the type of Bar Graph object to be placed on the page. 1 6-25 . Add attributes to the Bar Graph Settings.Bar Graphs (cont.) How to Add a Bar Graph Native Tools Position the cross on the cursor over the top left point on the Panel where the object will be placed and click. Position the cursor over the point where the bottom right of the object will be placed and click a second time to define the area of the object. Vijeo Designer Manual Version 1. Graphs are filed by category such as BarGraph and TrendGraph. 6-26 Version 5.Bar Graphs (cont.) How to Add a Bar Graph Toolchest To add a Bar Graph from the Toolchest: Click the Toolchest button to open the Toolchest pane. Select Graph. Available graphs appear when the category is selected. Drag and drop the Bar Graph to add it to the panel then Resize image as needed.1 September 2010 . ) How to Add a Bar Graph Custom Any closed shape can be animated into a Bar Graph. Open the Fill tab and activate the one or both of the Enable Fill Animation fields.Bar Graphs (cont. Vijeo Designer Manual Version 1.1 6-27 . Add a variable and scaling properties. To animate a shape as a Bar Graph: Draw a shape then double click the shape to open the Animation Properties dialog. 1 September 2010 .Exercise . Double click the Tank cutout to open the Animation Properties. ii. Open the Fill tab.Add a Bar Graph 1 Animate the tank Bar Graph.Batch_Total From: To: 0 200 Back Area Color Black 2 Save and validate the project. 6-28 Version 5. i. Add these values: Property Enable Vertical Fill Animation Variable Value Range Value External. See Also: For further information about Lamps. How to Add a Lamp To add a lamp to a panel: Click the Lamp button on the Graphical toolbar or Click the down arrow next to the Lamp button and select from the Lamp menu Draw the lamp on the panel and add the Settings. including multiple colors and multiple control possibilities. Regular lamps are used to display the status of a boolean variable. Vijeo Designer Manual Version 1.1 6-29 . NState lamps have many more options. Regular and N-State lamps.Lamps Lamps There are two types of lamps available in Vijeo Designer. see Vijeo Designer Help .Creating Lamps. v. Change the Operation to Momentary ON. The PLC program is looking for a low to high transition on all the switches from the HMI. Open the Color tab and change the Text Color to Black and the Fore Color to Grey. 6-30 Version 5.Start in the Destination field then click the Add > button. iii. Change the Label Type to Static then enter the text Start in the Label window. i.Add Control Switches 1 Add Switches to Control the Process. ii.1 September 2010 . Click OK. Open the Label tab.Exercise . Add the variable External. iv. Add a switch below the Cook Time text label. ii. Save. settings: Use these Operation Momentary ON Momentary ON Destination External.Add Control Switches (cont.reset Text Color Fore Color Label Black Black Grey White Stop Reset 2 Run the program. Note: Values must be entered in all input fields or the PLC program will not allow the program to start Vijeo Designer Manual Version 1.Exercise . Run the project (simulation mode) as it should be functional at this point.stop External.) vi. Add another two switches below the Start switch. i. Validate and fix any problems.1 6-31 . Click the Lamp button on the Graphical toolbar and draw a Lamp on the page above the Water Numeric Object.Running Bitmap 10054 6-32 Version 5. ii. Property Variable Category Style Value External. Add these properties to the Lamp Settings. i.1 September 2010 .Exercise .Add a Lamp 1 Add a Lamp to the Process Panel. ...........7-3 Exercise ...........7-14 ..................................7-2 Popup Windows.7-13 Exercise ............................Chapter 7: Overview Introduction Popup Panels and Meters This chapter discuses the configuration and operation of popup panels and analog meters This Chapter Covers These Topics: Popup Panels.....................................................7-8 Exercise ...7-6 Meters ....................................................................................7-5 Creating a Popup Panel.................................................................................................................................... Groups and Panels....Create a Popup Panel .Launch a Popup Panel ................................7-12 Launching a Popup Panel ......................Popup Panels and Meters.............. Popup panel can be opened or closed by using a switch. or script.1 September 2010 .Popup Panels Popup Panels A popup panel opens over the current panel. If a popup panel is used for keypad input. Touch animation. it can be opened when necessary and closed when the input is complete. Popup Panels are: A reduced size panel Used to provide details about a portion of the project Configured in the same manner as a full size panel Popup panels are filed in a different location 7-2 Version 5. A window is a "frame" that holds the popup panel. and panels.1 7-3 . 10001: Panel4. such as window size and display mode. deleted. or renamed. a popup window folder is generated automatically. Popup Window Group Multiple popup window panels can be added to a group. Popup window groups and popup window panels can be created in this folder. This folder cannot be copied. for example. Popup Window Panel Create one or more popup window panels within a group. Designers can create multiple popup window groups and popup window panels in the folder. 1: Window1. for example. Specify popup window properties. Groups and Panels Popup Details When a project is created. in this node The popup window group is displayed in the format Group number: Group name.Popup Windows. groups. Component Popup Window Folder Description This node is automatically generated when a project is created. The display of specific popup window panels can be defined within that group. It is possible to vary the panel displayed in a single window via programming or using switches Popup windows are composed of three components: Folders. When the popup window is opened the panel can be changed as long as the panel belongs to the same group. The popup window panel is displayed in the format Panel Number: Panel Name. Vijeo Designer Manual Version 1. ) How to Create a Popup Panel To create a Popup Window: Select the Popup Windows node in the Navigator and press Insert on the keyboard or Right click the Popup Windows node in the Navigator and select New Popup Window from the menu.1 September 2010 .Popup Windows. To create a Popup Panel: Select a Popup Window and press Insert on the keyboard or Right click the Popup Window and select New Panel from the menu 7-4 Version 5. Groups and Panels (cont. Right click the panel and select Rename Panel from the menu. i.1 7-5 .Exercise . A new Panel is created automatically.Create a Popup Panel 1 Create a Popup Window. Vijeo Designer Manual Version 1. Right click the Popup Windows node in the Navigator and select New Popup Window. Name the Panel Pop1. ii. Creating a Popup Panel Designing a Popup The Graphical Editor is used to design the Popup Panel.1 September 2010 . 7-6 Version 5. Some of these are set in the Properties of the Window and some are set in the Properties of the Panel. Other attributes such as the Color are set in the selected Panel. The Inspector is used to set the different parameters. Example The size of the Panel is set in the selected Window. Select Disabled to keep the rest of the screen active when a popup window displays in Runtime. This feature provides security from accidental touches on the base panel.) Mode There are two Modes of Operation that are set in the Mode parameter: Panel Only – used for one specific display only.Popup Panels have two Display Modes. Persistent – If the operator changes panels whilst the popup is open. Does not remain open if the operator changes panels. The rest of the panel is locked out until the popup window closes.Creating a Popup Panel (cont. it remains open.1 7-7 . Lockout Base Panel Select Enabled to deactivate the rest of the panel when a popup window displays. the keypad will display on top of the popup window until the input operation is completed. Vijeo Designer Manual Version 1. If a system keypad is enabled for the popup window. The General tab allow the designer to set specific attributes such as: The degrees or rotation for the meter's needle Link the variable Configure the scaling 7-8 Version 5.Meters How to Add a Meter to a Panel To add a Meter to a panel: Click the Meter Meter button on the Graphical toolbar.1 September 2010 . The cursor will change to the cursor. When this is completed the Meter Settings dialog will open. Click the cursor on the top left and bottom right corners of the area for the Meter. Indicator colors can be set manually or by using a color resource.) How to Set Color Attributes To select the attributes of the meter: Select the Indicator Style to determine the shape of the needle.Meters (cont. Different colors for the Thresholds may be set in this window Vijeo Designer Manual Version 1.1 7-9 . 6 vs 3 shown. The right meter has 6 labels 7-10 Version 5.1 September 2010 . Number of labels .Meters (cont.) How to Configure the Meter Label To configure the Label Tab options: This tab is used to configure the Scale on the meter. Vijeo Designer Manual Version 1.Meters (cont.1 7-11 .) Numeric Display The Numeric Display tab (1) creates a digital output field below the needle on a meter. Popup Panels and Meters 1 Add two Native analog meters and a native switch to this popup panel. Scale both meters as shown. 7-12 Version 5. Click the Meter button on the Graphical toolbar and draw two meters on the page. The left meter is linked to the variable External.Exercise . iv. 2 Save and validate the project. iii.SP_TEMP and the right meter is linked to External.1 September 2010 .TMP_act. Select the Panel Name to be opened The Location parameter is used to define the position of the Popup when it opens. Close Popup is another possible operation for a switch placed on the Popup itself to close the Popup.Launching a Popup Panel How to Launch a Popup Panel To launch a popup panel using a switch: Add a Switch to the Base Panel Select Popup for the Operation and Open Popup for the command. The At Position defines the offset in Pixels from upper left corner of the screen where the popup opens.1 7-13 . Vijeo Designer Manual Version 1. Centered positions the Popup in the middle of the screen. Open the process panel and add a switch. and set it’s property to invisible. Define the area of the switch so that it covers the cook tank. ii.Launch a Popup Panel 1 Add an invisible switch to the process panel.Exercise . Add these properties to the switch: Style 000000 Operation Popup Command Open Popup Panel Name 10001:Pop1 X 400 Y 50 7-14 Version 5.1 September 2010 . i. Vijeo Designer Manual Version 1.Note: The Location in this example is (400. When the Popup panel is tested this position may need to be adjusted.1 7-15 .50). Save. Draw a new switch underneath the two meters.1 September 2010 . 7-16 Version 5. Operation Close Popup Text Color Black Fore Color Gray Label Close Save and close the popup panel.Exercise . iv. Specify a temperature of 45-50 degrees (remember the scaling on the meters) Once the batch starts cooking.) 2 Add a Close switch to the Popup panel. i.Launch a Popup Panel (cont. ii. validate and test the popup by running a batch. Add these properties to the switch: Style 00004 iii. click the tank to open the popup and observe the meters in operation. .........................8-20 .....................8-16 Data Logging Group Buffer..........................8-12 Data Logging Group .......................... Historical data collection continues even when the display is not active.......................................8-3 Historical Trend Charts................. the values of a variable (or process) may be displayed in a graphical format......Chapter 8: Overview Introduction Trends A visual representation of past and current activity improves understanding of the plant’s performance... It is possible to scroll back through historical data to display past values of the variable (or process).. With a trend graph..........................................................................................8-19 Exercise .Build a Trend Chart Panel ............................................................ Switching between panels will not affect trend graphs...Variable Setting...........8-7 Exercise ..... This Chapter Covers These Topics: Trend Introduction .............Logging Groups ........ As these values change over time............................. the graph moves across the page so that the latest values are always displayed.............................8-5 Block & Plot Trends ......8-2 Realtime Trend Charts .........................................................8-11 Data Logging Groups........................8-9 Data Logging ................................................... For Toolchest Trend Graph parts. Trend Graphs Trend graphs take data samples from defined variables and plot them on a time graph. The available types are: Real-time Historical Plot Block A data sample is the value and data quality of a variable at a specific date and time and is represented on the trend graph as a data point. Realtime Trend Graphs are created by using the Trend button on the Graphical Objects toolbar. A maximum of eight channels may be used on each Trend Graph. not all properties will be updated dynamically in the Editor. 8-2 Version 5. If there are no changes in the variable values or the values cannot be retrieved.1 September 2010 . or Block Trend Graphs are created by using a Toolchest part in the Trend folder in the Toolchest window.Trend Introduction Trend Types It is possible to create different types of trend graphs in Vijeo Designer to graph changes in variable values. the trend graph will not display a data point for the data sample. Each variable plotted on a graph is called a channel. Plot. Historical. Historical records may be saved in a file on CF or in external database. When this is completed a default Trend Graph will appear on the screen with the default settings in the Property Inspector. Trend graphs are updated at a regular interval when new data samples from the variable are added.1 8-3 . see Vijeo Designer Help Creating Real-Time Trend Graphs.Realtime Trend Charts Realtime Trend Graphs The Trend Graph function is used to create a line graph that shows the current values of one or more specified variables. The cursor will change to the cursor. Vijeo Designer Manual Version 1. Click the cursor on the top left and bottom right corners of the area for the Trend Graph. the Interval can be configured to 1 second or more. See Also: For further information about Real-Time Trend Graphs. the graph scrolls by the number of intervals that has been specified to make room for new data samples. When the data area on the graph fills up. How to Create a Trend Graph To Add a Trend Graph to a Panel: Click the Trend Trend button on the Graphical toolbar. Property Value Range ValueRangeFrom Description Defines the minimum value of data stored in the variable that is assigned to the channel.1 September 2010 . the data will be considered equal to the ValueRangeTo value.) Axis Configuration The Axis Configuration settings in the Property Inspector allow developers to define limits for the data display within the graph. ValueRangeTo Defines the maximum value of data stored in the variable assigned to the channel. These include: Attributes for Axis scales Graph grid lines control Channel configuration Channel color settings Line style Line width Background color Disable unused channels Data from variable values is converted using the defined Value Range and Display Range. 8-4 Version 5. If values are truncated. the data will be considered equal to the ValueRangeFrom value. they are rounded to the nearest decimal place. DisplayRange DisplayRangeMin DisplayRangeMax Defines the minimum value displayed by the graph. If the variable data is smaller than the ValueRangeFrom value. Defines the maximum value displayed by the graph. If the variable data is larger than the ValueRangeTo value.Realtime Trend Charts (cont. Historical Trend Charts Historical Trend Graph Historical Trend Graphs are added from the Toolchest. see Vijeo Designer Help Creating Historical Trend Graphs. This is a running 3D Trend Chart. See Also: For further information about Historical Trend Graphs. There are three different Historical Trend graphs available in the Toolchest and all are configured the same way.1 8-5 . Access to historical data is via the calendar at the upper left of the graph Click the Toolchest Vijeo Designer Manual Version 1. Historical Trend Graphs are able to display a maximum of eight channels. Drag and drop one of the available Trend Graphs onto the panel. How to Create a Historical Trend Graph To add a Historical Trend Graph to a panel: button then in the Toolchest pane open the folders Graph » TrendGraph » Historical Trend. 8-6 Version 5. When configuring channels it is necessary to specify the number of channels in the NumOfChannels property.) Configuration General configuration information for a Historical Trend Graph is shown on the top of the inspector. The values for all of the channels must fall within the range specified. It is possible to configure each of these channels individually.1 September 2010 .Historical Trend Charts (cont. This includes Minimum and Maximum scaling for the chart. When this value is defined a corresponding number of Channel Variables will be available in the Property Inspectory. Block & Plot Trends Block Trend A block trend graph is typically used to display high-speed data captured by the PLC. Vijeo Designer Manual Version 1. collected around a point in time. A block trend graph can display up to 1024 data samples from each block variable. With a block trend graph. Block trend graphs have two styles: See Also: For further information about Block Trend Graphs.1 8-7 . see Vijeo Designer Help Creating Block Trend Graphs. it is possible to display data for multiple data samples. A maximum of eight block variables may be configured. When new data samples become available.1 September 2010 .Block & Plot Trends (cont.) Plot Trend The Plot Trend Graph part in the Toolchest displays the data samples collected using the trigger data collection method. Older samples scroll off the left side of the graph as they are replaced with the new data samples. See Also: For further information about Plot Trend Graphs. the plot trend graph automatically scrolls to show the most current samples on the graph. 8-8 Version 5. Each point on the plot trend graph represents a data sample collected for variables. During Runtime. The data samples are collected at different times and may span a wide range of time intervals. the plot trend graph displays data samples collected using the trigger data collection method. see Vijeo Designer Help Creating Plot Trend Graphs. 1 8-9 . This is because variables that are logged must be assigned to a Logging Group. Draw a Trend graph on the panel so that it fills ½ the panel. ii.TL When the Variable is entered into the Variable field this message will appear. Configure any properties. Open the History panel and click the Trend button. colours for the PlateColor and BorderPanel Vijeo Designer Manual Version 1. This subject will be discussed in the next part of the chapter.SP_TIME External.Build a Trend Chart Panel 1 Create a Realtime Trend Graph.Exercise . iv. Configure the graph with these settings: Property Range Settings ValueRangeFrom ValueRangeTo DisplayRangeMin DisplayRangeMax Channel1 Channel2 Variable Variable Value 0 50 0 50 External. iii. i. 3 Save the project.Tank_ADJ No changes will be visible on this graph until the project is in Runtime.) 2 Create a Historical Trend Graph.Tank_ING External. Add the chart Trend3D_01 to the panel below the realtime trend.Tank_H2O External. Set these properties: Property ValueMin (Value) ValueNax (Value NumOfChannels Channel1Variable Channel2Variable Channel3Variable Channel4Variable Value 0 1000 4 External.Exercise .1 September 2010 . Navigate to the folder Graph » TrendGraph » Historical Trend.Build a Trend Chart Panel (cont. 8-10 Version 5. ii.Tank_STK External. Click the Toolchest button to open the Toolchest pane. i. Variable data is used by the Trend Graph function. to analyse. REAL. for example. audit. Integer types. With data logging it is possible to specify which variables will be logged.Data Logging Store Historical Data Data logging provides the ability to collect and store variable values. The recommended maximum number of variables used in one data logging group should not be exceeded.1 8-11 . and track performance. The logged data can be displayed in graphs and saved to file. See Also: For further information about Recommended numbers of variables. and specify where the data will be stored. Run-Time Specifications. Data logging supports BOOL. see Vijeo Designer Help .Appendix 4. Data logging enables production managers and supervisors to keep a history of particular elements in a production process. which can be used. Vijeo Designer Manual Version 1. to determine the frequency of data sampling. The number of variables that may be logged in one project depends on the target machine. and STRING variables. 1 September 2010 .collected on a time interval Triggered .Data Logging Groups Logging Groups Data collection for trend charts is controlled by Data Logging Groups. These groups are created at the Project level.snapshot of data when a trigger condition changes state A maximum of 80 different Logging Groups are allowed per target. All logged variables are attached to Logging Groups.XBTGT2000 and higher The maximum 8-12 Version 5. When a new project is created a default Logging Group exists in the Data Logging node in the Navigator. Two types of Logging Groups are available: Periodic .XBTGT1000 . recommended number of logged variables is: 80 100 . Vijeo Designer Manual Version 1. see Vijeo Designer Help About Data Logging.1 8-13 .) How to Create a Logging Group To create a new Logging Group: Select the Data Logging node in the Navigator and press the Insert key or Right click the Data Logging node and select New Logging Group from the menu See Also: For further information about Data Logging Groups.Data Logging Groups (cont. is specified at the level of the Logging Group. specify time units Name . then set the: Sampling interval.Periodic – a time based sampling Units – Units for the digits created by the slider See Also: For further information about Data Logging Group Settings.) How to Configure Periodic Logging The type of Logging.Name of current logging group Type .Creating a Data Logging Group.Data Logging Groups (cont.1 September 2010 . To configure a Periodic Logging Group: Double click the Logging Group in the Navigator. see Vijeo Designer Help . whether Periodic or Triggered. Periodic Logging determines the data sampling rate. 8-14 Version 5. Vijeo Designer Manual Version 1.) How to Configure Triggered Logging When a group is configured for Triggered Logging. see Vijeo Designer Help Creating a Data Logging Group. Select the Trigger Condition. This can be one of these types: When True When False On data change Then specify the Trigger Variable – variable linked to trigger the event See Also: For further information about Trigger Group Settings.1 8-15 .Data Logging Groups (cont. To configure the triggering for the logging group: Select the Type: Trigger. data is collected when a specified Trigger Condition changes state. Data Logging Group .Variable Setting Variable Storage The amount of variable data that is being stored and where the data will be stored can be managed by using one of these storage options: DRAM DRAM SRAM system's SRAM .preserves a specified number of data samples in the . and the estimated number of days to reach the file size limit. A summary for all data logging groups may be obtained by viewing the Property Inspector when the Data Logging node is selected.1 September 2010 . The summary displays the estimated space used in DRAM and SRAM. the estimated File size.uses the SRAM until its capacity is reached. 8-16 Version 5.preserves the most recent data samples in the system's . in which SRAM and File case. the data is written to file. ) Configuration details for variables using this groups historical data collection Type DRAM – only the most recent data SRAM – saves a specified number of data records SRAM & file – after SRAM limit is reached.1 8-17 . data sent to file Records in Ram .) Variable Storage (cont.Variable Setting (cont.Data Logging Group .## of records stored in Ram before filed DRAM – 10 to 1000 records SRAM – 10 – 300 records File Limit – how much data to be stored Ram Usage/File Size(1) – calculates the memory usage for your configuration Vijeo Designer Manual Version 1. 8-18 Version 5. see Vijeo Designer Help .) How to Configure Variable Storage The settings for Variable Storage are located in the Variable Storage tab of the Logging Group properties.Variable Setting (cont.1 September 2010 .Data Logging Group .Creating a Data Logging Group. To configure the Variable Storage: Double click the Logging Group in the Navigator then open the Variable Settings tab. See Also: For further information about Variable Storage Settings. Data Logging Group Buffer Data Buffering The data collection buffer is configurable. When the buffer becomes full. The buffer then starts filling again with new variable records. it should then be flushed to permanent storage. It may be advisable to run flushToStorage (script method): At defined intervals (Application Script: Periodic) When changing panels (Panel Script: On Close) When exiting the Vijeo-Designer Runtime user application (Application Script: on Shutdown) Vijeo Designer Manual Version 1.1 8-19 . then historical data may remain in the buffer and will not be logged to a permanent location. To make the data available for dataprocessing. variable records are moved from the buffer to permanent storage. If data does not change often. Click OK. Logging Group field to LoggingGroup01.1 September 2010 . Double click the default Logging Group. the variable Change the 8-20 Version 5. Set the sampling rate to 3 seconds. This will control the scroll rate on the chart as well as the data collection rate.Tank_H2O and open the Data Details tab. ii. iv. from the Navigator. LoggingGroup01.Exercise . Return to the the Navigator and double click the Variables node to open the Variable Editor. iii.Logging Groups 1 Configure the default Logging Group i. Double click the grey rectangle next to External. Exercise .Build a Trend Chart Panel (page 8-9).Tank_ADJ vi. Repeat this process for the other four variables that have been assigned to the Channels in Exercise .Tank_STK External. Add a Return switch to the top of the page to navigate back to the Navigate panel.TL External.) v.1 8-21 . The completed page should look similar to this: Vijeo Designer Manual Version 1. External.Tank_ING External. Each variable that is linked to a chart must be added to a Logging Group.Logging Groups (cont. Save and validate the project then test panel’s operation by running several batches in a row. navigate to the History Panel and observe the charts operation.Exercise . 8-22 Version 5.Logging Groups (cont. Request some historical data be displayed from the historical trend chart.1 September 2010 .) 2 Test the project. After sufficient data has been collected. i. ...............................9-37 Real-Time Alarm Printing ........9-9 Alarm Variables...................Chapter 9: Alarms and Events Overview ..............................................................9-10 Exercise ..............................................9-2 Alarm Groups ................................................................................................Event Monitoring..........9-28 Alarm Categories ...........................................................9-21 Alarm Summary....................................................................9-42 Exercise .................................................................9-8 Exercise ...........9-7 Alarm Sounds ..............Configure an Alarm Variable ..........................................................................................9-3 Exercise ........Create a Global Alarm Banner ................9-45 .............Create Alarm Summaries.9-17 Exercise .......................................................................9-32 Alarm Printing ..........................................Alarms and Events Introduction This chapter covers the alarm and event monitoring features available in Vijeo Designer This Chapter Covers These Topics: Alarming Introduction .................9-41 Event Monitoring............................................................................Create a Sound File..................9-30 Output Alarms to File ...............9-15 Alarm Banners .........................................9-22 Exercise ............................................Alarm Groups ....................... process. To display an alarm message: Configure alarm condition(s) Create alarm groups Configure the alarm summary to display the alarms Basic alarm information Alarm configuration is part of the variable’s definition Alarm groups are a way of organizing alarms and assigning attributes Saving options. area. behavior (ack. but various other information about the alarm.Alarming Introduction Introduction When an error or event occurs.appear when variable data enters the alarm range Acknowledged – active alarms that have been confirmed by the user Returned to normal – the variable has exited the alarm range The Alarm Summary control simply displays the alarm information There are three alarm states Alarm Banners are possible Alarm banners can be either local (panel) or global (project) 9-2 Version 5. severity Alarm Summary operates in either an active or historical modes Active . The Alarm Summary displays not only the alarm message. message text Organize by machine. no ack). a list of alarms can be displayed on the target machine by using the Alarm Summary.1 September 2010 . such as the date and time when the alarm was activated or restored. When a new project is created a default Alarm Group exists in the Alarms & Events node in the Navigator.Alarm Groups Default Alarm Group An Alarm Group sets collection and storage parameters. Variables that are to generate an alarm are attached to an Alarm Group. How to Create an Alarm Group To create a new Alarm Group: Select the Alarms & Events node in the Navigator and press the Insert key or Right click the Alarms & Events node and select New Alarm Group from the menu Vijeo Designer Manual Version 1.1 9-3 . . see Vijeo Designer Help Alarm Group Settings.1 September 2010 ..Alarm Groups (cont. 9-4 Version 5. from the menu See Also: For further information about Alarm Group Settings.) How to Add Alarm Group Settings To open the Alarm Group Settings: Double click the Alarm Group in the Navigator or Right click the Alarm Group and select Settings. Vijeo Designer Manual Version 1.Alarm Groups (cont.) Counters Tab Variables may be designated to hold the active count of various alarm group status information.1 9-5 . ) Messages Type Messages and State Messages may be set for alarm state headers. These may also be set fro use in different languages. When the customised text. Each field has default message text. HOT.Alarm Groups (cont. is substituted into these fields it will be displayed in the Alarm Banner during runtime. the HiHi field has the default text HiHi. For example. 9-6 Version 5.1 September 2010 . Alarm Groups 1 Rename the default Alarm Group. iii.1 9-7 . i. Locate the default Alarm Group. in the Navigator. ii. AlarmGroup1.Exercise . 2 Save the project. Right click AlarmGroup1 and select Rename Group from the menu. Vijeo Designer Manual Version 1. Rename the group Ingredients_Low. wav sounds with Touch animation. This allows the user to create an alias and associate a wav file that will play when triggered by an event.1 September 2010 . When the Sound node is selected the Sound File Editor opens in the main editing area. Sound files may then be used to generate alarms or give feedback to the user. 9-8 Version 5. and alarms. scripts. How to Add a Sound File To Add a sound file to the project: Select the Sound node from Environment » Data Files in the Navigator.Alarm Sounds Sound Files This feature allows users to associate . Exercise . Vijeo Designer Manual Version 1. i.wav file in the C:\Class folder. 2 Create an alias named alarm. This wave file is now available to be played when an alarm is triggered. ii. Select the Sound node from Environment » Data Files in the Navigator. 3 Save the project. i. When the Sound node is selected the Sound File Editor opens in the main editing area. Type alarm in the Alias field.Create a Sound File 1 Open the Sound File Editor. ii. Click the Add button and browse for the alarm.1 9-9 . A Boolean Alarm depends on a change of state in a Boolean Variable.1 September 2010 .Alarm Variables Boolean Alarms The configuration of an Alarm is part of the Variable Definition. 9-10 Version 5. Example Boolean Alarm in the Variable Properties form. The Alarm can be configured using the Variable Properties form or in the Property Inspector. Setting Up BOOL Variables. see Vijeo Designer Help . Vijeo Designer Manual Version 1.) Boolean Alarms (cont.) Example Boolean Alarm in the Property Inspector.Alarm Variables (cont. See Also: For further information about Boolean Alarms.1 9-11 . Two limits can be set for values at either end of the normal value range. One or two measurements of deviation (defined as a constant value) can be set for the target value Minor deviation activates a warning alarm Major deviation activates a critical alarm 9-12 Version 5. One or two measurements of deviation (defined as a percentage) can be set for the target value Minor deviation activates a warning alarm Major deviation activates a critical alarm Deviation Alarms (Fixed) .) Word Alarms Vijeo Designer can monitor word addresses (integer or REAL variables) as well as bit addresses (BOOL variables).activated when the variable value extends beyond a defined point that indicates a cautionary limit.Alarm Variables (cont.where the value reaches an atypical high Lo and LoLo alarms .activated when the variable value deviates from the specified target value. When monitoring word addresses.where the value reaches an atypical low Deviation Alarms (%) .activated when the variable value deviates from the specified target value. Each alarm may be configured using the following types: Limit Alarms . Hi and HiHi alarms . an alarm triggers when word address values change beyond one or more specified limits.1 September 2010 . and will not deactivate until the value rises above 910 (Hi value + Deadband value).) Word Alarms (cont. If a Deadband that equals 10 was configured for this alarm a Lo alarm is triggered when the variable value falls below 900. Example Limit Alarm configured with Lo and LoLo Alarm Thresholds in the Variable Properties form.1 9-13 .) The Alarm can be configured using the Variable Properties form or in the Property Inspector.Alarm Variables (cont. Due to the Deadband the alarm will remain active while the value hovers between 900 and 910. Vijeo Designer Manual Version 1. 9-14 Version 5.Word Alarms.Alarm Variables (cont. See Also: For further information about Word Alarms.1 September 2010 . see Vijeo Designer Help .) Word Alarms (cont.) Example Deviation (Fixed) Alarm in the Property Inspector. Activate the tickboxes LoLo and Lo. i. ii. Click the Alarm tickbox to activate the fields. Double click the Tank_H20 variable to open the Variable Properties then click the Alarm tab. Vijeo Designer Manual Version 1.1 9-15 . Add the values 800 to the LoLo field and 900 to the Lo field. iii. Double click the Variables node in the Navigator. iv.Configure an Alarm Variable 1 Create an alarm when the Water Tank level is too low.Exercise . 9-16 Version 5. 3 Save the project. i. Since the alarm alias is the only one that has been configured it is the only choice in the Sound File drop down list.Exercise .1 September 2010 . If other aliases are configured the designer will have a choice of sound files in this field.) 2 Add a sound file that will play when the alarm is triggered. When the variable reaches the designated levels the alarm will occur and the sound will play. Click OK. Click the Sound tickbox then click the Configuration button.Configure an Alarm Variable (cont. Single line alarm banner messages scroll from the right side of the panel to the left side of the panel.Alarm Banners Display an Active Alarm An Alarm Banner is a line of scrolling text that becomes visible when there is an active alarm. There are two types of Alarm Banners – Local and Global.1 9-17 . Double line alarm banner messages remain fixed on the screen without scrolling. Vijeo Designer Manual Version 1. This is where can be added to an Alarm Group and other attributes such as the Display Message and Scroll Rate are configured.1 September 2010 . Once the banner has been placed on the page the attributes are available in the Property Inspector.) Local Alarm Banners Local Alarm Banners are only displayed on a specific panel where the banner has been configured. See Also: For further information about Local Alarm Banners.Alarm Banners (cont. see Vijeo Designer Help Local Alarm Banner. The Local Alarm Banner is an item in the Diagnostics folder in the Toolchest that may be placed anywhere on a panel in the same way as any other Toolchest item. 9-18 Version 5. ) Global Banners Global Alarm Banners can be configured to display alarm messages that scroll across every panel even in the middle of a change panel operation. Therefore.Alarm Banners (cont.1 9-19 . Vijeo Designer Manual Version 1. only one Global Alarm Banner may be configured in each project. If the Global Alarm Banner and the Active Event Viewer display at the same time. For banner messages. An alarm category can be used to display messages from multiple alarm groups. Middle. it is not possible to use the Touch Action and Severity settings. the Global Alarm Banner is appended to the bottom of the Active Event Viewer. Set the Alarm Banner to Enabled. Global Alarm banners can be set up to display in one of three positions: Top.) How to Create Global Banners To Create a Global Banner: Select the Target in the Navigator. However.Alarm Banners (cont. the panel operates normally. because it is the same size as the panel width. The global banner display changes the height automatically according to the font size.1 September 2010 . When there are no alarm banner messages. When the Target is selected the Property Inspector will display the Alarm Banner settings. the width cannot change. or Bottom. 9-20 Version 5. 2 Save and validate the project. Ingredients Low and select any other attributes. Vijeo Designer Manual Version 1. Add the Display Message. Select the target Factory in the Navigator. Set the Alarm Banner to Enable.Create a Global Alarm Banner 1 Add a Global Alarm Banner to the project. i. ii. The default position of the Alarm Banner is the bottom of the panel so this setting can remain with the default. iii.1 9-21 .Exercise . The summary will also display the date and time of the alarm or event. The Alarm Summary displays not only the alarm message.Alarm Summary Display a List of Alarms When an error or event occurs.1 September 2010 . Use the NEXT and PREV buttons to go to the next or previous alarm or event message. and system events. the ACK button to acknowledge the alarm. which include user actions. the alarm or event number. such as the date and time when the alarm was activated or restored. The Event Summary displays event messages. each alarm or event message is displayed individually in the summary instead of in a list. but various other information about the alarm. and the Exit button to exit the summary and return to the previous panel. it is possible to display a list of alarms and events on the target machine by using the Alarm Summary and Event Summary. For targets with a panel screen size of 200x80. the alarm state. and the number of alarms or events. 9-22 Version 5. system error events. Position the cursor over the point where the bottom right of the Alarm Summary will be placed and click a second time to define the area of the Alarm Summary. Vijeo Designer Manual Version 1. Position the cross on the Alarm Summary cursor over the top left point on the Panel where the Alarm Summary will be placed and click.) How to Add a Summary To add an Alarm Summary to a Panel: Click the Alarm Summary change to the Alarm Summary button on the Graphical Toolbar. The cursor will cursor.1 9-23 .Alarm Summary (cont. Setting Up an Alarm and Event Summary . 9-24 Version 5.Alarm Summary (cont.General Tab. See Also: For further information about Alarm Summary Settings.1 September 2010 . see Vijeo Designer Help .) General Tab The General tab defines display and operation attributes for the summary. it is possible to define the text and back colors for alarm messages in the four states (Active. and font size for messages is defined in the Messages tab.) Messages Tab The language.Messages Tab.Setting Up an Alarm and Event Summary . Vijeo Designer Manual Version 1. or define the colors for event messages by their severity . ACK. font.Alarm Summary (cont. RTN. and UNACK).1 9-25 . see Vijeo Designer Help . See Also: For further information about Alarm Summary Settings. For example. see Vijeo Designer Help .Setting Up an Alarm and Event Summary . See Also: For further information about Alarm Summary Settings.) Column Display The Columns tab allows the user to select which column items to display. the column width.Columns Tab. the column titles for each language. and the font and font size for the specified language.1 September 2010 . the order of columns. 9-26 Version 5.Alarm Summary (cont. Buttons Tab. Select the operations that are to be added to the summary from the Available Buttons list and add them to the desired location on the Summary using the four Add buttons. During Runtime.) Buttons The Buttons that are displayed on the Alarm Summary are also configurable. Select the Enable Buttons tick box to define and position operation buttons on the summary.1 9-27 . see Vijeo Designer Help .Setting Up an Alarm and Event Summary .Alarm Summary (cont. the Summary displays and positions the operation buttons that are defined in the Buttons tab See Also: For further information about Alarm Summary Settings. Vijeo Designer Manual Version 1. i. Add an Alarm Summary to the AlarmH panel. iv.1 September 2010 . Open the Alarms panel and add an Alarm Summary. button and draw an Alarm Summary on the Add a navigation button from the Alarms panel to the AlarmH Panel and another button to return to the Navigate panel. This will allow the Summary to display the alarms in Historical mode.Create Alarm Summaries 1 Create th Alarms and AlarmH panels. v. Open the General tab and set the Alarm & Event List field to History. Click the Alarm Summary panel. iii. ii. Add a navigation button from the AlarmH panel back to the Alarm panel. 9-28 Version 5.Exercise . Experiment with the viewer(s) settings. Open the Alarms panel and acknowledge the alarms.Create Alarm Summaries (cont. vii.) 2 Test the project.1 9-29 . it should show all the historic alarm actions. i. Save and Validate the project. v. Stop the batch and reset the application Return to the Alarm panel. Run the application through several cycles until an alarm(s) are shown in the Global Alarm Banner. Vijeo Designer Manual Version 1.Exercise . vi. iv. iii. the alarms should be gone Go to the AlarmH panel. ii. 1 September 2010 . variable alarms are allocated to alarm groups AlarmGroup1 and AlarmGroup2. 9-30 Version 5. In the following example.Alarm Categories Display Multiple Alarm Groups Alarm Categories may be used to display multiple alarm groups and multiple diagnostic alarm groups in the same alarm summary object. DiagAlarmGroup1 is associated with Modbus (RTU) equipment and DiagAlarmGroup2 is associated with Uni-Telway equipment. Alarm Categories (cont. added using the Button tab in the Alarm Summary Settings. The Filter button. allows operators to sort the Alarm Group(s) to be displayed Vijeo Designer Manual Version 1.) How to Create a New Alarm Category To create a new Alarm Category: Right click the Alarms & Events node in the Navigator and select New Alarm & Event Category from the menu Move the desired groups from the Available Groups pane into the Selected Groups pane using the Add buttons.1 9-31 . and the alarm . The following diagram shows an example of alarms that output to the CF Card as a . which can be processed using Microsoft Excel or other programs.1 September 2010 .csv file.csv file being copied to a folder on the editor PC.Output Alarms to File Save to File Alarms and Events can be sent to a Runtime Data Location as a .csv file from the target machine. 9-32 Version 5. an integer variable to give you the status of the file output operation Error Variable – an integer variable that store an error code File Name . Using the name defined in the Save To field.1 9-33 .) Save to File (cont. history.an integer variable that controls when to output alarms to a file. log type alarms By Date . AHxxx.csv file name. creates a folder to the CF card's: - public/bin/projects/TargetName/Data/Alarm Vijeo Designer Manual Version 1.Specify an integer or float variable and specify a value between 0 and 999999 as the number used for the .Select the saved files destination folder from the Save To list.Output Alarms to File (cont.) Control Variable .D + date format selected + 1 numerical digit + .csv Save to . and in what format Status Variable . ALxxx (active. File name will be AAxxx. When the Alarm Group is selected the Property Inspector will display the Save to File settings.Output Alarms to File (cont.) How to Enable Save to File To enable Save to File in an Alarm Group: Select the Alarm Group in the Navigator. 9-34 Version 5. Set Save to File to Enabled.1 September 2010 . Vijeo Designer Manual Version 1. see Vijeo Designer Help Outputting Alarms and Events to a . Status Variable.) Save To File Control Tab When Save To File is Enabled the Save To File dialog will open.Output Alarms to File (cont. The Control Variable.1 9-35 .Control Tab. and the Error Variable need to be defined in the Control tab See Also: For further information about Save To File Settings.CSV File . The default columns are shown in the Columns to Save pane.CSV File . See Also: For further information about Save To File Settings.Output Alarms to File (cont.1 September 2010 . Additional information may be added to the file by selecting columns from the Columns Available pane and adding them to the Columns to Save pane.FormatTab. see Vijeo Designer Help Outputting Alarms and Events to a .) Save to File Format Tab The Format tab defines the format of the information that is sent to the CSV file. 9-36 Version 5. How to Enable Batch Printing To enable Batch Printing: Select the Alarm Group in the Navigator. and event messages in the Log or History format. Batch printing can print alarm messages in the Active.Alarm Printing Print Alarm and Event Messages Vijeo Designer can print alarm messages as they occur in real-time or print alarm and event messages in batches. Batch printing prints alarm and event messages when signalled by the Print Control Variable. It is also possible to perform real-time and batch printing at the same time. Log. When the Alarm Group is selected the Property Inspector will display the Batch Printing settings. Set the Batch Printing to Enabled. or History format.1 9-37 . Vijeo Designer Manual Version 1. Alarm Printing (cont. 9-38 Version 5.) Control Tab When the Batch Printing is Enabled the Batch Printing dialog will open. Status Variable. and Error Variable. The Control tab sets up the Print Control Variable.1 September 2010 . Vijeo Designer Manual Version 1.) Format Tab The Format tab is used to format the columns that will appear when the alarms are printed.1 9-39 .Alarm Printing (cont. The Columns that will be printed are configured using the Add and Delete buttons The Title is built using select buttons and format specifiers. and the Error Variable. the Alarm Category and the Alarm Groups will print out duplicate copies. For example. alarmgroup1 was created before alarmcategory2. print in their creation order. the Status Variable. Alarm groups or alarm categories using the same Print Control Variables.) Triggered Batch Alarm Printing The maximum number of alarms that can be printed using Batch printing is defined in the Property Inspector for the Alarm Group in the Num of History Alarms property and Num of Log Alarms property. so alarmgroup1 will print first. When printing an alarm category with multiple alarm groups.1 September 2010 . the Status Variables. do not use the same variable for the Print Control Variable. When there are more alarms than the set maximum.Alarm Printing (cont. 9-40 Version 5. The same variables are set up. the target machine removes the oldest alarms to make room for the newest alarm information. and the Error Variables. Vijeo Designer Manual Version 1. How to Enable Real-time Printing To enable Real-time Printing: Select the Alarm & Events Node in the Navigator.Real-Time Alarm Printing Real-Time Alarm Printing Real-Time Printing prints an alarm message each time the alarm state changes between active. When the Alarm & Events Node is selected the Property Inspector will display the Real-time Printing settings. and return to normal (RTN). see Vijeo Designer Help . See Also: For further information about Real-time Printing Settings. acknowledge (ACK).Configuring Real-Time Printing.1 9-41 . Batch Printing prints all alarm messages at one time. Set the Real-time Printing to Enabled. you can display event information to the user with the following display formats and features: Event Summary Display – You can display a list of events (user actions. At runtime. Events only have one state in the event log and in the event display. Right click Alarms & Events then select New Event Group » Event Group from the menu. an event message would display when an operator touches a switch or sets off an action trigger.1 September 2010 . Configure the Event group for permanent message storage if desired by select selection the recording options desired 9-42 Version 5. You can print these event messages or save them to a . system error events. and system events) on a panel by using the event summary. How to Configure Events To configure Events: Add a new Event Group to the project.Event Monitoring Event Monitoring In Vijeo-Designer.csv file. Actions – You can set up an event message operation to display predefined event messages. ) Open a text resource to create the text for the event message i. Add an Event Message Operation to your switch. When the switch is activated. the message selected will be logged and(or) displayed Vijeo Designer Manual Version 1.Event Monitoring (cont.1 9-43 . Link it to your Event Group and select the Message Text (index number) from the Text Resource you created. When the switch is activated. 9-44 Version 5. Add an Event Summary and double click it. the event configured creates a log message and displays the message on the Event Summary.1 September 2010 . Attach the summary to your Event Group iii.Event Monitoring (cont.) ii. Event Monitoring 1 Start the Event Monitoring Configuration i. Create a new panel named Events and add a navigation button on the Navigation page to get there and a return button on the Events page that takes you back to the Navigation page From the Alarms and Events Task. Accept the defaults for the System Event Group Vijeo Designer Manual Version 1.1 9-45 . add a new System Event Group ii.Exercise . iii. Event Monitoring (cont) iv.Exercise . Double click on the Event Summary and configure as shown 9-46 Version 5. SP_H2O variable and select Log User Operations on the Data Details Tab v. open the External. SP_TEMP. SP_ADJ. SP_ING. Add an Event Summary on the new page you just created. SP_TIME vi. Size it so that its almost as wide as the panel 2 Configure the Event Summary i. SP_STOCK. From the Variables area.1 September 2010 . Repeat this process for the following variables: 1. Open the Columns Tab and configure as shown iii.Exercise . With your application running. The running Event SUmmary will look similar to the image below Vijeo Designer Manual Version 1.Event Monitoring (cont.1 9-47 . Open your Events panel and observe that the operator actions have been logged.) ii. With the Event Summary still open for editing. enter some new setpoints and run a batch. Save and test the operation. . .................11-2 Script Types and Scope.........11-3 Variables and Scripting.........................11-6 Creating an Action Script ........................................11-7 Script Editor.................................................................................................11-9 Panel and Object Level Scripts..............................................11-11 Exercise ...................................11-5 Variable Read/Write Methods ......................................... This Chapter Covers These Topics: Scripting Introduction ...............Chapter 11: Overview Introduction Scripting This chapter discusses Vijeo Designer's scripting language and how to work with it...........................................11-4 Scripting Basics .................................................................11-12 ..............................................................Scripting................. 1 September 2010 .Scripting Introduction Introduction Scripts are coded instructions that tell the target how to react to real-time events A touch. a change in value can all trigger a script's execution You cannot use Java keywords as object or script names The Vijeo Designer scripting language is based on Java™. a panel change. Scripts are used when you cannot accomplish your objective any other way using built-in tools 11-2 Version 5. Highest scope. conditional. Each different type of script has a different level of scope Panel and Touch – Only works with objects on the current panel. when release Alarm Action Scripts – run once when an alarm is triggered or when an alarm message is selected in an Alarm summary Hi. conditional or event Panel Scripts – can only run when the associated panel is open Touch Animation Scripts – only run when the associated touch animated object is pressed\ When touch. Vijeo Designer Manual Version 1. a schedule or based on defined events. Alarm Actions – Only works with objects on current panel (except alarm summary objects) Actions – event based or run on a time interval. while touch. Doesn't matter what panel is open. HiHi = 2 triggers Scope Scope – Scope is defined as the degree of visibility. scheduled.Script Types and Scope Script Types There are four types of scripts: Project Actions (Scripts) – can run anytime Periodic.1 11-3 . or event Periodic. Lowest scope. Variables and Scripting Variables Two types . and other script 11-4 Version 5. To use a Vijeo-Designer variable in a script. if ( a==0 ) if ( b==0 ) // a is not initialized // cannot compile // build successful because b was initialized Decimal Values .234 (correct) Variables created in Vijeo-Designer (outside variables) should not be used directly in script expressions.234 (invalid). method calls. especially when used in a comparison. mathematical operations. keywords. otherwise building of the user application fails. Outside Vars Script = local variables used inside script only Outside = declared in variables section.Vijeo-Designer variable names. use the variable's get value method and assign the result to a local script variable. 0. b=0. it must be assigned a 0 value before it can be used. Var1 is not the same as var1.Floating point values are expressed with a 0 to the left of the decimal point. For example: integer a. For example: . Even if a variable is assumed to be 0. Initialization of Variables . You can then use the script variable in script control statements.Script Vars.Local script variables must be initialized before they're used in the script.1 September 2010 . are case sensitive. May be local to Vijeo Designer or PLC vars Case Sensitive . Exits the script - - Semi-colons mark the end of statements (1) Enclose expressions in parentheses (condition). bitwise. for . conditional and logical.Performs set of case statements that match the defined switch condition. return .slashes ( // ) are supported for comments Operators . where variables are initialized before the loop and variables are updated during each iteration of the loop. else do something else do-while .Exits the current loop or case statement. Performs default statements when the switch condition does not match any of the case statements break . Shorthand for a common loop. and assignment. statements to be executed in braces (2) Called a Block IF statement Vijeo Designer Manual Version 1.Repeats a set of statements while the conditional expression remains true.Scripting Basics Script Basics Descriptions . Flow Control .these are some of the Java operators that are available: arithmetic.if condition is TRUE then do something.Repeats a set of statements while the conditional expression remains true. Statements run at least once. switch-case-default . comparison.1 11-5 .these flow control keywords are supported: if-else statement . write(itemp). // ************************ Read/Write Methods: // assign value of itemp to Vijeo-Designer variable IntVar XXX.write(itemp + 500).getIntValue(). getStringValue() Write method is the same for all data types (last example) Scripting Examples 11-6 Version 5. itemp = 123. // ************************** // get variable IntVar’s value. itemp = IntVar.1 September 2010 . // a direct write to variable XXX You must define a variable before you assign a value to it External variables MUST be copied to local variables End of statement is marked by the semicolon Other Methods are getFloatValue(). assign to itemp int itemp.Variable Read/Write Methods Read/Write Methods Variables are referenced as follows: int itemp. IntVar. Creating an Action Script How to Create an Action Script To create an Action Script: Right click the Actions node in the Navigator and select New Action.1 11-7 . This script has the highest scope since it's created on the project level. Select the Trigger Type for the Action. Vijeo Designer Manual Version 1. ) On the next screen select Script as the Action then click the New Script button to open the Script Editor.1 September 2010 . Once the script has been created click Finish.) How to Create an Action Script (cont. 11-8 Version 5.Creating an Action Script (cont. To use the Insert tool: Right Click – to use the Insert tool to add Variables. or Operators. It is also advisable to Validate to check the script for errors. Methods. A Right click menu is available to generate script and it should be used as much as possible. This will help reduce errors. The Insert Tool The Insert tool helps developers to generate script code by adding Variables. Methods.1 11-9 . Using the Insert tool insures correct syntax and eliminates typing errors Vijeo Designer Manual Version 1. type in a ".Script Editor Introduction All scripts share the same editor." The system displays a list of available Methods for variables (2). or Operators (1) After variable is selected. Script Editor (cont.1 September 2010 .) Validate Validate often! Right click the script and select Validate (1) Correct any scripting errors before leaving script editor Help screens have much more information as well as scripting examples 11-10 Version 5. 1 11-11 .Panel and Object Level Scripts How to Write Panel and Object Scripts To write a script on the panel level: i. ii. iii. Right click panel (1) Select New Action (1) Create the scheduling of the action (not shown) Create new script for the action (bottom image) To create an Object Level Script (below) v. iv. Add object to panel (switch shown) Configure object to execute a script The reset is the same as with other level scripts Vijeo Designer Manual Version 1. vii. vi. Validate your script when finished.Scripting 1 Add new switches to panel. Double click the top switch and add a script under the “While Touch” tab iii. Create the script as shown. Add switches (switch07) that look like "Spin Buttons" (arrows) from the Native Switches to the Process Panel as shown ii.Exercise . Hints & Tips Use the right click – insert function to help you generate the code. 11-12 Version 5. i.1 September 2010 . When you select and hold down one of the switches that you just created.1 11-13 . depending on which one is selected Vijeo Designer Manual Version 1. When all scripts validate.) iv. Add the script below to the bottom spin button under the while pressed tab.Exercise .Scripting (cont. vi. This script uses a different method to manipulate the water setpoint variable. Validate your script when finished v. test the operation of your scripts. the water setpoint will either increment or decrement. . ...........................Chapter 12: Overview Introduction Project Security This chapter covers various project security options available in Vijeo Designer This Chapter Covers These Topics: Security Introduction ..............12-5 Security Groups ....Project Security..................12-7 Target Operation ..................................................12-12 ............................................12-11 Exercise .............................................................................12-4 Other Security ..................................12-10 Security on Switches................................................................................................................................................................................................................................................................................12-3 Target Security...12-8 User Login ......................................................................12-2 Project Security..........................12-6 Security Levels .......... Data Manager. and other areas from access by unauthorised users. Security groups and users are possible Different permissions may be assigned for different users Timed inactivity logout Controls Data Manager permissions Security can control upload/download permissions Controls Webgate permissions Control navigation to secure panels Control access to secure controls Creation of secure controls Security is a built in feature Recipe security is provided for (separate topic) Recipe security is covered in the recipe module 12-2 Version 5. panels. Users can access different areas.1 September 2010 .Security Introduction Introduction Vijeo Designer's security features protect projects. Users must log in with the proper user name and/or password to access secured areas. parts. depending on their security level. Vijeo Designer has multiple security options available. Such protection can be defined when creating the project or via the project properties. The Security properties wll become visible in the Property inspector. Password hint – to help you remember your password After a project is downloaded with a password is downloaded. You can also enter a password prompt to remind you of your project password Vijeo Designer Manual Version 1. Project Security is created at the Project level. the password is in effect You can secure the Vijeo Designer editor in order to limit access to your projects and prevent a project from being opened or overwritten by an unauthorized user.Project Security Project Security Security can be added to the projects so that unauthorised users cannot open or overwrite protected protects.1 12-3 . How to set up Project Security Select the Project node in the Navigator . 1 September 2010 . Permissions are set at the security group. You can create up to 100 users in a maximum of 20 security groups. user login level 12-4 Version 5.Target Security Target Security Targets may be Unprotected or Secure from unauthorized access How to set up Target Security With Security selected in Navigator (1) Window (2) appears in Inspector Select Use Security Inactivity logout – timed logout Unsecured panel – unsecured panel displayed when timeout occurs when on a unsecure panel Secured panel – same but when on a secured panel Secured Object Behavior – How secured objects appear You can add security to your target machines so that only authorized users can download projects to target machines and access data on target machines. Other Security Other Security Download Security . then create security groups with download option Data Manager Security .1 12-5 .Prevents an unauthorized user from using the Command Line or the Data Manager to transfer run-time data to and from the target machine Web Gate Connection Security . Enable first.Prevents an unauthorized user from using Web Gate to access a target machine Vijeo Designer Manual Version 1.stops unauthorized users from downloading projects to secured targets. For example. Each target supports a maximum of 20 security groups. Right click Security and select Create Group (1) Set Group permissions (2) 1. 20 different groups are allowed Security Groups control: Download to target(s) Data Manager permissions Web Gate permissions 12-6 Version 5. ii.Security Groups Security Groups Security Groups: A security group is a collection of security users. if SecurityGroup01 has Web Gate access then each security user in SecurityGroup01 will have Web Gate access. Each security group supports a maximum of 100 users in it How to set up Security Groups To create a Security Group: i.1 September 2010 . Each user is assigned the security settings that are defined in the security group. 1 12-7 . and popup windows can be assigned a security level so only authorized security groups can access them Click Two types of security Levels – Minimum & Bitmask Level Based . Create USER under Security (1) 1.security group must have a security level that is equal to or greater than the security level assigned object Bitmask (1) . If result it “True” then access is granted How to Create User(s) Object has security setting of 2 (010) Admin = 7. iii. panels.performs a bitwise AND operation with the binary value of the security group's security level and the binary value of the secured object's security level.Security Levels Security Levels Security Levels: Switches. 100 different users are possible ii. Assign username and password (2) Assign user to a group (2) Vijeo Designer Manual Version 1. Operator = 2 Anded results shown (2) Both the Administrator & Operator have access Maintenance does not To Create a User: i. select "Use Target Security" Security Mode – select level based or bitmask (1) Logout Behavior: Inactivity Time-Out . Secure items may be: Display a small lock icon Grayed out Be invisible 12-8 Version 5.1 September 2010 .Specifies the panel that displays when inactivity time out occurs on an unsecured panel Secured Panel .Specifies the panel that displays when inactivity time occurs on a secured panel Secure Object Behavior There are different ways that secure items may be displayed at runtime.Set the inactivity time-out period in minutes Unsecured Panel .Target Operation Automatic Logout Targets may be set to logout the current user if a configured inactivity period expires (1) To configure automatic use logout: With the Environment/Security selected in the Navigator. Target Operation (cont.Specifies the panel the system will display when an unauthorized user touches the secured object Vijeo Designer Manual Version 1.) How to Configure Secure Objects Select the way you wish secure items to be displayed (2) When Touch .1 12-9 . iii. This tool is found int he Security floder in the Toolchest (1) How to add a Login tool to a Panel To create a custom User Logon panel. you must add a Logon control from the toolchest i. Select Security from the toolchest (1) Drag Login to the panel At runtime.The Login tool is used to login users to the target at runtime.1 September 2010 . ii.window. login tool allows you to enter the user name and password (3) System Login Tool System Login Tool – Like a popup.User Login User Login User Login: . Can use a predefined logon popup panel User Manager Allows you to create users and passwords at runtime Users are assigned to a User Group too 12-10 Version 5. Security on Switches Switch Security Switch Security Security can be added to any type of switch (1) Security is supported by any native part How to Add Security to a Switch Add a switch to the panel Double click the switch and open the Advanced Tab Select the Security level the user must have to operate the switch (1) Vijeo Designer Manual Version 1.1 12-11 . 1 September 2010 . Make the adjustments shown below in the Inspector 1. It will not matter if you are on a secure or not secure panel when the time expires. maint = security level 9 12-12 Version 5. Create a new panel named "Secure" and number it 999. the application will navigate back to panel 999 when the inactivity period expires. With Security still selected in the Navigator. Select the Security option from the Navigator iii. admin = security level 1 2. create two new security groups. Name the first group “admin” and the second group “maint” 1. When you test security. ii.Project Security 1 Create a new login panel i.Exercise . iv. Exercise - Project Security (cont.) v. Create two new users by right clicking on the User field. Using upper case letters, name the users BOSS and BUBBA. Make the passwords BOSS and BUBBA (upper case) 1. Assign the BOSS to the admin group and BUBBA to the maint group as shown 2 Add Login tool to secure panel i. Open the Secure panel and add a “Login” control. This is located in the Toolchest, under security Adjust to colors of the tool to what ever you like Add two switches labeled Admin and Bubba as shown Vijeo Designer Manual Version 1.1 12-13 Exercise - Project Security (cont.) ii. Configure the Admin switch as follows: 1. From the Advanced tab, assign switch to the admin security level iii. Configure the Bubba switch as follows: iv. Under the Advanced tab, assign it to the maintenance group Under the Visibility tab, enter the expression shown below _UserLevel is a system tag that holds the security level of the current logged in user. The expression will make the switch visible if the current user is maint (e.g., BUBBA). It will not be visible when the BOSS logs in 12-14 Version 5.1 September 2010 Exercise - Project Security (cont.) v. Open the Navigate panel and select the Cook House switch Under the advanced tab, set the security level to maint. When the BOSS logs in, he will be able to go to the Navigate panel but does not have permission to go to the Process panel. vi. From the Navigator, with your target selected, set the initial panel to 999:Secure This will force the user to login when the project first starts. vii. Save, Validate and test your project. 1. Login as BOSS and observe that you are locked out of the process panel. 2. Do not touch the simulator for 1 minute, you should cancel back to the secure panel and be logged out. 3. Log in as BUBBA and notice that the BUBBA button appears. You should be able to navigate to the process panel 4. Feel free to experiment with other options Vijeo Designer Manual Version 1.1 12-15 Chapter 13: Overview Introduction Recipes This chapter discusses the various recipe options available in Vijeo Designer This Chapter Covers These Topics: Introduction to Vijeo Recipes ..............................................13-2 Recipe Terminology ............................................................13-4 Relationship of Parts............................................................13-5 Recipe Variables ..................................................................13-6 Recipe Groups......................................................................13-7 Recipes and Ingredients .......................................................13-8 Recipe Manager ...................................................................13-9 Recipe Security ..................................................................13-10 Recipe Access Rights.........................................................13-11 Introduction to Vijeo Recipes Recipe Basics Recipe is a feature that allows you to work with specified recipe values of multiple device addresses at the same time. By creating a simple user interface, you can maintain a consistent production process just by defining the production parameters. Now, when the workflow changes or needs changing, the operator will no longer have to go through a complex process. With a recipe, you can: Write values of one recipe (with the Send operation) from the target machine to your equipment. Snapshot Feature Values from the PLC can be uploaded into the Magelis via a process called “snapshot.” You can then upload and backup these values in the Editor to make the values permanent. 13-2 Version 5.1 September 2010 Introduction to Vijeo Recipes (cont.) Sending a Recipe Select a different recipe and use the Send operation to send and overwrite the recipe values currently in your equipment Vijeo Designer Manual Version 1.1 13-3 Recipe Controls – a set of control variables used with recipe groups. the associated variable. using those ingredients. or pan crust dough. water. Operations Lock Variable. Error Variable. Users are assigned an access level that specifies whether they can or cannot view and edit the recipe group. flour. Recipe Controls – a set of control variables used with recipe groups Ingredient – individual elements in a recipe. Recipe Number Variable. The recipe would specify values for each ingredient. Status Variable. Each recipe group is uniquely identified with an ID number (ranging from 1 to 65535) and given a name that describes the recipe group. and a minimum/maximum value. Great Pizza Works has a Dough recipe group with this list of ingredients: flour. olive oil. and Access Right Variable. olive oil. the associated variable.1 September 2010 . and salt make pizza crust Different amounts of each make different types of crust Each different combination is a different recipe Each recipe group has a unique ID number (ranging from 1 to 65535) and a name Users are assigned an access level that specifies whether they can or cannot view and edit the recipe group You can create a maximum of 32 recipe groups per target. and a minimum/maximum value. You can create a maximum of 64 recipes in each recipe group. Operation Trigger Variable. and salt. Each recipe usually uses several ingredients. 13-4 Version 5. you can make recipes for thin crust dough. A Recipe Control includes the Recipe Group Number Variable. Recipe Group – a collection of recipes. Then. Recipe – a collection of variables and values. yeast. yeast. thick crust dough. For example. Recipe Group Number Variable Recipe Number Variable Operation Trigger Variable Operations Lock Variable Status Variable Error Variable Access Right Variable Recipe – a collection of variables and values - Recipe Group – a collection of recipes. Each recipe usually uses several ingredients. water.Recipe Terminology Terminology Ingredient – individual elements in a recipe An ingredient comprises a language specific label. An ingredient comprises a language specific label. You can create a maximum of 32 recipe groups per target. Relationship of Parts Relationship of Parts Recipe Components: Recipe Groups contain recipes. and a Mild sauce recipe (recipe numbers 1. you can set up the recipes. 2. the Spicy. In the Editor. and chili powder—but the chili powder ingredient is not actually used in the Mild recipe. Great Pizza Works creates and controls three different recipe groups: Dough. and 3). Sauce. the Sauce recipe group contains a Spicy sauce recipe. a Medium sauce recipe. In the Sauce recipe group. Medium. and Toppings. which vary from recipe to recipe. Recipes contain ingredients Ingredients are linked to variables Recipe Group Recipe Group can be best understood using the pizza example. Recipe The recipes in each recipe group contain the same ingredients. recipe ingredient values. and Mild recipes contain the same ingredients—crushed tomatoes. Vijeo Designer Manual Version 1. All recipes in a recipe group use the same ingredients. Each recipe group contains similar recipes. In this case. olive oil. and other values associated with each ingredient.1 13-5 . . Not necessary if variables already exist 13-6 Version 5. Each ingredient variable stores the value for its associated ingredient How to Creatie Recipe Variables Created by the system when you configure a recipe Create the variables to be controlled by the recipe in the normal manner Manually. imported. linked .1 September 2010 . Also store error and status values that result from recipe operations Ingredient variables (2): Represent ingredients in a recipe.Recipe Variables System Variables Recipe Control variables (1) .Run recipe operations such as selecting recipes and sending recipe values.. 1 13-7 . Right click Recipes in the Navigtator Select New Recipe Group A Recipe Group is a collection of recipes Vijeo Designer Manual Version 1. ii.Recipe Groups Recipe Groups How to Create a Recipe Group i. Recipes and Ingredients Recipes and Ingredients The areas that need to be configured are: Displayed Recipe Name Name of Recipe (1) Recipe variable (browse for) (2) Label – name of ingredient displayed by recipe control (3) Editable – yes or no.1 September 2010 . user can modify ingredient (4) Set Min/Max values if Editable (5) Set recipe variable value (6) Add additional variables to recipe as needed - Displayed Recipe name in control is entered under Language 1 (1) 13-8 Version 5. Recipe Manager Recipe Manager The Recipe Manager tool is a toolchest tool (1) that may be used to: Send recipes to a PLC Take a Snapshot of the value of the current PLC recipe variables Save modified recipe variables thus making them permanent Delete a recipe (s) This control is available in two different forms (3) though both operate the same In addition. ii. There are several Recipe Manager tools available. Add a Recipe Manager from the toolchest (1) Two different appearing Recipe Managers are available(2) Texterror tool was added as an additional feature(3) 1. iii.1 13-9 . Vijeo Designer Manual Version 1. Displays error if recipe could not be sent Custom Managers may also be built from separate parts. The texterror tool is useful in reporting errors associated with the manager. a custom recipe control may be constructed from the individual parts contained in the Recipe folder (1) This allows the developer to add only the controls he wishes the operator(s) to have access to How to Add a Recipe Manager To use the custom Recipe Manager Control: i. 1 September 2010 .AccessRight variable (2) 13-10 Version 5.Recipe Security Recipe Security May be set in the properties section of the Control Group level (1) User must have Access right 3 to edit this recipe group Recipe access rights are not linked to user levels Set by RecipeControlDefault. then any user that satisfies the Recipe Group's setting. a user would have to have an access right of 3 access the Tomato recipe.1 13-11 .Recipe Access Rights Access Rights Access rights for individual recipe access are displayed In the example above. has access to all recipes in the group Vijeo Designer Manual Version 1. Anybody could access the Chicken or Vegetable recipes Several security combinations are possible: Access Right = 0 means no security Security on individual recipes or on the whole recipe group If you put an access right on the recipe group (higher level) and a “0” here. The finished recipes appear as shown below 13-12 Version 5. There will be three recipes. From the Navigator.Exercise . Chicken and Vegetable.Recipes 1 Create Recipe Group i. Tomato.1 September 2010 . right click and create a new Recipe group Name your Recipe group SchneiderSoup ii. locate the Recipe option. Chicken and Vegetable soup. Right click the default recipe and create two new recipes (three total). Rename the recipes to Tomato. depending on the product being produced. v. iv. Create a new popup panel named Recipe and adjuct the panel's color to anything that you like. but will have different quantities.1 13-13 .Exercise . Collapse the Recipe fields (left side of editor) back to their original size Browse for the variables from the variable field by double clicking in the variable field The finished ingredient values should appear as shown below vi. iii. Vijeo Designer Manual Version 1. Each recipe uses the same variables.) Next the ingredient variables for the recipe are selected.Recipes (cont. Add a Small Recipe Manager from the toolchest to the panel 1. Open your recipes and add the access levels shown. the ingredient values will change every time someone sends a new value to the PLC Add Recipe Security 2 i. This is an optional recipe tool that is located with the other recipe objects You can use a complete object (above) or you can build your own recipe control from individual parts viii.Exercise .Recipes (cont. Use the “Previous” option in the switch’s animation 2. Since all student groups are sharing a single PLC. Add a Text Error Object to the panel (Toolchest) (labeled no error in the picture) and position it below the recipe manager. Add a switch to the panel that takes you back to the previous panel. Configure the switch to open the Recipe popup panel ix.) vii. 13-14 Version 5. Add a switch to the process panel labeled “Recipe” as shown. A user with access level 2 could run the Chicken recipe. An access level of 0 means that there is no security. Save.1 September 2010 . Validate and test the recipe's operation. These levels have NOTHING TO DO WITH the security levels you set up before A user with an access right of 7 can run all the recipes. you can insure that the access rights are reset to 0 when the logged in user is logged out by the system. Add a panel level script to the Secure panel.Recipes (cont. Add the command Word/Set as shown. This line writes the value 2 into the variable RecipeControlDefault. v. Script1._AccessRight This variable controls the access rights for recipes._AccessRight variable iii.1 13-15 . Add the Change Panel(2) command shown. Name the script.. Open up the Secure panel and double click on the Admin switch.Exercise .g.) ii. This can be done by adding a one line script iv. Set the script to execute on the "ON Open" event of the panel Vijeo Designer Manual Version 1. Since the access rights will not change until you change it. it’s first) Repeat the same procedure for the Bubba switch only write a value of 7 into the RecipeControlDefault. Make sure that the access rights are set before you navigate away from the secure panel (e. Create the script shown below This script sets the access rights to 0. Change the logout Behavior such that the application jumps to the secure panel after 1 minute of inactivity (shown) Also. he can only see one recipe but when Bubba is logged in. Validate. secure panel is opened and the access rights will reset to zero vii.1 September 2010 . anytime the secure panel opens. If you disabled Security at the close of the earlier exercise. Notice that when The Boss is logged in.) vi. Therefore. Set your first panel to be the Secure panel.Recipes (cont. he can run any of the three batches 13-16 Version 5. This forces you to login when the application first starts Remove the Security from the Process button on the Navigate panel or the Boss will not be able to navigate to the process panel viii. you must enable it now. and test the operation of security.Exercise . after one minute of inactivity. .........................14-3 Input Synchronization....................................................Chapter 14: Overview Introduction Data Sharing This chapter covers Vijeo Designers Data Sharing feature This Chapter Covers These Topics: Data Sharing Introduction...........................................14-4 Variable Sharing Example ..........14-5 Exercise ..................................Data Sharing .................14-2 Exclusive Input ...............................................................................................14-8 .......... The variables exchanged can be accessed in read or read/write mode.read or read/write mode to variables on other terminals Ethernet must be used to interconnect the targets 300 shared variables maximum are allowed(400 iPC) Sharing must be enabled Variables must be individually shared Think of the application as having Client and server targets 8 clients (max) may access 1 server 1 client may access up to 8 servers (max) 14-2 Version 5. you can declare the input as exclusive. A variable declared in read-only mode means that it can be written into by its target machine but only read by other targets. A variable in read/write mode can be read and written by all targets. Similarly a client can use variables from 8 different servers (e. A variable is sent by the terminal or “server” Magelis and can be used by up to 8 clients.Data Sharing Introduction Data Sharing Data Sharing: Vijeo Designer allows you to use variables (maximum of 300) to exchange data via Ethernet between the Magelis terminals involved in a project. To prevent several terminals from writing the same variable at the same time and causing conflicts.g. Target1.1 September 2010 . Designated variables data are shared between target machines Trend Graphs & Alarm Summaries support data sharing Targets must be in the same project Data Access .Variable1). Exclusive Input Overview Data sharing is a useful feature that enables one target machine to view and change data on another target machine. you can set up exclusive input relationships between target machines. locks out the others from opening the same panel Error message (bottom above) appears if you try to open a protected panel that has been locked out Vijeo Designer Manual Version 1. or access the same PLC from two different physical locations. With this feature you can stop other target machines from changing the value of variables you're working on Multiple users trying to access the same data from multiple monitors can be dangerous Setpoint entry from different locations at the same time is not desirable The Exclusive Input & Exclusive Panel options prevents this Functionality Exclusive Input: Blocks navigation to panels with a control that is opens Prevents simultaneous data entry from multiple targets Enabled at the project and panel level The first target that opens a protected panel. But this could also produce uncertain situations where two different operators might begin working with the same equipment without being aware of each other's actions. To prevent simultaneous inputs to the same variable.1 14-3 . This target either grants the request (if none of the other targets is in exclusive input mode) or refuses the request (if one of the other targets is in exclusive input mode.1 September 2010 . you can begin working with the exclusive input panel. If the request is refused.Input Synchronization Property Inspector At run time. the target remains on the same panel and displays an error message.) If the request is granted. when you try to change to a panel with exclusive input configured: the target requests permission from the target set up as the Input Manager. The target designated at the Input manager controls access to panels with exclusive input activated Designated target manages the inputs Sends target to the top panel after a period of time Optional – Inactivity Timeout – time panel can hold exclusive input 14-4 Version 5. Target B has no PLC driver but shares the data from Target A The configuration for this example will be explained over the next few pages. Create a New Project Create a project with two targets PLC driver is installed on the Server target Create panels in both projects Vijeo Designer Manual Version 1.1 14-5 .Variable Sharing Example How to Configure Data Sharing Example Typical Example – Target A has the PLC driver installed. ) Input Synchronization Select the project and activate Input Synchronization(1) Indicate which target will be the Input Manager and manage the exclusive inputs Specify an Inactivity Timeout if desired (2) Exclusive Input Panels Enable Exclusive Input on both panels This option becomes available after Input Synchronization is enabled Do this on both targets 14-6 Version 5.Variable Sharing Example (cont.1 September 2010 . g. The data is shared and the same in both panels Vijeo Designer Manual Version 1.Variable Sharing Example (cont. this project uses it.1 14-7 .) Data Sharing Select the first target in the Navigator and enable Data Sharing Repeat this for the other target Your top level panel cannot have objects that use data sharing Variable Sharing Configure data sharing sharing on each variable to be shared Select Read Only or Read/Write Animating Target B Add objects on panel for data display and entry Browse and select shared variables from the other target (e.. Server.output_int) (1) The other project gets the data from the PLC. Import the project Sharing from the C:\Class folder iii. In other words. You will need to complete the project and when you run your project. DO NOT EDIT THE SERVER PROJECT. the hardware target will poll the PLC for data and share it with your application running in the simulator. This is a copy of the project that will be running in the hardware target 14-8 Version 5. your Instructor will have you restore a project that has been started for you. To save time.Data Sharing 1 Import a Project i. you will become a “display client” of the hardware target.Exercise . Right click the Vijeo Manager and select Import Project ii.1 September 2010 . Open the Sharing project. Two target’s are configured. The animated fields are present but are not linked to any variables yet Link a variable to the animated field as follows: 1.Data Sharing (cont. Open Panel2.) iv. Notice that there are no communications drivers configured. all target to PLC communication will be done by the hardware target.input_int variable from the Server project. This variable has been previously “shared” in the server project so you can add it to the Client Project on Panel2 vi. Double click the field labeled “Integer Input" and browse for the Server.Exercise . You will be configuring a pure HMI client v. Link the other three Animation fields as follows: Field Integer Output Float Input Float Output Variable output_int input_float output_float 2 Save. Open the Client project. The client will get all it’s information from that shared variables in the server.1 14-9 . Validate and test your project Vijeo Designer Manual Version 1. In this exercise. Also notice that the client program does not have any variables configured. Exercise .1 September 2010 . This time. Take turns connecting 14-10 Version 5. only one target should be able to access panel 2 at a time. some will not be able to connect to the server until others leave Shut down your simulator when finished testing 3 Add Exclusive Input to the Project i.Data Sharing (cont.) i. enable Exclusive Input ii. Save. validate and test your application. Since there is no Exclusive Input or any protection enabled at this point. Select Panel2 of your Client program 1. everyone should be able to go to Panel 2 at the same time. All others should receive an error when they try. If there are more than 8 simulators. In the Inspector. ........................................ This Chapter Covers These Topics: What is the Web Server? ..................................15-5 Types of Web Gate Connections .........................................................15-3 Web Gate Basics..15-4 Web Gate Features/Restrictions.........................................15-2 What is Web Gate? ............Chapter 15: Overview Introduction Web Server and Web Gate This Chapter covers Vijeo Designer's Web Server and Web Gate features.......15-7 Web Gate Security ..........................................15-9 ........15-6 Web Gate Configuration............................................................................................................................................. secondary.view Information about the Target and Project File Viewer .view and copy Web Server files and data files in the main. and optional drives Web Gate (2) – publishes Vijeo Designer panels to a browser 15-2 Version 5.display select variable data remotely and to update the display with current values Statistics .What is the Web Server? Web Server? Vijeo Designer has an optional Web Server that may be added to a project. Once enabled.1 September 2010 . available Web Server (1) operations are: Variable Browse . you can read and write data on the target machine from the remote PC. Web Gate allows a Magelis to act as a web server. just as if you were in front of a Magelis Vijeo Designer Manual Version 1.What is Web Gate? Web Gate? Web Gate allows a target machine to act as a web server. You connect to the target through a browser on a remote PC You can read and write data on the target machine from the remote PC (depending on setup) You can see and operate the panels. Depending the Web Gate setup.1 15-3 . When Web Gate is enabled on a target. a user can connect to the target through a browser on a remote PC. dial-up connection r the Internet. trend graphs and alarm summaries all work with the client PC 8 concurrent client connections are allowed Web Gate is an ActiveX You must install the ActiveX Control from the target on your PC before you can make a connection Follow the instructions displayed the first time you try to connect to a target Connection Starting Can also install from the Vijeo Designer Installation Disk Web Gate connection starting up 15-4 Version 5. Ethernet networks only You can limit access to Web Gate based on a remote PC's IP addresses or through passwords Exclusive input. input synchronization.1 September 2010 . recipes. data sharing.Web Gate Basics Basic Concepts Web Gate allows the target machine to share its data with a remote PC across the corporate LAN. . display configuration Controller – Start or stop an XBTGC target Copy Data to/from Drive – copies runtime data from one drive to another Video – multimedia feature Browser .Data Sharing enables you to share data between a target and a remote PC. move top/bottom—that are run on the target machine are not reflected on the Web Gate client. and the target is set up to share its data Synchronization .Web Gate Features/Restrictions Features Web Gate features include: Robust Security .such as cursor up/down. However.When a target and remote PC are synchronized. you can indirectly access system variables by using the Read From Variable and Write To Variable properties Alarm Summary cursor-related operations . Each target has a set of variables. as long as the target is set up with Web Gate. the Alarm Banner does not change position when an error message box appears System Operations . is accessible on a network or LAN.you can limit access to the Web Server and Web Gate based on a remote PC's IP addresses or through passwords Web Server Capability . But in Web Gate. Restart runtime.enables you to navigate through documents and web content on the Browser Image capture viewer – multimedia – displays captured image Vijeo Designer Manual Version 1. page up/down.The web server allows the target machine to share its data with a remote PC across the corporate LAN or the Internet Data Sharing . changing the panel display on the target also changes the panel on the remote PC. In run time. A client PC can access these variables at run time.1 15-5 . Alarm Banner moves to the back when an error message box appears. Synchronization is enabled from Web Gate on the remote PC Restrictions Vijeo Designer features that are not available in Web Gate: You cannot directly access system variables on Web Gate. With Web Gate's web server capability. you can access a target machine with the remote PC using a router Dial-up Web Gate connection via a dial-up router (modem) Internet Connecting through the Internet .If your plant and office are connected to separate LANs. you can set a IP address for the target and allow a remote PC to access the target via the Internet. 15-6 Version 5.1 September 2010 .Types of Web Gate Connections Office LAN Connect Using a Router Via the Office LAN . enable Web Gate (1) Default port is 80 Select initial panel client will see when connected Inactivity Timeout is supported Web Gate Access Web Server access connections (1) Unrestricted .list of IP addresses that are allowed to connect Blocked IP addresses .Web Gate Configuration How to Enable Web Gate No graphical elements to set! With target selected.anybody can connect Allowed IP addresses .List of IP addresses that will be denied access Vijeo Designer Manual Version 1.1 15-7 . HMI Runtime Web Gate All 15-8 Version 5.) Configure Web Gate To use Web Gate. and actions are published to Web Gate. or both.1 September 2010 . and actions. The defined panels. you must define the Publish settings for your project. The defined panels. How to Set Web Gate Publishing Options With the target selected in the Navigator. popup windows.Web Gate Configuration (cont. popup windows. popup windows. and actions only publish to the target machine's HMI Runtime. This option allows you to retain the publishing settings individually defined in the panels. and actions will publish to both the HMI Runtime and Web Gate. and will not be available from the HMI Runtime The defined panels. popup windows. popup windows. select the Web Gate Publish option in the Inspector Browse then select the desired publishing options (1) Option No Change Description Displays when you make a publishing selection from the Target properties. HMI Runtime. and actions only publish to Web Gate. Publish settings define whether the project's panels. and will not be available from Web Gate. Web Gate supports the same User Name/ Password security See Also: For further information about Web Gate Configuration.1 15-9 .Web Gate Security Security If security is configured in the tareget. see Vijeo Designer Help Remote Monitoring with Web Gate. Vijeo Designer Manual Version 1. iii. Ignore the publish options that popup when you enable Webgate. Then you will reverse roles and you will make a Webgate connection with your partners simulator Finally.Web Gate 1 Use the Sharing project i. we will try multiple connections to a single server ii. enable the Webserver and Webgate in the Inspector iv. you will run the Sharing application again and work with another group in the class. Select Publish and configure as shown below.1 September 2010 . First you will run your Sharing application in simulation mode while your partner group creates a Webgate connection with your simulator.Exercise . only edit the client project With the Client project selected in the Navigator. 15-10 Version 5. Open the “Sharing” project you used earlier. Follow the procedure below to set the Publish property globally With the Client project selected. Once again. In this exercise. the ActiveX control must be installed vi.Exercise . 2 Running the Web Gate Connection i.1 15-11 . Select the New Window option and ignore any error messages you might see Vijeo Designer Manual Version 1. If this is the first time the client has made a Web Gate connection.) v. Both groups need to disable Exclusive Input on Panel 2 . Click the Monitoring option iii.Start the server The Client group should open an Internet Browser and type in the IP address of the Server application.. The default Web Gate screen appears ii.Web Gate (cont. Work out with your partner group who will be the webgate client first and who will be the server. ) iv. change panels on the server application and notice what the client does. Change the setpoints and the data should change v. Observe that you see live data via the webgate connection. Select the Synchronization option vi. Right click in an open area of the screen on the webgate client. Where is the data actually coming from? ________________________ The hardware target is actually polling the PLC and sharing the data with your simulator which in turn.Web Gate (cont. is sending it to your Webgate client.Exercise . viii. Switch roles with your partner group and let them try their webgate connection and the options described Designate one student station as a server and connect multiple clients to the server 15-12 Version 5. Navigate to Panel 2. Now. vii.1 September 2010 . ......16-20 Datasources Manager..........................16-21 Menu ...........................................................................................................................16-9 Monitoring/Actions Tab .............16-11 Exercise ............................................................IDS Explorer..........................................16-10 Create Data Tables.....................................................................................................................16-4 IDS Configuration Introduction.......................16-8 Variables Tab.................................16-5 IDS Manager..............................16-6 Database Type.....................................................Chapter 16: Overview Introduction Intelligent Data Service (IDS) This chapter discusses the configuration and operation of Schneider Electric's Intelligent Data Service.16-12 IDS Explorer ........................................................................................16-3 IDS Topology ......16-22 Create a Panel .......................................................................................................................................................16-25 .............................................................16-23 Exercise ......................................................... This Chapter Covers These Topics: IDS Functionality..................................................................IDS Manager....16-2 IDS Basics....... .1 September 2010 .. launch of third party tool on single or combined trigger Professional reporting Dedicated action on events …of a process including one or several Vijeo Designer targets in order to fulfill all needs of traceability including FDA 21 CFR Part 11 Targeted Business All business where the manufacturing of goods has to follow a very strict process including raw material genealogy and full process traceability of any events to ensure production quality and safety 16-2 Version 5.IDS Functionality 21 CFR Part 11 IDS provides an easy way to track all the operator input and relevant values linked to a process to ensure . Full and safe traceability Transparent and secure data logging with local or remote historical data base Local or remote access to dashboards Email send. ) Any Vijeo Designer activity can be recorded Data to be collected may be logged to: Relational database MS-SQL Server Compliant with FDA 21 CFR Part 11 data inviolability rule Intelligent Data Vault (IDV) Advantages IDS is easy to configure and easy to display collected data. Configuration and viewing is done in three main steps Vijeo Designer Manual Version 1.1 16-3 .. Internal & Systems variable) can be recorded Any operator inputs (recipe.. login…) Inherits Data Sharing limitations (Number of shared variables .IDS Basics Data Collection Based on Vijeo Designer Data Sharing Data Logging Uses a subscription mechanism (event driven for bandwidth optimization) Up to 8 targets can be connected though Data Sharing iPC / XBTGTW Series : 400 variables max per targets can be shared XBTGC / XBTGT / XBTGH / HMISTU / XBTGK : 300 variables max per target can be shared Variable sharing limits apply to IDS Any variables (incl. 1 September 2010 . Embedded BOX & PC BOX Small panels (XBT STU) Advanced panels (XBT GT / GK / GTW) Advanced / Embedded / PC BOX Vijeo Designer targets can be any Ethernet enabled panels - Data may be stored remotely 16-4 Version 5. Embedded BOX & PC BOX Distributed Solution Distributed solution Vijeo Designer and IDS’s Server run on MS-Windows Run on advanced panel (XBTGTW). Advanced BOX.IDS Topology Stand Alone Stand-Alone solution (All-In-One) Both Vijeo Designer and IDS’s Server are located on the same machine running MS-Windows Data are stored locally Run on advanced panel (XBTGTW). Embedded BOX & PC BOX Remote Data Logging Both Vijeo Designer and IDS’s Server are located on the same machine running MS-Windows Data are stored remotely Run on advanced panel (XBTGTW). Advanced BOX. Advanced BOX. both accessed from the Icon in Windows tray (1).IDS Configuration Introduction Configuration Introduction IDS Consists of two parts. When icon in tray is clicked. data to be collected and data logging details IDS Explorer (2) – Connects to IDS server to display collected data Uses configuration created by the IDS Manager Can display all or part of configured data Real time or historical data may be displayed Many possibilities are available Vijeo Designer Manual Version 1.Configures connection to target.1 16-5 . select: IDS Manager (2) . Browses project files for configuration informatiuon 16-6 Version 5.1 September 2010 .IDS Manager How to Configure a New Target Launch the IDS Manager Right click IDS icon (1) Select IDS Manager (2) IDS Manager launches (3) Target Connection Select Add Target (1) to create a new connection to a target Dynamic (2) . connection Builds configuration from live Static (2) – offline connection to Vijeo Designer project.live connection to target. 0.0. Items (3) – shared variables in Vijeo Designer application Items selected will become available to be stored in a database Vijeo Designer Manual Version 1.1 for simulator) Events (2) – Select if tracking is desired.1 16-7 .IDS Manager (cont.) How to Select Data to be Collected Select Target Tab (4) IP Address (1) – Enter IP address of target (127. ..Database Type How to Select Database Database Type (1) – select database type for data collection Use IDV for 21 CFR applications Enter path and Data Storage name. e.1 September 2010 . name of table that contains collected data New Database (2) – enter path and Data Storage Name for new database How to Set Storage Limitation Storage Tab (1) – Set limits on database size and/or collection time 16-8 Version 5.g. Variables Tab Variables Tab IDS searches the target and displays a list of shared variables Creates a Variable Group 1 to hold these variables (1) System variables may also be added by clicking the Add Variables button Vijeo Designer Manual Version 1.1 16-9 . 5 sec interval shown (3) 16-10 Version 5.Monitoring/Actions Tab How to Select Variables to be Monitored Select Monitoring Tab Select the variables to be monitored from the Variable Group 1 you just created Final list is on the right (1) How to Configure Actions Actions tab – controls when and how the data are logged Create a new action (1) by clicking on the "+" sign Select Data Storage as action type (2) Select a trigger mode – Cyclic.1 September 2010 . 1 16-11 .Create Data Tables How to Configure Data Tables Select create a new table (1) – A new table will be built to hold variable data Select Columns (2) – every variable has its own column How to Select Table Variables Select variables (1) IDS confirms creation of table (2) Click on Apply then Finish Buttons to complete System confirms save configuration (3) IDS restarts with new configuration (4) IDS successfully connected to target (5) Vijeo Designer Manual Version 1. TANK_H2O TANK_ING TANK_STOCK TMP_act Batch_Total Validate and start your project in the simulator 16-12 Version 5.1 September 2010 .Exercise . Turn ON Sharing for the variable as shown iv. Activate Sharing in the same variables: manner for each of the following SP_H2O SP_ING SP_STOCK SP_TEMP TANK_ADJ v. Open Vijeo Designer.IDS Manager 1 Share variables for IDS i. Open your project's variables and open the SP_ADJ variable for editing iii. turn ON Data Sharing in the Inspector if it is not currently ON ii. With your project selected in the Navigator. 1 16-13 .Exercise .IDS Manager (cont. Right click the IDS icon in the tray and select IDS Manager ii. Select Dynamic – for this option. Select Add a Target iii. Rename your target Simulator and click on the Next button Vijeo Designer Manual Version 1.) 2 IDS Manager Configuration i. the target (simulator) must be running. 1 September 2010 . 16-14 Version 5. Name the data table training as shown. Click on Next when ready v. Select Create a new database.IDS Manager (cont. Change the Monitoring option (bottom) in the Items Shared area to All. Create a subdirectory under C:\Class and Set the path as shown. Select IDV Intelligent Data Vault as the database type vi.Exercise .) iv. Monitoring All as shown. IDS confirms the successful creation of the database 3 Data Logging Control i. Remove any additional variables that might be shown from the displayed list This list is a list of variables that are available to be monitored Vijeo Designer Manual Version 1.Exercise . Limit the size of the database to 1 MB and 1 Day’s data ii. IDS looks at the simulator and returns a list of shared variables. Click on the Variables tab.IDS Manager (cont.1 16-15 .) vii. The list shown here are the variables that are used in this exercise. Select the Create a new trigger action as shown v. At this point. Select Data Storage as the action and click the Next button 16-16 Version 5. the IDS explorer could display a snapshot of real time data if the configuration process was stopped here iv.IDS Manager (cont.1 September 2010 . Use the arrow keys to make your right side match the one shown here. The final list to be monitored is on the right. Click the Monitoring Tab.Exercise . Click the Actions tab to create an historical variable database.) iii. Click on the Next button when ready Vijeo Designer Manual Version 1.) vi. Name your action anything you like.1 16-17 .Exercise .IDS Manager (cont. Select Create a new table and click on the Next button viii. Make the action Cyclic and set it up for a five second interval. Name your Table Simulator 1 and select column. Click on the Next button when ready vii. Click the Apply button followed by the Finish button to complete the configuration 16-18 Version 5. The system confirms the creation of the historical data table. Select all the variables to be part of this table and click the Next button when ready ii.) 4 Pick variables to be logged i. Click on the Finish button iii.IDS Manager (cont.1 September 2010 .Exercise . Exercise . IDS should restart and connect to your simulator Vijeo Designer Manual Version 1.) iv. Confirm the restart of IDS vi.1 16-19 . Save your configuration when prompted v.IDS Manager (cont. Configured Databases Dashboard(2) – list of previously saved dashboards Panels (3) – max of 12 panels available Toolbar Menu (4) Dashboard A Dashboard saves the layout of the panels that you viewing Dashboard is a collection of panels User or Public viewing – indicate who can view (1) Saved Dashboards (2) 16-20 Version 5. If not installed. will automatically downlooad and install on PC IDS Explorer Dashboard Standard login is admin. admin Datasources Manager (1) .1 September 2010 .IDS Explorer IDS Explorer The IDS Explorer (1) connects to the IDS server to display the collected data The IDS Explorer: Uses MS Silverlight. the maximum value reached by the variable. Min Timestamp . their real-time value and other significant attributes. Value .the timestamp of the last update of the field "Value".the timestamp of the last update field "Max.the timestamp of the last update field "Min". Max . Variable . (1) Dragged to Panel area to create a visualization (2) Real Time View Real-time views are dynamic grids containing shared variables from the target set in IDS Manager. Vijeo Designer Manual Version 1.Datasources Manager Datasources Manager Datasources Manager Used to identify all databases and storage in the Targets." Min .the real-time value of the variable. Last update .the number of variable variations since starting communication.the target name to which the variable belongs.1 16-21 .the variable name. Variations count . Group . different fields such as: Device .the group name to which the variable belongs. Max Timestamp . One can observe for each variable in the grid.the minimum value reached by the variable. Menu Menu Period Filter The period filter displays data on a specific period. form). It is applicable to all types of displays (grid. To view this filter. chart. click the icon(calendar) located in the menu bar 16-22 Version 5.1 September 2010 . Create a Panel How to Create a Panel Drag table to Panel (1) Data are displayed as chart (2) Change the way the data is displayed (3) Trend Chart Display as Trend Chart Select variables to be displayed(1) Data are displayed as a trend chart (2) Vijeo Designer Manual Version 1.1 16-23 . ) IDS Tracking IDS automatically captures event information in the IDS Tracking table No configuration is required 16-24 Version 5.Create a Panel (cont.1 September 2010 . admin. The IDS Explorer launches. Click Login when ready iii. Right click your IDS tray icon and select IDS Explorer ii.1 16-25 . iv. You should see data displayed in a spreadsheet format Vijeo Designer Manual Version 1.Exercise .IDS Explorer 1 IDS Explorer i. Enter some setpoint data into your soup application on the simulator and run a batch of soup. The default password is admin. The IDS Explorer connects to your configured database(s) and your Simulator 1 Table appears in the database you created Drag the Simulator 1 table to an empty panel v. 1 September 2010 .Exercise . The data are displayed as a chart 16-26 Version 5. Click the Gold colored icon (upper left) and select view as/charts/trend chart vii.IDS Explorer (cont. Select all the variables and click the Next button viii.) vi. ) 2 Experiment i. When starting the IDS Explorer. make sure the IP address is correct for your PC Vijeo Designer Manual Version 1.IDS Explorer (cont.1 16-27 . Experiment with other options of the IDS feature Note – The address of the IDS Web server is the address of the host PC. ii.Exercise . . ............................................................................................................. 17-8 ........................ 17-7 System Diagnostic Screens .. 17-5 Offline Configuration Screens..............................................................Chapter 17: Overview Introduction Initialise a Magelis Terminal This chapter describes the operations required to initialise a Magelis XBT GT / XBT GK/XBT GC terminals or iPC for first time use and includes: Loading the Runtime system Configuring the terminal offline Configuring system parameters This Chapter Covers These Topics: Vijeo Designer Runtime System ......... 17-4 Adjust the Terminal............................... 17-2 Set the Initial IP Address......................................... 17-6 System Configuration Screens ................................................. 17-3 Access the System Area ..................... The Runtime system is automatically transferred with the application to the target if the installed runtime is different than the runtime currently installed in the Magelis.Vijeo Designer Runtime System Runtime System Terminal XBT GT 1100 XBT GT 1105 XBT GT 1130 XBT GT 1135 / 1335 XBT GT 2110 XBT GT 2120 / 2220 XBT GT 2130 / 2230 to series 7000 XBT GH 2460 XBT GTW 450 / 652 / 750 XBT GK 2120 / 2330 / 5330 XBT GC 110 / 2120 XBT GC 2230 iPC No Yes Yes No No No Yes Yes Yes No No CF / CD / DVD Floppy Disk Ethernet No No Yes Yes No No Yes Tool Port Yes No Yes No No No No USB No Yes No Yes Yes Yes Yes CF Card No No No No Yes Yes The Runtime system installed on the terminal allows the user to run the HMI application. In addition. The Runtime system must be compatible with the Vijeo Designer Editor used to create the application. via the Ethernet. 17-2 Version 5. The runtime can also be installed using the memory card (if it is supported by the terminal) or the Runtime Installer Tool. IPCs can use CD Roms or floppy drives to install the runtime if they have them. Tool or USB ports on the terminal.1 September 2010 . The Runtime Installer tool can be used to install the system separately (in recovery mode for example) if needed. 1 17-3 . How to Set the IP Address To set the IP Address of the Magelis: Use the touch screen to enter the Magelis IP Address. Subnet Mask and Gateway information. Vijeo Designer Manual Version 1.Set the Initial IP Address How to Select the Network To select the Network: Select the Language for the Magelis from the drop down menu then click the Network icon to open the network configuration screen. Buttons may also be configured to gain access to the System Area. the corners required to press may be different to those described.Access the System Area How to Display the System Area To display the System Area of the Magelis screen: Press the three corners shown on the touch screen simultaneously. For XBT GT / GK terminals: Press top-left corner or 2 corners simultaneously for 2 sec (defined by the “To configuration” menu in the application) The corners that must be pressed are programmable. If another user has altered the configuration. 17-4 Version 5.1 September 2010 . Adjust the Terminal How to Open the Terminal Settings Access to the terminal settings is available only if an HMI application is loaded in the terminal. To display the configuration screens of the terminal: Press the top-left corner of the screen or Press more than one corner of the touch-sensitive screen simultaneously, depending on the option selected for the application or Animate a screen area or a button to access the terminal configuration screens There are two tabs for accessing the: Offline Configuration Screens System Configuration Screens The To Run Mode key allows the user to return to the normal operating mode of the application. Vijeo Designer Manual Version 1.1 17-5 Offline Configuration Screens Offline Configuration This screen provides access to 8 icons which are used to: Network Define or redefine the Ethernet communication parameters, such as IP address, subnet mask and default gateway address. This function is only accessible on terminals which have an Ethernet link Enable or disable the buzzer function on your terminal. If the function is enabled, touching an object causes a beep to sound Configure the terminal to switch to standby mode after a certain period, from 15 seconds to 30 minutes. The keys are inactive in standby mode and only an alarm will reactivate the backlight. The keys may remain active in this mode: this option is recommended Launch terminal self-tests, such as testing the fonts, screen, touch panel, serial ports and video memory Enable power supply to the COM1 port (power/no power to connector pin 9). This function is not accessible with the XBT G and XBT GT1000 terminals Allows users to view or modify driver configuration and equipment configurations from the panel Allows users to configure the Web Gate option from the panel Allows users to adjust the multimedia configuration from the panel Buzzer Backlight Self Test Option I/O Manager Webgate Multimedia 17-6 Version 5.1 September 2010 System Configuration Screens System Screens This screen provides access to 8 icons which are used to: Stylus Date/Time Restart Language Ver. Info Memory Brightness Option Calibrate the terminal. Press all of the crosses to complete calibration Update the date and time on the terminal Restart the HMI application Change the system language and user language Display the Runtime system and application versions (version of Vijeo Designer editor used to create the application and Build number) Display the memory used and memory available: dynamic memory (DRAM), internal user memory (Main Flash) and memory card Adjust the screen brightness and contrast. Color screens with an active TFT matrix only allow the brightness to be adjusted. Display data in video or reverse video mode if using a monochrome screen Vijeo Designer Manual Version 1.1 17-7 System Diagnostic Screens System Diagnostic Screens This screen provides access to 2 icons that are used to: Variables: Statistics: Used to test communications between the target and the PLC. It also traps communications errors Shows communication statistics between target and PLC 17-8 Version 5.1 September 2010 Appendix A: Multimedia Features Overview - Multimedia Features Introduction This chapter discusses Vijeo Designer's multimedia features This Chapter Covers These Topics: Multimedia Features ............................................................. A-2 ScreenSnapshot..................................................................... A-3 Screen Snapshot Configuration ............................................ A-5 ScreenSnapshot Save Tab..................................................... A-6 ScreenSnapshot Print Tab..................................................... A-7 ScreenSnapshot and Web Gate ............................................. A-8 Multimedia - Video............................................................... A-9 Video Record Configuration............................................... A-10 Video Recording - Playback Snapshot Configuration........ A-11 Live Snapshot Configuration .............................................. A-12 Video Snapshot Variables................................................... A-13 Video Display Options........................................................ A-14 Video Control Variables ..................................................... A-15 Exercise - Multimedia......................................................... A-16 Vijeo Designer Manual Version 1.1 A-1 Multimedia Features What are Multimedia Features? Multimedia consists of two parts: Screen snapshot & print or view ScreenSnapshot Take picture of targets screen at runtime Store captured images as a .JPEG picture Print picture options View picture with JPEG viewer Display or play video Video snapshot Video A-2 Version 5.1 September 2010 ScreenSnapshot Hardware ScreenSnapshot is available on the following platforms: Functionality XBTGT 1005 series and up, XBTGK, XBTGTW iPC with Windows XP Captures panel screen image(s) Saves as JPEG image Retrieved via Data Manager (1) or Viewed with JPEG viewer Print Options Fit to page Header support – title, date, time, panel number Orientation – portrait, landscape Vijeo Designer Manual Version 1.1 A-3 ) ScreenSnapshot Variables System automatically creates ScreenSnapshot Variables (1) when feature is enabled Used to control and monitor the snapshot process Write value into variable (2) to control Local or Web Gate Variables: Error – error codes associated with snapshot (3) Status – snapshot status number code A-4 Version 5.ScreenSnapshot (cont.1 September 2010 . are automatically created. FileNo.Screen Snapshot Configuration How to Configure ScreenSnapshot Once ScreenSnapshot is enabled for the target. Control. It is recommend that you use a switch to trigger screen snapshots. Scripts can also be created for automatic ScreenSnapshot capture Screen to be captured must be the one being displayed Vijeo Designer Manual Version 1. the snapshot control variables.1 A-5 . If you use a keypad to trigger a snapshot.Control variable. the snapshot may include a picture of the keypad Add a switch to the panel that you wish to capture and set the action to Momentary ON for the ScreenSnapshot. and Status. Error. .ScreenSnapshot Save Tab Save Tab Automatic or manual generated file names Number of pictures to jeep (1) Circular file system .. oldest files are overwritten Set compression setting for image A-6 Version 5.1 September 2010 . &G .The project name defined in Vijeo Designer displays in the header Target Name .The Panel ID defined in Vijeo Designer displays in the header Time .&I .&T .&D .The target name defined in Vijeo Designer displays in the header PanedID .&J . (1) Many options are available.ScreenSnapshot Print Tab Print Tab Printing must be enabled for the project and the printer configured. including printing to network printers Print Tab – select header options (2) and desired font The following headers may be added to the snapshots's print output: Project Name .1 A-7 .The date the snapshot was taken displays in the header Vijeo Designer Manual Version 1.The time the snapshot was taken displays in the header Date . &G .&T .&J .&I .The target name defined in Vijeo Designer displays in the header PanedID .The date the snapshot was taken displays in the header A-8 Version 5.1 September 2010 . for the screen snapshot Control variable. enable Read From Variable and select a variable that you created. In this example.The time the snapshot was taken displays in the header Date .The Panel ID defined in Vijeo Designer displays in the header Time .ScreenSnapshot and Web Gate How to Configure ScreenSnapshot with WebGate You must follow all these steps in order to take a picture using Web Gate You cannot directly write to the snapshot control variable (1) via Web Gate In the Editor.&D . the variable's Data Source is set to Internal and Sharing is set to Read/Write Enable Webgate Connection Security (2) Control the Read From Variable via Web Gate to take a picture The following headers to the snapshots's print output may be optionally added: Project Name .The project name defined in Vijeo Designer displays in the header Target Name . 1 A-9 . PAL – Europe and other locations) Vijeo Designer Manual Version 1.control for viewing video files or live video Multimedia Live Video - With the target selected. pick format (1) Select the video format (NTSC – USA. enable Video.Video Video The Video feature: Supported for iPC. GC and GTW series Not supported in XBTGC Record and view live video streams Play back a recorded video file Video snapshot & print (live & playback) - Take a snapshot fromt the video camera Video Display Object (1) .Multimedia . GT. Specify number of minutes of video to hold in the buffer Save file as type – pick the file format you desire For MP4. proprietary format but cannot be viewed outside the target's runtime environment A-10 Version 5. you must have a Codec and player that can handle this format.1 September 2010 .select how the recorded files are to be named Buffer configuration (3) – records video to buffer.Video Record Configuration How to Configure Video Recording Video Recording configuration involves several configuration tabs Record Tab: Variables (1) – automatically generated by the system File Name (2) – automatic or manual . Can play on your PC VMG is a highly compressed. Playback Snapshot Configuration How to Configure Video Snapshots Configuration settings for creating video snapshots from recorded video This tab assigns status status variables to the Video SnapShot feature Select the number of files to be kept.Video Recording . the way these files are named and the amount of compression for the files File compression (1) – lowest compression = best quality= biggest files Vijeo Designer Manual Version 1.1 A-11 . Live Snapshot Configuration How to Configure Live SnapShot Configuration settings for creating video snapshots from live camera image Assign the status variables to to monitor the features runtime status Select: Number of files to keep How files are to be named Amount of compression for the files A-12 Version 5.1 September 2010 . 1 A-13 .Video Snapshot Variables How to Configure Video SnapShot Variables System creates variables for snapshot options (1) You create buttons or use the provided keypads to enter values into the control variables (2) Scripts may also be created to control video operations Video Display Object To add a Video Display Object to a panel: Select the Video Display Object and drag to the panel (1) Size it using the handles (2) Vijeo Designer Manual Version 1. Configures the Video Display to show the feed coming from the video camera connected to the target's RCA Composite port A-14 Version 5.Video Display Options How to Configure the Video Display The Video Display's configuration controls what it does at runtime Live Video Feed (1) – select if you wish to view live video Play File (2) – plays the file indicated Popup Keypad – enables built-in keypads for the control. Live Video keypad is shown (4) Live Video .1 September 2010 . Video Control Variables How to Configure Video Control Variables The Video control may be controlled by writing values int the Control variable. THis is the easiest way to interact with the video control.1 A-15 . The information provided shows valid entries for the control variable and what each value controls System creates control variables automatically (1) when Video is enabled Works in the same as the snapshot variables Use to create your own controls or use the builtin keypad Specific information is given (2) for controlling the video control Variable Control Status Variable Error Variable Description An integer variable that controls video recording (see table above) An integer variable that indicates the status of the video operation An integer variable that indicates the error that occurred during the video operation Video Switch A switch can also be use to control the video process. Vijeo Designer Manual Version 1. Open the Process panel and create a new switch with the label Picture iv. With the Soup Project selected in the Navigator.1 September 2010 . Create a new sub folder in your Class folder named “Picts” path will be C:\Class\picts Your Open the Schneider Soup project.Multimedia 1 Add and Configure SnapShot feature to application i. ii. activate the Screen Snapshot feature in the Inspector.. The system will create several new variables when this feature is activated iii.Exercise . Create a new integer variable named PICT as follows: Activate sharing for the variable PICT as shown A-16 Version 5. Vijeo Designer does not differentiate between a bit’s value of 0 or 1 and an Integers value of 0 or 1.) v. In other words Bits and Integer values of 0/1 are treated the same. Make "Process" the starting pane Vijeo Designer Manual Version 1.Control variable is an integer.Multimedia (cont. you can apply bit operations (SET/RESET) on it. Animate the switch as follows: Even though the Snapshot.Exercise . Enable target & Web Gate security.1 A-17 . Each time the switch is activated. a picture is taken 2 Complete the configuration i. ) ii. Validate and run your project. This is located under the Tools menu A-18 Version 5. Add the following Panel Action script on the Process panel. Save.Exercise . iv. iii. It will display pictures using the JPEG viewer. This script runs in your simulator and also the hardware target.Multimedia (cont. Take ONE picture. take a picture and store it in the compact flash. Launch the Data Manager. Set the triggering of the script as shown The script runs whenever the variable PICT is TRUE The Vijeo Designer Simulator cannot store pictures since there is no compact flash. Anytime any student presses the Picture button in the simulator. Go to the JPEG viewer and see if your picture is there Ask your instructor to open the JPEG Viewer page in the target and see the picture(s) there. This bit causes the script in the real Target to run.1 September 2010 . it will set the bit PICT in the target. These pictures come from the compact flash v. Create a new connection to the target and name it "Bubba" when prompted vii. BUBBA.Multimedia (cont.) vi.Exercise . BUBBA (uppercase) The User name and Password are Data location is the secondary drive. Enter the information shown.1 A-19 . Click on Create when ready Vijeo Designer Manual Version 1. Select only Captured Images.Multimedia (cont. With BUBBA showing in the Media window. click on Next ii. Set the path to the picts folder you created earlier A-20 Version 5.1 September 2010 .) 3 Connect to the target i.Exercise . Select Retrieve files iii. you will see a status report similar to the one below v. open a Web Gate connection to the target and take a picture from the process screen. Open the JPEG Viewer and observe the captured screens.) iv. Go to your C:\Class\picts folder and double click on one of the pictures.1 A-21 . If you are successful.Exercise . You should see the process screen. Remember that each student is also taking pictures Vijeo Designer Manual Version 1.Multimedia (cont. If you have time. A-22 Version 5.1 September 2010 . Vijeo Designer Quiz Name __________________________________________________________ 1) Vijeo Designer a) b) c) d) Develops applications for the Magelis XBTF terminals Is only used for the XBTG terminals Is only used for the XBTGT terminals Is used for both the XBTG and XBTGT terminals 2) All XBTGT terminals support Ethernet communications … a) TRUE b) FALSE 3) The Navigator WIndow a) b) c) d) 4) a) b) c) d) 5) a) b) c) d) Is where you select the project you wish to work on Displays items to be added to a panel Discovers all XBTGT’s in a network and displays their status Allows you to select the part of a single project that you want to edit The Inspector Window Is a diagnostic tool for troubleshooting network problems Is used to troubleshoot compile errors Shows you details on any item that is selected Is another name for the script editor The IDS feature: Is integrated into the Vijeo Designer software package Only runs in Magelis IPCs Is a separate software package Works with all supported Magelis networks 6) Alarms may be triggered by … a) Only digital variables b) . analog but not real data type variables d) any variable type or by expressions continue on reverse side (just four more questions) .Only analog variables c) digital. anyone can adjust a process Allows only one remote connection Webpages are displayed from the PLC’s Ethernet module (factorycast) Allows multiple targets to display each others panels 10) Data Sharing is required by (circle all correct answers) a) b) c) d) IDS Alarming Webgate Recipes .7) Security a) b) c) d) Is a built in feature and consists of users with permissions Must be created as a user application and involves scripting Security is not available in Vijeo Designer Individual screen objects cannot be made secure 8) Data Sharing a) b) c) d) PLC(s) send the same information to multiple targets Data is shared with external applications such as Excel Multiple targets exchange data via Ethernet Data is shared between targets using any type of networl 9) Webgate a) b) c) d) Since security may not be used. The training course was relevant and accurate c. Handouts and product information Additional comments: __________________________________________________________________________________________________________________________________ 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 5 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 __________________________________________________________________________________________________________________________________ __________________________________________________________________________________________________________________________________ 3. The training room and facilities d. Please rate the course and content: a. Course scheduling and daily attendance hours e. The course guide was relevant and accurate b. The course booking process c. There was adequate hands-on time during the course e. Overall satisfaction: a. Breaks and overall course flow f. I will use the course guide as a reference after the training 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 6 6 6 6 6 7 7 7 7 7 Additional comments: ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ . The amount of content in the course was adequate d. Please rate the corporate aspects of this course: b. Please rate your overall satisfaction with this course 1 2 3 4 5 6 7 2. Catering and refreshments g.Course Evaluation Name: Company: Job Title: _________________________________________________________________________________________________________________ _________________________________________________________________________________________________________________ _________________________________________________________________________________________________________________ Employee Number Course: Trainer: _______________________________________________________________________________________________________ _______________________________________________________________ Date: ________________________________ _________________________________________________________________________________________________________________ Please rate each of the points below from 1 (Extremely dissatisfied) through 4 (neutral) to 7 (extremely satisfied) 1. I enjoyed the course b. Further space for comments: ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ Consider suggesting different courses. The trainer created a positive learning environment e. Please rate the course trainer: a.4. Your comments may be used in future marketing material. The trainer treated all students in a courteous manner d. The trainer was helpful and offered useful advice Additional comments: ___________________________________________________________________________________________________________________________________ 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 6 6 6 6 6 7 7 7 7 7 ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ 5. I was able to keep up with the material c. I intend taking further training d. The trainer was well-prepared to teach the material c. I consider this course to be value for money Additional comments: ___________________________________________________________________________________________________________________________________ 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 6 6 6 6 6 7 7 7 7 7 ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ 6. . and variations in the depth of material or rate of flow. different content. Please express any and all opinions you might have – all comments made will help improve the training experience in future courses. Are there any course topics you would like to see Schneider Electric offer in the future? ___________________________________________________________________________________________________________________________________ ___________________________________________________________________________________________________________________________________ 7. I would recommend this course to others e. The trainer engaged the students throughout the course b. Please rate yourself: a.
Copyright © 2024 DOKUMEN.SITE Inc.