Data Bulletin 8000DB0709 04/2010 Raleigh, NC, USA How to Mimic the PanelMate Readout Template with Vijeo Designer Retain for future use. Overview The purpose of this data bulletin is to provide step-by-step instructions for programming Vijeo Designer objects that will mimic the visual and functional operation of a readout template used within PanelMate. Presumption Requirements This bulletin is written for individuals familiar with Vijeo Designer and PanelMate software. If you are not familiar with these software programs, please consult your system administrator. The following hardware and software is required: Hardware Graphic terminal Software Vijeo Designer programming software, version 4.5 or higher PanelMate epro PS Screen capture utility
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 Overview 04/2010 Table of Contents Overview... 1 Presumption... 1 Requirements... 1 Safety Information... 3 Notice... 3 Qualified Personnel... 4 Before You Begin... 4 Start-up and Test... 5 Operation and Adjustments... 6 User Comments... 6 PanelMate Readout Template... 7 Readout Attributes Tab... 7 Expressions Tab... 9 Control Definitions Tab... 10 Readout Template Conversion Example... 11 Readout Attributes Tab... 12 Expression Tab... 16 Control Definitions Tab... 21 Testing Your Work... 32 2
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 Table of Contents Safety Information Notice Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards, or to call attention to information that clarifies or simplifies a procedure. A lightning bolt or ANSI man symbol in a Danger or Warning safety label on the equipment indicates an electrical hazard which, as indicated below, can or will result in personal injury if the instructions are not followed. The exclamation point symbol in a safety message in a bulletin indicates potential personal injury hazards. Obey all safety messages introduced by this symbol to avoid possible injury or death. Symbol Name Lightning Bolt ANSI Man Exclamation Point DANGER DANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. WARNING WARNING indicates a potentially hazardous situation which, if not avoided, can result in death or serious injury. CAUTION CAUTION indicates a potentially hazardous situation which, if not avoided, can result in minor or moderate injury. CAUTION CAUTION, used without the safety alert symbol, indicates a potentially hazardous situation which, if not avoided, can result in property damage. 3
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 Safety Information 04/2010 Qualified Personnel Before You Begin For the protection of personnel and equipment, a qualified person must perform the procedures detailed in this bulletin. A qualified person is one who has skills and knowledge related to the construction and operation of this electrical equipment and the installation, and has received safety training to recognize and avoid the hazards involved. Refer to the most current release of NFPA 70E, Standard for Electrical Safety in the Workplace, for safety training requirements. In addition, the person must be: Able to read, interpret, and follow the instructions and precautions in this data bulletin and the other documentation referenced. Able to use the required tools listed in this data bulletin in a safe and correct manner. Do not use this product on machinery lacking effective point-of-operation guarding. Lack of effective point-of-operation guards can result in serious injury to the operator.. WARNING UNGUARDED MACHINERY CAN CAUSE SERIOUS INJURY Do not use this software and related automation equipment on equipment which does not have point-of-operation protection. Do not reach into machinery during operation. Failure to follow these instructions can result in death, serious injury, or equipment damage. This automation equipment and related software is used to control a variety of industrial processes. The type or model of automation equipment suitable for each application will vary depending on factors such as the control function required, degree of protection required, production methods, unusual conditions, and government regulations. In some applications, more than one processor may be required, as when backup redundancy is needed. Only the user can be aware of all the conditions and factors present during setup, operation, and maintenance of the machine; therefore, only the user can determine the correct automation equipment and the related safeties and interlocks to be used. When selecting automation and control equipment and related software for a particular application, refer to the applicable local and national standards and regulations. The National Safety Council s Accident Prevention Manual (nationally recognized in the United States of America) also provides much useful information. In some applications, such as packaging machinery, additional operator protection such as point-of-operation guarding must be provided. This is necessary if the operator s hands and other parts of the body are free to enter the pinch points or other hazardous areas and serious injury can occur. Software products alone cannot protect an operator from injury. For this reason, the software cannot be substituted for, or take the place of, point-of-operation protection. 4
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 Safety Information Ensure that the appropriate safeties and mechanical/electrical interlocks related to point-of-operation protection have been installed and are operational before placing the equipment into service. All interlocks and safeties related to point-of-operation protection must be coordinated with the related automation equipment and software programming. NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation protection is outside the scope of the Function Block Library, System User Guide, or other implementation referenced in this documentation. Start-up and Test Before using electrical control and automation equipment for regular operation after installation, test the system to ensure that the equipment is operating correctly. Allow enough time for a complete test. CAUTION EQUIPMENT OPERATION HAZARD Verify that all installation and set up procedures have been completed. Before operational tests are performed, remove all blocks or other temporary holding means used for shipment from all component devices. Remove tools, meters, and debris from equipment. Failure to follow these instructions can result in injury, or equipment damage. Perform all start-up tests recommended in the equipment documentation. Store all equipment documentation for future references. Software testing must be done in both simulated and real environments. Verify that the completed system is free from all short circuits and grounds, except those grounds installed according to local regulations (according to the National Electrical Code in the U.S.A., for instance). If high-potential voltage testing is necessary, follow recommendations in the equipment documentation to prevent accidental equipment damage. Before energizing equipment: Remove tools, meters, and debris from equipment. Close the equipment enclosure door. Remove ground from incoming power lines. Perform all start-up tests recommended by the manufacturer. 5
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 Safety Information 04/2010 Operation and Adjustments User Comments The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English version prevails): Regardless of the care exercised in the design and manufacture of equipment or in the selection and rating of components, there are hazards that can be encountered if such equipment is improperly operated. It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe operation. Always use the manufacturer s instructions as a guide for functional adjustments. Personnel who have access to these adjustments should be familiar with the equipment manufacturer s instructions and the machinery used with the electrical equipment. Only those operational adjustments actually required by the operator should be accessible to the operator. Access to other controls should be restricted to prevent unauthorized changes in operating characteristics. We welcome your comments about this bulletin. You can reach us by e-mail at oem.solutions@schneider-electric.com. 6
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 Safety Information PanelMate Readout Template Readout Attributes Tab This section defines each field of the three tabbed readout templates followed by instructions to perform a readout template conversion. Before attempting to convert the readout template, thoroughly understand its functionality. Readout templates are designed to be used as numerical readout devices on a control panel and are used to display a digital value. The PanelMate unit also provides two ways for the operator to change the PLC value. When double clicking on or designing a new readout template, a pop-up dialog box containing the following three tabs appears: Readout Attributes Expressions Control Definitions The following information is defined in the Readout Attributes tab: The label of the Readout (A) Define the size (B) Define the number of decimal places (C) Define the label font (D) Options for visibility (E) Units (F) Figure 1 shows the locations of the fields with this tab. Figure 1: Field Locations in Readout Attributes Tab (A) (B) (D) (E) (C) (F) 7
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 Example 1: Readout Attributes Tab with Single Width Block Define the Device Name Define the Units Width = 1 Example 2: Readout Attributes Tab with Double Width Block Define the Font Width = 2 Define the Decimals Places 8
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template Expressions Tab The following information is defined in the Expressions Tab: The expression for value 1 (A) Deadband Range (B) Alarm Acknowledge (C) High Alarm (D) Low Alarm (E) Figure 2: Field Locations in Expressions Tab (A) (B) (C) (D) (E) Example 3 Expressions Tab The value in PLC register 400100 displays High Alarm if the value in PLC register 400100 is greater than 200 Low Alarm if the value in PLC register is less than 10 9
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 Control Definitions Tab In this tab, control for the indicator template is defined. Use of this tab is optional. If defined, the indicator displays an arrow in the bottom left hand corner of the Readout template. Similar to the previous tab, the lower fields (Control Label and PLC bit Reference) will automatically update the upper field. The Target Word Address is the PLC reference where the value will be stored (A), Control Type indicates the type of popup entry pad (B). Figure 3: Field Locations in Control Definitions Tab (A) (B) Example 4: No Control Definitions Defined When the readout is touched, nothing happens on the screen, it merely functions as a display. Example 5: One Control Definition Defined The arrow is present in the bottom left hand corner When the indicator is touched, the control options will appear on the screen 10
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template Readout Template Conversion Example In this example, there is an existing readout template. See Figure 4. Examine the readout attributes. Notice that the Device Name is set to Readout Label, the size is 1, the Value 1 Font is Quad, and there are no conditions set for visibility so it is always visible. The Units field is set to units and Decimal Places field is set for 2. NOTE: To display more numbers, change the Value 1 Font size or increase the width of the template. Figure 4: Existing Readout Template Device Name Decimals Places Value 1 Font Units 11
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 Readout Attributes Tab 1. In Vijeo Designer, create a square that is 5 units by 5 units. A square this size is very close to the size of a 1 wide template used in the PanelMate software. 2. In the Property Inspector pane, modify the rectangle properties (Colors and Shape) to get the visual effects shown. See Figure 5. Figure 5: Create a Square and Add Color and Shape Properties 5 1 5 2 3. Repeat the procedure with another rectangle 5 units by 2 units and modify the shape properties. See Figure 6. Figure 6: Create a Rectangle and Add Color and Shape Properties 3 5 units 3 12
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 4. Create a text box 5 units by 2 units. 5. After placing the text box, a dialog box appears. In this window, type Indicator label, then click OK. See Figure 7. Figure 7: Create a Text Box for Indicator Label 4 5 13
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 6. Move the text box and place it over the smaller rectangle. 7. Group both of these objects together. a. Use the pointer to select both objects, then right click. A drop-down list appears. b. Select Group, and then select Group again. See Figure 8. 8. Move this group over the first square object, and group again if desired. Figure 8: Group Objects 6 7 8 9. Select the text box icon and create a box that is 1 unit by 4 units as shown below. This will mimic the Units label. 10. The Text Editor dialog box appears. Type in units and then click OK. See Figure 9. Figure 9: 9 Create the Units Label 10 14
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 11. Move the text into the Readout template as shown. 12. Change the color of the text to blue. See Figure 10. Figure 10: Move and Change Text to Blue 11 12 15
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 Expression Tab The Value 1: has PLC reference 400100. This is the value that will be displayed on the template. Two alarms are configurable from this tab. High Alarm triggers when the PLC reference 400100 contains a value greater than 20,000. Low Alarm triggers when the PLC reference 400100 contains a value less than 1,000. In this example, 20,000 becomes 20.00 due to the decimal places declared. See Figure 11. Figure 11: Existing Readout Template NOTE: If the reference in PanelMate is an integer, double integer, or floating point number, there is a chance that the conversion will be off by the factor of the number of decimal points declared. You may also be limited by the range of numbers. Typical integers have values that range within 16 bits or (0-65535) if unsigned. For double integers, the values that range within 32 bits or (4294967295). 16
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 1. In Vijeo Designer, select the data display icon and create a box that is 5 units by 2 units. 2. After placing the data display box on the screen a pop-up window will appear. See Figure 12. Figure 12: Create a Box for Numerical Display 1 2 3. In the pop-up window, click on the light bulb icon. Another pop-up window will appear. See Figure 13. 4. In this example, a variable, Integer01, represents the PLC reference 40100. Select this variable, then click OK. See Figure 13. Figure 13: Select Variable Integer01 3 4 17
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 5. Change the Display Digits fields to 2 and 3. Then, remove the check from the Display Zero(s) check box. See Figure 14. 6. From the FONT list box, select Vijeo Modern 13 x 23 and for Font Style select Bold. See Figure 14. Figure 14: Change Display Digits and Font 5 6 18
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 7. From the Style list box, select 00000, this will make the background transparent. See Figure 15. 8. Select the Input Mode tab. Then check the Enable Input Mode check box and check the Display Popup Keypad check box. This permits the keypad window to appear when the user touches the readout template on the Magelis graphic terminal screen. See Figure 15. Figure 15: 7 Make the Background Transparent and Check Display Popup Keypad 8 19
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 9. In the Color tab, select black as the text color. See Figure 16. 10. To make the alarm condition more visible, change the color of the text to red for both High Alarm and Low Alarm conditions then click OK. See Figure 16. Figure 16: Make Alarm Conditions More Visible 10 9 20
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template Control Definitions Tab Figure 17: Existing Readout Template 1. Use a screen capture utility to capture the image of the arrow within the PanelMate software screen and then paste it into the Vijeo Designer screen. See Figure 18. Figure 18: Place Arrow Using a Screen Capture Utility 1 21
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 2. To mimic PanelMate's change value methodology, create a window in Vijeo Designer. See Figure 19. Figure 19: Mimic PanelMate s Change Value Methodology 22
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template To mimic the behavior of the control definitions, use Vijeo Designer Popup Windows. 1. From the Navigator pane, right click on Popup Windows. Select New Popup Window from the drop-down list. See Figure 20. 2. The screen should resemble the image to the right in Figure 20. Figure 20: Using Vijeo Designer Popup Windows 1 2 23
How to Mimic the PanelMate Readout Template with Vijeo Designer PanelMate Readout Template 8000DB0709 04/2010 3. To match the background color of the images captured from PanelMate, select Back Color from the Property Inspector pane. 4. From the Color dialog box, select the dark grey icon or tweak the color bar to closely match the color. Then click, OK. See Figure 21. 5. For ease of use, change the name of the Popup window to ReadoutPopUp. See Figure 21. Figure 21: 3 4 Match Background Color and Change Name to ReadoutPopUp 5 6. Use a screen capture utility to copy the image of the Change Value button and then paste it into the Vijeo-frame window. See Figure 22. Figure 22: Copy Image of the Change Value Button 6 24
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 7. Select the Data Display icon and place a new field into the popup window space. Make this field roughly the same size as the Change Value image. See Figure 23. Figure 23: Place a New Field in the Popup Window 7 8. Set the Variable to Integer01. See Figure 24. 9. Set the Display Digits to 3 and 2. See Figure 24. Figure 24: Set the Variable and the Display Digits 8 9 25
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 10. Your screen should look similar to the one in Figure 25. Next, using the mouse right click and under Order, select Send to Back. See Figure 25. 11. Then select the Display Data object and place it over (behind) the Change Value image. Figure 25: Send Object to Back 10 26
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 12. Create a button that will close the popup window. 13. From the Switch Settings dialog box, General tab, select the Switch icon and place it on the screen. A dialog box appears. See Figure 26. 14. From the Operation drop-down list, select Script. See Figure 26. Figure 26: Create a Button to Close Popup Window 13 14 27
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 15. In the Script dialog box, type ReadoutPop.close();. If the window name is correct, it displays in a different color. See Figure 27. 16. After typing the code, click Validate. If there is a typo, an error message appears. 17. If there are no scripting errors, click Add >. See Figure 27. Figure 27: Script Dialog Box 16 15 17 28
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 18. Select the Label tab, then select Static from the Label Type drop-down list. 19. Type the text Close and click OK. See Figure 28. Figure 28: Type in the Text 18 19 20. Now that the pop-up window is used to change the value on the readout template, clear the check box for Enable Input Mode on the General tab. See Figure 29. Figure 29: Enable Input Mode 20 29
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 21. Create a button that will invoke the pop-up window. 22. Select and create the button and then configure as shown. When finished, size and place the button over the readout object. See Figure 30. Figure 30: Create a Button 22 30
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 23. Readout object should resemble the screen capture in Figure 31. Figure 31: Readout Object 31
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 Testing Your Work Simulate the object to ensure that it works. Begin with a Readout object that resembles the screen capture in Figure 32. Figure 32: Vijeo Designer Simulator 1. From the Device Simulation Tool, Variable tab, check the Integer01 check box. 2. The Write to Variable dialog box appears. Enter the value 1111 in the Data field, and click OK. See Figure 33. This simulates the scenario when the PLC changes the value in the memory register that the Readout template is referencing. Figure 33: Start the Simulation 1 2 32
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 3. The Readout template displays the same value as the simulator. See Figure 34. Figure 34: Same Value Displays 3 4. Touch the screen to change the value. This action simulates the HMI changing the value in the PLC memory register. 5. Click the Readout template to invoke the pop-up window. See Figure 35. Figure 35: Click Readout Template to invoke Pop-up Window 5 6 6. Click the Change Value icon to invoke the numeric keypad. 33
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 PanelMate Readout Template 04/2010 7. Enter the value 12345 and click Enter. Figure 36: Change Value 7 8. The new value is displayed on the Magelis screen and is updated in the PLC. Figure 37: New Value Updated in the PLC 8 34
8000DB0709 How to Mimic the PanelMate Readout Template with Vijeo Designer 04/2010 PanelMate Readout Template 9. Click on the Readout template, then click on the Change Value icon and enter 1. See Figure 38. Figure 38: Simulate Low Limits 9 10. The Readout template displays the value in RED. This is a visual indication that the value is below the defined limits. See Figure 39. Figure 39: Value Displayed in Red is Below Limits 10 35
How to Mimic the PanelMate Readout Template with Vijeo Designer 8000DB0709 Data Bulletin 04/2010 11. Repeat Step 9 to simulate the upper limit. Click on the Readout template, then click on the Change Value icon and enter 22222. The Readout template displays the value in RED as a visual indication that the value is above the defined limits. 12. If the simulation is successful, close the simulator. If the simulation was not successful, adjust the template as necessary and rerun the simulation. Figure 40: Simulate Upper Limits 11 Schneider Electric USA, Inc. 8001 Knightdale Blvd Knightdale, NC 27545 USA oem.solutions@us.schneider-electric.com www.schneider-electric.us Magelis and Vijeo are registered trademarks of Schneider Electric. Other trademarks used herein are the property of their respective owners. Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. 36