EZwarePlus Programming Manual For HMI5000P, 5000L, 5000HD Series TH 808 134 Street SW, Suite 120 Everett, WA 98204, USA Phone: 425-745-3229 Fax: 425-745-3429 Email: maple@maplesystems.com www.maplesystems.com 1010-1015, Rev. 03 1010-1015 Rev.
ii EZwarePlus Programming Manual COPYRIGHT NOTICE IF SERVICE IS REQUIRED This manual is a publication of Maple Systems, Inc., and is provided for use by its customers only. The contents of the manual are copyrighted by Maple Systems, Inc.; reproduction in whole or in part, for use other than in support of Maple Systems equipment, is prohibited without the specific written permission of Maple Systems. Package the unit in its original packaging container or, if unavailable, any suitable rigid container.
iii Table of Contents COPYRIGHT NOTICE ....................................................... ii WARRANTY .................................................................... ii IF SERVICE IS REQUIRED ................................................ ii Connecting multiple PLC/controllers serially using daisy chaining ...........................................................27 Connecting one or more PLC/controllers via Ethernet ............................................................................
iv EZwarePlus Programming Manual To use EasySimulator ......................................... 53 Flipping, Rotating, and Locking Objects ............ 103 Chapter 6 – Using EZwarePlus ...................................... 54 System Parameter Settings ........ Error! Bookmark not defined. Overview ..................................................................... 54 The Utility Manager .................................................... 54 HMI IP, Password Settings .........
v Using a Function Key......................................... 133 Displaying Alarms Using the Event Display Object .185 Using the PLC .................................................... 134 Chapter 13 – Security .................................................. 188 Using the Common Window .................................. 139 Displaying the common window above/below the base window ..................................................... 140 Changing the Active Common Window ............
vi EZwarePlus Programming Manual Chapter 17 – EasyDiagnoser and Easy Watch ............. 227 EasyDiagnoser ........................................................... 227 Main Window ........................................................ 229 Polling Packages .................................................... 230 Devices ................................................................... 231 Output ................................................................... 231 Logger ..........................
This page intentionally left blank
2 EZwarePlus Programming Manual Chapter 1 – Introduction Welcome Welcome to the Maple Systems’ HMI5000P/L Series Human Machine Interfaces (HMIs). Using graphic HMIs has never been easier. This powerful family of graphic HMIs connects to programmable logic controllers (PLCs) to provide the human-machine interface in industrial applications. The HMI5000P/L Series have several features not found in other graphic HMIs.
EZwarePlus Programming Manual 3 In most cases, we will describe each method when the task is first discussed. The menu method is then used whenever the task is used in later procedures. Other conventions used in this manual are listed in the following table. Convention Bold Meaning Characters that you must type exactly as they appear. For example, if you are directed to type a:\setup, you should type all the bold characters exactly as they are printed.
4 EZwarePlus Programming Manual OIT/HMI Basics Operator Interface Terminals (OITs) and Human Machine Interfaces (HMIs) provide much more versatility than traditional mechanical control panels. An OIT allows a plant floor operator to monitor current conditions of a control system and, if necessary, to initiate a change in the operation of the system. OITs connect to programmable logic controllers (PLCs) typically through the PLC’s serial communications port.
EZwarePlus Programming Manual 5 Graphics Object A Graphics Object is any text, icon, or picture that can be displayed on the HMI. Graphics objects are further defined by how they are composed or created. A Text Object is a graphics object that displays text on the HMI screen. A Bitmap Object is a graphics object that displays a bitmap on the HMI screen. Bitmaps are files stored in the HMI to display pictures. A Shape Object is a graphics object that displays a shape on the HMI screen.
6 EZwarePlus Programming Manual The HMI5000P/L/HD Series are powered using +24VDC. A reset switch is provided on the back of the HMI to reinitialize the HMI if an operational failure occurs. The HMI5000P/L Series is designed for industrial environments and carries a NEMA4/IP65 rating as well as CE compliance for noise immunity and emissions. The HMI5000HD series carry the CE rating for noise and immunity, but are designed to be installed inside an enclosure.
EZwarePlus Programming Manual 7 Moving Shape Creates a multi-state graphic object, which changes state (picture) and position on the screen according to a value in a PLC register. Animation Creates a multi-state graphic object, which changes state (picture) on the screen according to a value in a PLC register. The positions on the screen are predefined. Media Player Displays a video file from a connected USB flash drive or SD card.
8 EZwarePlus Programming Manual Data Transfer (Time-based) Transfers data to the specified PLC registers on a timed basis. Data Sampling Stores data for trending and archiving. System Message Customizes the content of system-generated messages. 1010-1015, Rev. 03 Scheduler Performs an action based upon a time schedule. Drawing Tools Includes Line, Arbitrary Line, Link Line, Arc, Ellipse/Circle, Pie, Rectangle, Polygon, Scale, Text, Picture, and Shape.
EZwarePlus Programming Manual 9 Chapter 2 – HMI Local Setup Factory Configuration Each HMI arrives from the factory with a demo project file that illustrates some of the most popular features of the HMI. For a first time user, it is worthwhile to navigate through the screens in the demo project and become familiar with the features and capabilities of the HMI and EZwarePlus. Refer to the EZwarePlus Help file for more information about the features and operation of the HMI and EZwarePlus.
10 EZwarePlus Programming Manual Changing the System Settings To change the system settings on the HMI: 1. Open the System Setup Toolbar as described above, and click the System Settings icon. 2. A dialog will be displayed requesting the Local password. The default password is 111111. 3. You may have to move windows around a bit to gain access to the virtual keyboard. You may also have to click inside the password field again.
EZwarePlus Programming Manual 11 8. Configure appropriate time and date settings. 9. Click on the Security tab to display the security settings dialog. Here, you can select your system passwords. 10. Configure your password settings. Local Password Upload Password Download Password Upload (History) Password The password required to enter local setup. The password required to upload data from the HMI to a PC or memory module.
12 EZwarePlus Programming Manual 11. The new password must be entered, and then entered again to confirm. As the password is entered into the confirm field, an indicator will show if the two passwords match. 12. Click on the History tab to display the History dialog. This is where data stored in the HMI can be cleared. This will not clear data stored on an SD card or USB flash drive.
EZwarePlus Programming Manual 13 14. Click the Firmware setting tab to access the Upgrade firmware option and the Portrait Mode settings (for models with the Portrait feature). Upgrade Firmware: Click this button to upgrade the firmware in the HMI from a USB flash drive or SD card. Portrait Mode: Select the orientation of the display on the HMI when a project is configured for Portrait Mode (selected when a new project is created). 15.
14 EZwarePlus Programming Manual Click Start VNC to enable the VNC server. Click the VNC login password to enter the password used to login to the HMI with a remote VNC viewer. The default password is 111111. Click Apply and then click OK to save the settings and exit the System Settings window. The VNC server option in the System Parameters > System Settings tab will override the VNC login password in the HMI when Password from project is checked. The HD Series does not support VNC. 16.
EZwarePlus Programming Manual 15 The Popup download window option allows you to turn on or off whether the Download dialog window appears on the screen when a USB flash drive is connected to the USB port on the HMI. The Restart after download/upload option causes the HMI to reboot after a download or upload from a USB flash drive or SD card, when selected. Viewing System Information To view system information: 1. 2.
16 EZwarePlus Programming Manual Transferring Projects and Data from USB/SD Card When a USB or SD device is inserted into the HMI5000P Series, a dialog is displayed. The same dialog is displayed for transferring projects or data. Data is placed on the USB or SD device by EZwarePlus or Utility Manager.
EZwarePlus Programming Manual Password Download project files Download history files Clear history files 17 Enter the Download password. When checked, the HMI will check the specified folder for project data, and transfer it if it exists. When checked, the HMI will check the specified folder for history data, and transfer it if it exists (includes data log files, event log files, and recipe files).
18 EZwarePlus Programming Manual Changing or Restoring the HMI Settings by USB or SD There may be times when it is necessary to change or update the settings in an HMI, when the IP address or password of the HMI are unknown. EZwarePlus provides a tool to create a system settings file, and transfer that file to the HMI.
EZwarePlus Programming Manual 19 Then, from the EZwarePlus Tools menu, select Build Data for USB Disk or SD Card Download. 1. 2. 3. Select the drive corresponding to the SD or USB device. Note that the Save folder must be the root level of the SD or USB device (in this case, the root level of the F: drive). Check the Use System Setting box, and select the file exported above. Click the Build button to create the required data structure on the SD or USB device.
20 EZwarePlus Programming Manual Chapter 3 – Connect the HMI to the PLC or Controller The HMI5000P/L family of HMIs can connect to one, two, or more PLC/controllers. This is accomplished via two 9-pin D-sub serial communications connectors (Port A and Port B) and one Ethernet port. Each PLC/Controller has its own wiring requirements. Maple Systems offers HMI-to-PLC/Controller communication cables for most PLC/Controllers that are built to any length and tested for high reliability.
EZwarePlus Programming Manual 21 Figure 2a: COM Ports for the HMI5070P, HMI5121P, and HMI5150P 1010-1015, Rev.
22 EZwarePlus Programming Manual HMI5100L HMI5070L Figure 2b: COM Ports for the HMI5100L and HMI5070L 1010-1015, Rev.
EZwarePlus Programming Manual 23 Figure 2c: COM Ports for the HMI5000HD 1010-1015, Rev.
24 EZwarePlus Programming Manual Connecting to COM1 and COM3 on Port A Maple Systems HMI5000P/L family of HMIs is capable of connecting to multiple PLC/controllers. If you choose to take advantage of this feature, and one of your PLC/controllers uses either RS485-4 Wire or RS485-2 Wire communication, one of two splitters will be needed. Scenario 1 – Two RS485 2 Wire PLC/Controllers, with COM1 configured for RS485-2 Wire and COM3 configured for RS485-2 Wire. 1010-1015, Rev.
EZwarePlus Programming Manual 25 Scenario 2 – One RS485 2 Wire PLC/Controller with COM3 configured for RS485-2 Wire and one RS485 4 Wire PLC/Controller with COM1 configured for RS485-4 Wire. 1010-1015, Rev.
26 Connecting to COM1 and COM3 on Port B Two RS232 PLC/Controllers, with COM1 and COM3 configured for RS232. 1010-1015, Rev.
EZwarePlus Programming Manual 27 Connecting multiple PLC/controllers serially using daisy chaining The RS485 4-wire and RS485 2-wire communications ports of the HMI5000P/L/HD family support multi-drop connections. A daisy-chain connection is made from the HMI to the first PLC/controller, and then from the first PLC/controller to the second and so on (see below). The network may need biasing resistors – refer to the PLC/controller documentation for more information.
28 EZwarePlus Programming Manual Troubleshooting The HMI must be connected to a PLC/controller in order for the project to run correctly in the HMI. If there is a problem with communications between the HMI and PLC/controller, the “PLC no response” message (window 5) will appear on the screen and objects addressing PLC registers will not appear on the screen. Here are some things to check if this occurs: 1.
EZwarePlus Programming Manual 29 Chapter 4 – Creating a Sample Project Often the best way to learn about new software is to jump right in and begin using it. This chapter will step you through the process of creating a sample project that can be downloaded to your HMI.
30 EZwarePlus Programming Manual 2. Click New… The Select Window Style dialog box appears. 3. Click Base Window. The Window Settings dialog box appears. 1010-1015, Rev.
EZwarePlus Programming Manual 31 4. Type “Bargraph” in the Name field. The number 11 should already be in the Window No. field. 5. Click the box for the Background color. The color palette box opens. Click on the white color box in the lower-right corner. The color box will reflect the color that you have selected. 6. Click OK. Highlight Window 11: Bargraph in the Open Window list, then click the Open button. Window 11 now appears on your work area.
32 EZwarePlus Programming Manual 5. Select shape number 7 and click OK. The Function Key Object’s Shape tab now shows a preview of how the function key will appear on the screen. Click OK. 6. On the main screen of EZwarePlus you will see a white rectangle outline that is attached to your cursor in the work area. This represents the function key just created. Click to place the function key in the middle of Window 10.
EZwarePlus Programming Manual 33 7. In the top menu bar in EZwarePlus, click Draw > Text (or select the Text Tool icon in the Draw Toolbar). In the New Text Object properties window, select Arial in the Font box and 16 pt in the Size box. Click the Color box and the color palette box opens. Click on the white color box in the lower-right corner. The color box will reflect the color that you have selected. 8. In the Content box at the bottom of the properties window, type To next window and click OK.
34 EZwarePlus Programming Manual Now let’s create a bar graph on Window 11. We will use the bar graph to indicate the level of a tank. We will create pushbuttons to increase or decrease the level of the tank by turning a pump on and off. To open Window 11, select Window > Open Window and double-click Window 11 in the list. Alternatively, doubleclick on Window 11 in the Windows Option list on the left side of the EZwarePlus screen. To create a Bar graph: 1.
EZwarePlus Programming Manual 35 3. Click the Outline tab. In the Attribute section, select the following: Type: Normal Direction: Up Zero: 0 (the register value represented when the bar graph is minimum) Span: 100 (the register value represented when the bar graph is maximum) Bar width ratio (%): 30 4. In the Bar color/style section, click the Transparent checkbox. Leave the Bar and Bar style colors at their default blue. 5. Leave the Target indicator Enable box unchecked. 6.
36 EZwarePlus Programming Manual 8. Click the Picture Library… button and click the Select Lib… button. Locate tank.flb in the Library folder. Select it and click Open to add it to the list. 9. Select picture number 16 and click OK. This is the picture that will appear over the bar graph on the screen. 1010-1015, Rev.
EZwarePlus Programming Manual 37 10. Click OK to accept the properties settings. On the main screen of EZwarePlus you will see a white rectangle outline that is attached to your cursor in the work area. Click to place the Bargraph Object in the middle of Window 11. You can click and drag it to adjust its position once you have placed it on the window. Next we will create a pushbutton to raise the level of the tank and another one to lower the level of the tank.
38 EZwarePlus Programming Manual 3. In the Attribute section, select the following: Set Style: Press and hold increment (JOG++) (this will cause the value in the register to increase while the button is pressed) Inc. value: 1 Upper limit: 100 JOG delay: 0.5 second(s) JOG speed: 0.1 second(s) 4. Click the Shape tab. Click the Use Shape checkbox and click the Shape Library… button. Select the arrow1 library. Select shape number 6 and click OK. 11.
EZwarePlus Programming Manual 39 12. Click OK and place the Set Word Object below the bargraph on Window 11 in EZwarePlus. You can click and drag it to adjust its position once you have placed it on the window. 13. Click on the screen to deselect the Set Word Object, then double-click on it to reopen the properties (or right-click on it and select Attribute) and click the Profile tab (the Profile tab is not available when creating a new object). Set the Width and Height to 60 (pixels). 14.
40 EZwarePlus Programming Manual 16. Paste the Set Word Object to the window (Edit > Paste or Ctrl+V) and drag it next to the other Set Word Object. 17. Click on the screen to deselect it, then double-click on the new Set Word Object to open the Properties window (or right-click on it and select Attributes). 18. In the Set Word Object’s Properties General tab, you can enter a description of the object such as Tank Level Down. Select LW for the Device Type and 0 for the Write address.
EZwarePlus Programming Manual 41 19. In the Attribute section, select the following: Set Style: Press and hold decrement (JOG--) (this will cause the value in the register to decrease while the button is pressed) Dec. value: 1 Bottom limit: 0 JOG delay: 0.5 second(s) JOG speed: 0.1 second(s) 20. Click the Shape tab. Click the Shape Library… button. Select the Arrows 1 library. Select shape number 8 and click OK. 21. Click OK to accept the properties settings.
42 EZwarePlus Programming Manual To create a Bit Lamp: 1. In the top menu bar in EZwarePlus, click Objects > Lamp > Bit Lamp (or select the Bit Lamp icon in the Object 1 Toolbar). 2. In the Bit Lamp Object’s Properties General tab, you can enter a description of the object such as Pump. Select LB for the Device Type and 0 for the Write address. 3. In the Blinking section, select None for the Mode. 4.
EZwarePlus Programming Manual 43 6. Click OK and place the Bit Lamp Object to the left of the tank. You can click and drag it to adjust its position once you have placed it on the window. 7. Click on the screen to deselect the Bit Lamp Object, then double-click on it to reopen the properties (or rightclick on it and select Attribute) and click the Profile tab. Set the Width and Height to 50 (pixels). 8. Click OK to accept the new Profile properties. 9.
44 EZwarePlus Programming Manual 10. Click the Shape tab. Click the Picture Library… button and select the Pipes Blue library (use the Select Lib… button if it doesn’t appear in the Library list). Select picture number 1 and click OK. 11. Click the Profile tab and set the Width to 100 and the Height to 25 (pixels). 12. Click OK to accept the properties. Click to place the Bit Lamp Object between the pump and the tank. You can click and drag it to adjust its position once you have placed it on the window.
EZwarePlus Programming Manual 3. 45 Click the Shape tab and deselect the Use Shape checkbox. This will make the Set Bit invisible on the screen. 1010-1015, Rev.
46 EZwarePlus Programming Manual 4. Click OK and place the Set Bit Object on the window. It will appear as a square frame. Click on the screen to deselect it, then double-click on it to reopen the properties (or right-click on it and select Attribute). Click the Profile tab and set the Width and Height to 65 (pixels). Click OK to accept the new Profile settings. 5. Move the Set Bit Object over the Arrow Up button. 6.
EZwarePlus Programming Manual 47 3. In the File name text box, type Sample_Project.mtp. 4. Click Save. The file is saved onto your computer hard drive and the main screen of EZwarePlus reappears. Compiling your first project 1. From the Tools menu, click Compile. The Compiling dialog box appears. 2. Click the Compile button. EZwarePlus will compile your project and display error results. 3. If no errors occur, click Close. The main screen of EZwarePlus reappears.
48 EZwarePlus Programming Manual 3. Click and hold the arrow UP button to fill the tank. The pump turns green and the pipe starts blinking. The bar graph is yellow when the tank begins to fill and turns blue when it fills more than 25%. 4. When the tank fills above 85% the bar graph turns red. 5. Click and hold the arrow DOWN button to lower the tank level. 6. Right-click in the simulation window and select Exit simulation. 1010-1015, Rev.
EZwarePlus Programming Manual 49 Downloading your first project First, connect a +24 VDC power supply to the HMI. Refer to the HMI5000P/L/HD Installation Guide for more information. In order to download your project, you must first connect the HMI to your computer. There are two methods of downloading to the HMI, Ethernet or USB.
50 EZwarePlus Programming Manual 5. Click the Download button. If the HMI is properly connected to the PC, the status box on the download dialog will update with messages indicating the progress of the transfer. The HMI itself will also display messages reflecting its status. 6. When the download is complete, the HMI will restart and begin running your project. Click the Exit button on the Download dialog.
EZwarePlus Programming Manual 51 Chapter 5 – Simulator Mode As you saw from creating the sample project in the last chapter, downloading any changes you make to the HMI can take time. To decrease the amount of time required to download a project to the HMI, you can uncheck the Firmware option on the EZwarePlus download dialog after you have downloaded it once. A better way of testing changes made to a project is to use the computer to simulate the operation of the HMI.
52 EZwarePlus Programming Manual To use off-line simulation mode from EZwarePlus: 1. If the project has been modified since the last time it was saved and compiled, or if it has not yet been compiled, it must be saved and compiled before the simulator can start. 2. Select Tools > Off-line Simulation from the top menu bar (or click the Off-line Simulation icon in the Project toolbar ). 3. The Simulation Mode screen will appear. 4.
EZwarePlus Programming Manual 53 The above method will work with a standard PC serial COM port, regardless of the COM number assigned to the PC serial port. EZwarePlus supports RS232 communication on ports COM1 – COM9. COM4 and higher are intended for use with online simulation only, since the HMI5000P itself only supports RS232 communication on COM1 – COM3. The L and HD Series support RS232 on COM1 only.
54 EZwarePlus Programming Manual Chapter 6 – Using EZwarePlus Overview The EZwarePlus software is composed of a number of separate applications that are accessible from the EZPlus folder, including EZwarePlus, Utility Manager, and EasyConverter. EZwarePlus is the application software used to create a project file. Utility Manager is a utility application that puts the HMI into different operating modes. EasyConverter changes certain binary files created by the HMI into text files.
EZwarePlus Programming Manual 55 The applications are divided into groups: Design EZwarePlus: create projects for the HMI EasyAddressViewer: examine supported addresses and devices for the PLC and controller communications drivers provided with EasyBuilder. Simulation: run a compiled EasyBuilder project without transferring to an HMI. Analysis & Testing: EasyDiagnoser: Connect to an HMI via Ethernet, and monitor/debug communications to an HMI.
56 EZwarePlus Programming Manual Utility Easy Converter The EasyConverter application is used to view data log files (*.dtl) and event log files (*.evt) that are created by the HMI during operation. Data log files are files the HMI creates when capturing data using the Data Sampling object. Event log files are history files the HMI creates when using the Event (Alarm) Log object. Both files are in binary format to minimize the amount of file space required.
EZwarePlus Programming Manual 2. 57 “Event”: This column indicates the following: 0 = Event triggered; 1 = Event acknowledged; 2 = Event returns to normal. “Category”: Indicates the event category. “Date”: Indicates the date of the event (YYYY/MM/DD). “Time”: Indicates the time of the event (HH:MM:SS) “Message”: Indicates the Event/Alarm message. This is read only – the EasyConverter application does not allow any edits. Viewing a Data Log File (*.dtl) 1.
58 EZwarePlus Programming Manual Sampling Data Information: This shows the type and number of data samples contained in the data file. You can select the number of digits after the decimal point to display and whether or not millisecond information is displayed. 2. In addition, there is a scaling option that can apply linear scaling to the data before it is displayed.
EZwarePlus Programming Manual 59 3. Also, the raw data collected for Data 4 is a floating point number calculated to three decimal places. However, we are only concerned with a two decimal accuracy, so we change the ‘Digits’ field from 3 to 2. If we want to use these same changes on other files, click the Save Setting… button to save the changes as a conversion file (*.lgs).
60 EZwarePlus Programming Manual 5. The data shown includes the Date (YYYY/MM/DD), Time (HH:MM:SS), Milliseconds, and the actual data for each register sampled. In our example, notice that the value for Data 1 has been converted to °C and the value for Data 4 has two decimal places instead of three. This is read only – the EasyConverter application does not allow any edits.
EZwarePlus Programming Manual 61 3. Enable Setting file: Check this box to select a conversion (*.lgs) file that performs a linear scaling conversion or decimal point conversion on the selected files. 4. Combine to a file: Check this box to combine the files and save them into an Excel spreadsheet. Click the browse button to select the location and filename where you want to save the combined XLS file. Click OK to save the file.
62 EZwarePlus Programming Manual data being sent to the printer. Logger Bar: Displays the status of the EasyPrinter utility. Options Menu Toolbars: Provides the option of turning on and off the Standard toolbar and the View toolbar. Status bar: Provides the option of turning on and off the Status bar at the bottom of the EasyPrinter window. Settings: The Settings window is used to configure the operation of EasyPrinter. The Output must be disabled before the Settings option is enabled.
EZwarePlus Programming Manual 63 When target file has existed: When Overwrite it is checked, the existing file will be overwritten by the new file. When Append.BAK to the file name is checked, the existing file will have .BAK appended to the filename so it will be preserved. Convert Batch File: When enabled, defines the path to the definition file used to convert the data file to CSV file format (C:\MapleSystems\EZPlus\convert2csv.def is the default).
64 EZwarePlus Programming Manual 2. Address range (unit: word): Use this area to select the total number of RW (recipe word) registers or EMx (Extended Memory) registers that are used for the recipe or extended memory file. In the example above, RW0 thru RW100 will be used. 3. Select your data format: Use this area to enter how each data register element is interpreted by the HMI.
EZwarePlus Programming Manual 65 In the Data Type dialog box you can enter a description of the Data Type and select which format that the HMI will use to interpret the data. For String format, you must enter the total number of 16-bit register words used for the character string. b. Delete: If you wish to delete an item from the list, highlight a data element and click Delete to remove from list. c. Clear All: Click to erase entire list of data elements. d.
66 EZwarePlus Programming Manual 8. b. Save file as *.emi for extended memory files. You must use file names which correspond to the ten extended memory areas preconfigured in the HMI (ex. em0.emi, em1.emi, …, em9.emi). c. Save file as *.csv to open the file in applications such as Microsoft Excel. Once the file is saved, you can copy the recipe file to your HMI by: a. Procedure 1-- Downloading the file using the Utility Manager: i. With the computer connected to your HMI, click Download. ii.
EZwarePlus Programming Manual 67 iv. Check the Recipe (RW) enable box, then select the recipe file. v. Click the Build button. A folder called ‘mt8000’ is created on the root directory of your drive. vi. Remove the SD or USB drive and connect it to your HMI. 1010-1015, Rev.
68 EZwarePlus Programming Manual Build Download Data for SD/USB Disk Data can be downloaded to the HMI5000P Series using an SD card and USB flash drive. The Build Download Data function builds the data files to do this. To build download data for SD card or USB flash drive: 1. Start Utility Manager. 2. Click Build Download Data for SD/USB Disk… The Utility Manager dialog appears. 3. Insert SD card or USB flash drive into PC. Note the drive that represents the SD/USB device. 4. Click Browse...
EZwarePlus Programming Manual 69 Pass-through mode The pass-through mode allows serial communications from the PC to the PLC, though the HMI. This can eliminate the need to disconnect the PLC from the HMI when it is necessary to configure the HMI. Pass-through mode is only available on HMIs with an Ethernet port. An Ethernet connection from the PC to the HMI is required to initiate pass-through mode, even when using serial pass-through mode. To use the serial pass-through mode: 1.
70 EZwarePlus Programming Manual 3. HMI work mode: Indicates the current mode of the HMI. After the communication parameters have been received, the mode will be either Normal (HMI set to communicate with PLC) or Pass-through (HMI is in pass-through mode). 4. Source COM Port (PC -> HMI): Set COM settings for the HMI COM port that will be connected to the PC. 5. Destination COM Port (HMI -> PLC): Set COM settings for the HMI COM port that will be connected to the PLC. 6.
EZwarePlus Programming Manual 71 1. Click Install to install the virtual COM port driver. The Virtual COM Port (PC <-> PLC) indicates the virtual COM port used on the PC. To change to another port, use the COM ports section of Device Manager on the PC. 2. PLC Connection Port (HMI <-> PLC): For most PLCs, set the mode to Normal. Some Siemens PLCs will use MPI ISOTCP; Enter the IP address of the HMI; Select the TCP Port to use.
72 EZwarePlus Programming Manual EZwarePlus Features This section guides you in a basic understanding of the features and capabilities that EZwarePlus has to offer, from an overview of all the objects available in the software to enter and display data, to setting up the system parameters and selecting the target PLC. This information will be useful for understanding more advanced features explained in later chapters.
EZwarePlus Programming Manual 73 Set Bit The Set Bit Object is used as a button to toggle ON or OFF the state of a bit or coil in the PLC, or a bit in the HMI local memory (LB). There are a number of different options (Set Styles) available to operate the button including touch (On, Off, Toggle, Momentary), window open or closed, and backlight on or off. Set Word The Set Word Object is used as a button to change the value in a PLC register, or the value in a register in the HMI local memory (LW).
74 EZwarePlus Programming Manual Slider Object The Slider Object is used as a control to change the value in a PLC register, or the value in a register in the HMI local memory (LW), based on the position of the slide control. Low and High limits can be configured based on constant values or on PLC/HMI register values, and the resolution of the slide control can be adjusted to accommodate the range of values in the register.
EZwarePlus Programming Manual 75 Direct Window The Direct Window Object is used to display a window based on the state of a bit in a register (specified by the Read Address). The window being displayed is selected in the Attributes section of the Direct Window Object’s Properties and appears within the frame of the Direct Window. The Direct Window Object should be the same size as the window being displayed. If the Direct Window is too small, some information may not display properly.
76 EZwarePlus Programming Manual Video In The Video In Object is used to input and play video on the HMI from an external source. One of two video input channels can be selected either in the program or dynamically using a PLC register. The composite video inputs can be configured to accept NTSC or PAL video formats. A control function can be enabled that allows the value in a PLC register to control the video input. Control Word address 0 = Stop playing 1 = Input Video 1 and display onscreen.
EZwarePlus Programming Manual 77 A control function can be enabled that allows the value in a PLC register to control the video input. Control Word address 0 = Connect video and start playing 1 = Stop playing and disconnect video Control Word address + 1 0 > 1 transition toggles Pause/Play (register resets to 0 after each transition) The Video In (USB) can capture stills from the live video. One PNG image is captured when the specified bit transitions from Off to On.
78 EZwarePlus Programming Manual History Data Display The History Data Display Object is used to display historical data collected by the Data Sample Object in a table format. Up to 16 channels of data can be displayed from consecutive addresses, and can be any mix of data types (e.g., 16-bit unsigned, 16-bit signed, 32-bit float, etc.). Note: The History files section in the Data Sampling Object must have a box checked (e.g.
EZwarePlus Programming Manual 79 The number of data points must be stored at [control word address + 1], and the data must be stored starting at [Data storage start address] before the control value is written to the Control Word address.
80 EZwarePlus Programming Manual The Read address field is the starting address of the data to plot. Each channel has its own Read address. Normally, the X and Y data are read from two consecutive addresses beginning with the Read address. To have the XY Plot use separate addresses for X and Y data, check the Separated address for X and Y data checkbox. Separating the X and Y data addresses also allows the X and Y data to have different formats.
EZwarePlus Programming Manual 81 Line: The data is plotted as a Line graph, with squares plotted at each data point. Point: The data is plotted as squares at each data point. X-axis projection: The data is plotted as a line graph (no squares). The plot is filled along the X-axis. Y-axis projection: The data is plotted as a line graph (no squares) with the X and Y data transposed. The plot is filled along the Y-axis.
82 EZwarePlus Programming Manual In History mode, alarm/events from previous days can be displayed. The Write address changes to History Control address, and the value in the History Control register determines which historical data is displayed. When the value in the History Control register is 0, the data for today is displayed in the Event Display. When the value is 1, the data from yesterday is displayed, when the value is 2, the data from two days ago is displayed, etc.
EZwarePlus Programming Manual 83 The WATCH addresses can be used to display the data in up to four registers in messages. Click the Syntax button to see how to configure the message to display the data. Data Transfer (Trigger-based) The Data Transfer (Trigger-based) Object is used to transfer word-based data from the specified Source address(es) to the specified Destination address(es). This can be used to transfer data from one device to another.
84 EZwarePlus Programming Manual Change Window This causes the HMI to close the currently-displayed Base Window, and display the Base Window whose number is in the specified Trigger address. The Change Window action occurs only when the HMI detects a change in the value of the specified Trigger Address. After the window is changed, the HMI will write the number of the newly-displayed window to (Trigger Address +1).
EZwarePlus Programming Manual 85 Sound Control Plays the selected sound when the bit specified by the Trigger address matches the trigger mode conditions. Execute Macro Program Executes the designated macro when triggered by the bit specified in the Trigger address. Note: Only available when a macro has been created in the project. Screen Hardcopy Prints the specified window when the bit specified by the Trigger address matches the trigger mode conditions.
86 EZwarePlus Programming Manual starting address of the data samples and the Data Record area allows you to configure how many consecutive registers to sample. The Data Format button opens a dialog to configure the format of a data log record. A record is a single line or group of lines of data. Different data formats can be used within the same record. When multiple items are configured in the same record, consecutive addresses are used beginning with the address specified in the Read address.
EZwarePlus Programming Manual 87 Click the Time Set tab to configure the start and end times for the scheduled action. When Constant is selected, the action is configured to occur on the specified days at the specified times. Multiple days can be selected. If the start and end times need to span several days, select the Setting on individual day checkbox.
88 EZwarePlus Programming Manual Drawing Tools Includes Line, Arbitrary Line, Link Line, Arc, Ellipse/Circle, Pie, Rectangle, Polygon, Scale, Text, Picture, Shape. Refer to the Help file for instructions in using each individual drawing tool (Help > Parts List > By Function > Drawing Objects). Managing Projects Like most Windows™ application software, EZwarePlus will open, save, close, and print files using the standard windows format. Opening, Editing Projects To create a new project 1.
EZwarePlus Programming Manual 2. 89 If changes have been made to the project file, EZwarePlus will ask you if you would like to save the project. Then the main screen of EZwarePlus will remain but with no work area displayed. You must now use the Open or New commands to edit a project. To save an existing project 1. On the File menu, click Save or click the Save icon in the Standard toolbar. 2. If the project already has a name, then the project will automatically be saved.
90 EZwarePlus Programming Manual 2. In the Compress box under Source Name, select the project (*.mtp) file that you wish to compress. The file must have a .mtp extension. 3. Click Compressing… to begin. The utility will compress the project file and all related graphics libraries into a single file. To extract a compressed project file: 1. From the Tools menu, select Compress/Uncompress.... The Compress/Uncompress Project dialog box appears. 2.
EZwarePlus Programming Manual 2. 91 The Object List combines a list of all of the windows in a project, and all of the objects on each window, into a single tree. Notice that the tree displays the title for each window next to the window number. This makes it easy to determine the windows that have been created for a project. An asterisk (*) next to a window indicates that the window is currently open. 1010-1015, Rev.
92 EZwarePlus Programming Manual 3. To display an open window, click on the window number in the Window Tree. To display a window that is not yet open, double-click on the window number. This will automatically open the window and display it. 4. To change any settings or close an open window, click on the window number to select it. Then rightclick anywhere inside the Window Treebar to display a popup dialog box. Select Close to close the window or Setting to change any of the window settings. 5.
EZwarePlus Programming Manual 93 2. The Object ID of each object will be listed. For example, WC_0 is Direct Window #0, TS_0 is Toggle Switch #0, etc. 3. To highlight a particular object on the screen, click on the Object ID in the list. This allows the quick selection of a particular object, especially on crowded screens or screens where objects may be overlapping. 4. To display the object’s attribute dialog box, double-click the Object ID in the Window Tree.
94 EZwarePlus Programming Manual If you still don’t see the grid after you have enabled it, make sure that the color of the grid doesn’t match the background color of the window currently displayed. Changing the grid size and color: 1. On the Option menu, click Grid/Snap. 2. Select the X spacing and Y spacing for grid size. Spacing is measured in pixels. 3. Select the Grid color in the drop down menu.
EZwarePlus Programming Manual 95 To zoom in on the selected window 1. Use the zoom pull-down menu in the Edit Toolbar. Zoom levels range from 50% to 200% in 25% increments. 2. On the View menu, select Zoom Level. Zoom levels range from 50% to 200% in 25% increments. Another option is to display what are known as Object ID tags. Every time you create a new object in EZwarePlus, an Object ID tag is assigned to the new object.
96 EZwarePlus Programming Manual To change the state of the selected window 1. Click the State pull-down menu in the State Toolbar and select the State number you wish to display (0-255). 2. The objects will appear as they would in the selected state. Basic Editing Commands To select a graphics object 1. On the Edit Menu, click Select or click the mouse cursor icon in the Draw Toolbar. 2. Click on the graphics object.
EZwarePlus Programming Manual 97 To select all objects 1. On the Edit Menu, click Select All Objects. 2. Small, clear, square blocks appear around the perimeter of all the objects on the window. 3. You can now easily move, delete or copy the entire window screen to a new window. Using the Undo and Redo commands 1. The Undo command is used to cancel the last command or action that you made. 2. Press the DELETE key on your keyboard to delete the text box. 3.
98 EZwarePlus Programming Manual 3. Modify the settings according to your requirements. 4. Click OK. The main screen of EZwarePlus is redisplayed with the Multi. Copy command executed. Multiple objects can be created according to these parameters: Pitch vs. Interval: This setting affects how EZwarePlus places the copies of an object on the screen relative to each other.
EZwarePlus Programming Manual 99 1. From the Edit menu, select Window Process and click Window Copy.... The Window Copy dialog box appears. 2. In the Source project box, specify the path to the project that contains the window screen(s) you wish to copy. Use the Browse... button location or name of the project file. to navigate to the project if you are unsure of the 3. In the Source boxes, enter the numbers of the window screen(s) you wish to copy. They must be consecutive windows.
100 EZwarePlus Programming Manual To resize a graphics object 1. Select the object to be resized. 2. To resize the object, move the mouse cursor over one of the small black squares. The cursor changes to a double-arrow icon to indicate that it is in resizing mode. 3. Click and drag the mouse to resize the object. 4. Objects can also be resized by changing the width and height attributes in the Profile tab of the Attributes dialog box (see below). To change attributes of a graphics object 1.
EZwarePlus Programming Manual 101 Grouping Objects When creating graphics on a window, you may create a complex graphic that is actually composed of several simpler objects grouped together. Grouping objects together makes it easier to move or copy multiple objects at the same time. To group objects 1. Select the objects to be grouped. 2. From the Edit > Group menu, click Group or click the Group icon from the Edit toolbar. 3.
102 EZwarePlus Programming Manual Use the nudge up , down , left , and right commands (Edit > Nudge or the Nudge icons in the Edit toolbar) to move objects on the window. This function is duplicated with the arrow keys on the keyboard. Aligning Objects The alignment tools can be used to quickly align two or more objects. Aligning justifies objects to the desired position of the last-selected object. The last selected object will have "handles" of a different color than the other selected objects.
EZwarePlus Programming Manual 2. 103 From the Edit menu, select Make Same Color. The selected objects will all change to the same color as the last selected object. Flipping, Rotating, and Locking Objects These three commands allow you to quickly ‘flip’ or position an object in a new direction. To flip objects vertically : 1. Select the object you wish to flip vertically. 2. From the Edit menu, select Flip/Rotate > Flip Vertical or click the Flip Vertical icon from the Edit toolbar.
104 EZwarePlus Programming Manual 1. Select the object you wish to lock. 2. From the Edit menu, select Pinned or click the Pinned icon from the Edit toolbar. 3. To unlock the object, deselect Pinned from the Edit menu or click the Pinned icon once again in the Edit toolbar. System Parameter Settings The final section of this chapter shows all the settings or parameters that can be configured using EZwarePlus. From the Edit menu, select System Parameters.
EZwarePlus Programming Manual 105 Device tab settings: 1. Click the New… button. The Device Properties dialog appears. You can “export” a project created for one PLC brand to a different PLC brand by loading the project file into EZwarePlus, then entering a different PLC type in this box.
106 EZwarePlus Programming Manual Ethernet/COM port: Select whether the remote HMI will be connected using Ethernet or a serial COM port. You must use the Master-Slave Server protocol when COM port is selected. IP Address: Enter the IP address of the remote HMI. Port No.: Enter the TCP/IP port assigned to the remote HMI during its configuration (default is 8000). Click OK. 4. Click the PLC type drop-down box and select the appropriate driver for your PLC type. 5.
EZwarePlus Programming Manual 107 12. Default station no. use station no. variable: Enables using a Local Word (where LW10000-LW10015 corresponds to var0-var15) to define the station number. By using the var syntax in the address field (e.g., var0#100), the station number can be changed at runtime by changing the value in the corresponding Local Word. 13. Use broadcast command: When enabled, causes the HMI to not expect a response from the station number specified by the Broadcast station no. field. 14.
108 EZwarePlus Programming Manual Model tab settings: 1. HMI model: Select the HMI model that you are programming. 2. HMI station no.: When multiple HMIs are used, this selects the unique network address of the HMI. See Controller Information Sheet for more information. 3. Port No: Assign a TCP/IP port so that another HMI can access this port. For more information, select Help > Help Topics > How Do I…Setup TCP Port Forwarding With the HMI. 4.
EZwarePlus Programming Manual 8. 109 Pass through: select the Port Number to use in Pass-Through mode. The same setting needs to be made in the Utility Manager when Pass-Through is selected. Auto Resizing Using the Model Tab This tab can be used to automatically resize your project when changing to another HMI model with a different size touchscreen. The project and all objects and graphics will be proportionately resized automatically.
110 EZwarePlus Programming Manual General tab settings: 1. Fast selection button: The Attribute: drop-down enables or disables the fast selection button, which is used to open the Fast Selection window (window number 3). The Settings button sets the look of the button including shape and color. The Position drop-down sets the fast selection button on either the lower left or lower right portion of the display.
EZwarePlus Programming Manual 3. 111 Options: The Startup window no. selects the window number that will be displayed every time the HMI is started up. Window 10 is the default startup window. The Common window determines if objects in the common window (window 4) are placed above or below the base window. The Object layout drop-down determines the layout and display of objects by selecting either Control mode or Nature mode. Normally, an object that is controlled by a PLC Register (i.e.
112 EZwarePlus Programming Manual System Setting tab settings: 1. Startup language after redownloading the project: Select the language that the HMI is to use when restarting after a download. 2. Execute init. MACRO when power on: When checked, the HMI will execute the selected macro on startup. Available only when one or more macros exist in the project. 3. Auto logout: When checked, the HMI will automatically log out of security if no touchscreen activity is detected during the specified interval.
EZwarePlus Programming Manual 113 6. Disable buzzer: When checked, the HMI will not sound the buzzer (beep) when the screen is touched. Local Bit LB9019 can be used to control the buzzer. Set the bit to disable the buzzer and clear the bit to enable the buzzer. 7. Prohibit remote HMI connecting this machine: When checked, the HMI will not allow connections from a remote HMI. Local Bit LB9044 can be used to control remote connections.
114 EZwarePlus Programming Manual Security tab settings: The Security tab is used to set up a table of users, user levels (access classes), and passwords. When General mode is selected, up to 12 users can be individually enabled, and each has a unique password and combination of any six access classes (A-F). Only numbers are allowed for passwords. When an object is created, it can be assigned an access class.
EZwarePlus Programming Manual 115 The object can be configured to handle insufficient security in one of two ways: The object can be hidden while security is not sufficient (Make invisible while protected). The HMI can display the message defined as Message 1 in the System Message object (Display warning message if access denied). There are a number of local HMI addresses that can be used with the security features.
116 EZwarePlus Programming Manual LW9222 Current access classes 16-bit binary LW9500, LW9501 LW9502, LW9503 LW9504, LW9505 LW9506, LW9507 LW9508, LW9509 LW9510, LW9511 LW9512, LW9513 LW9514, LW9515 LW9516, LW9517 LW9518, LW9519 LW9520, LW9521 LW9522, LW9523 New password, user 1 32-bit unsigned New password, user 2 32-bit unsigned New password, user 3 32-bit unsigned New password, user 4 32-bit unsigned New password, user 5 32-bit unsigned New password, user 6 32-bit unsigned New password,
EZwarePlus Programming Manual 117 Font tab settings: Determines the fonts available for non-ASCII strings. If a non-ASCII character set or double-byte character set is used (e.g., simplified Chinese, Japanese, Korean, etc.) but not listed in the Fonts for non-ASCII strings table, EZwarePlus will select a font from the list to substitute for it automatically. To add a Windows TrueType font that is on your computer, click Add... and select the font from the drop down menu that appears, and click OK.
118 EZwarePlus Programming Manual Extended Memory tab settings: The Extended Memory tab is used to configure the extended memory for saving data to an SD card or USB flash drive. There are 10 files that can be configured for saving data, em0.emi through em9.emi. Each extended memory location can be accessed using the Device Type setting in an object’s properties. There is no address limitation for the extended memory other than the size of the SD card or USB drive connected to the HMI.
EZwarePlus Programming Manual 119 Printer/Backup Server tab settings: 1. Check the Use Remote Printer/Backup Server checkbox to enable the HMI to print to a printer connected to a PC on the network or backup files to a PC on the network. The EasyPrinter utility (included with EZwarePlus and accessible through Utility Manager) must be running on the PC with the network printer connected. 2. In the Output settings section, select page layout (horizontal or vertical), print area size, and margins. 3.
120 EZwarePlus Programming Manual E-Mail tab settings: The e-Mail tab is used to enable and configure the email feature in EZwarePlus. Alarms can be configured to automatically send an email to a list of recipients when the alarm occurs and when the alarm is cleared. In addition, a screenshot of the HMI’s screen can be attached to the email. Enable e-Mail function: Check this box to enable the emailing feature.
EZwarePlus Programming Manual 121 SMTP settings: SMTP (Simple Mail Transfer Protocol) is an internet standard for sending email across IP networks. Contact your IT or LAN administration staff for specific information on entering the SMTP settings. Server: Enter the SMTP server address for your particular email provider. Port: Enter the port number used by the email server for SMTP communications. User name: Enter the user name that the email account requires (usually the email address).
122 EZwarePlus Programming Manual Recipes tab settings: There are two methods for creating and storing recipes in EZwarePlus. One method uses the RW memory in the HMI to store data and LW9000 to index (jump) from one recipe to another. The data can be entered manually using Numeric Input objects or imported as a *.rcp file from the Recipe Editor. Another method stores the data in a database file (*.db) in the HMI.
EZwarePlus Programming Manual 123 3. Size: Defines the number of words for each element in the recipe record. Adjustable only for the ASCII, Unicode, and High/Low Reversed data types. All other data types set this field automatically. 4. Display width: Defines the width of the data to be displayed in number of characters. This includes the sign, decimal point, and all digits to the left and right of the decimal point. 5. Decimal Pt.: Defines the number of digits to the right of the decimal point. 6.
124 EZwarePlus Programming Manual Reboot HMI EZwarePlus can automatically reboot the HMI after download. To enable automatic reboot of HMI after download: 1. From the Tools menu, select Download. The Download dialog box is displayed. 2. Check the Reboot HMI after download checkbox. 3. Click OK. To manually reboot HMI: 1. From the Tools menu, select Reboot HMI. 2. Select Ethernet or USB cable. 3.
EZwarePlus Programming Manual 125 2. Click the Browse… button for the HMI500 EOB file and select the EasyBuilder-500 project file you wish to convert. 3. By default, the converted file is automatically placed into the same directory. To modify the name of the file or location, click the Browse… button for the HMI5000P project file. 4. Default font: All text objects in theEasyBuilder-500 project file use a proprietary fixed font.
126 EZwarePlus Programming Manual 5. Delete “Direct Window” objects which are triggered with LB9060~9069, 9080, 9081, (HMI5000series use a new mechanism to manage keyboards.): Check this box to delete any Direct Windows objects in the EasyBuilder-500 project file that are triggered by the internal local memory bits LB9060-LB9069, LB9080-LB9081.
EZwarePlus Programming Manual 127 Chapter 7 – Creating Windows This section shows how to create and use windows in EZwarePlus. Window Fundamentals An operator interface terminal wouldn’t be very useful if all of the information to be displayed could only be placed onto one screen. Therefore, most HMIs have multiple screens that you can use to display information.
128 EZwarePlus Programming Manual The Open Window dialog box lists all of the windows currently created for the project. An asterisk next to a Window indicates that the window has already been opened. Each window is listed with the Window name and size. The window name is the name that you assign to the window when it is created. The window size is shown for quick reference.
EZwarePlus Programming Manual 129 To create a new window: 1. From the Window menu, select Open Window. The Open Window dialog box appears. 2. Click New… The Select Window Style dialog box appears. 3. Click Base Window. If the Fast Selection and Common Window buttons appear grayed out, then it is because those windows have already been created. The Window Setting dialog box appears. 4. Modify the window parameters, then click OK. The Open Window dialog box reappears. 5.
130 EZwarePlus Programming Manual Window Settings Let’s look more closely at the parameters you can change when creating a new window. When a window is initially created, the window settings can be edited to make changes; however, once a window has been created, the window number cannot be changed. To change the window settings, highlight the desired window in the Open Window dialog and click on the Settings... button.
EZwarePlus Programming Manual 131 Assigning Underlay Windows An Underlay Window is a Base Window that is displayed at the same time as the Base Window that calls it. Each fullsize Base Window can display up to three underlay windows. A popup window cannot display any underlay windows. There may be times when it is desirable to place the same information on multiple (but not all) windows.
132 EZwarePlus Programming Manual Underlay windows are always positioned from the top left corner of the screen. Any position settings you make when creating the underlay window are ignored when the window is displayed by a Base Window as an underlay window. For more information and an example of how to use underlay windows, consult the EZwarePlus Help files. Creating a Frame The Window Settings dialog provides the option of having a frame around any window that you create.
EZwarePlus Programming Manual 1. From the Window menu, select Open Window. The Open Window dialog box appears. 2. Highlight the window that you wish to delete. 3. Click the Delete button. A dialog box appears asking if you want to delete this window. 4. Click Yes. The dialog box disappears and the selected window is deleted. 5. Click Close in the Open Window dialog box to go back to the EZwarePlus main screen.
134 EZwarePlus Programming Manual Calling a popup window If a function key object is created to call a popup window, the window that is displayed is generally overlaid over all other windows that are on display. Think of calling a popup window as opening another active window for display. To call a popup window using a function key object: 1. From the Objects menu, select Function Key. The New Function Key Object dialog box appears. 2. In the General Tab, check the Display popup window option button.
EZwarePlus Programming Manual 135 To call a full screen window using the PLC Control object: 1. From the Objects menu, select PLC Control. The PLC Control Object dialog box appears. 2. Click New.... The PLC Control dialog appears. 3. Select Change window from the Type of control drop-down box in the Attribute section. 4. Click the Setting… button in the Trigger address section and select the Device type and Address for the actual PLC address you wish to monitor.
136 EZwarePlus Programming Manual The PLC must only enter window numbers that represent full-size windows when using the PLC Control Object function. The HMI automatically closes any open windows before the window called by the PLC Control Object is displayed.
EZwarePlus Programming Manual 137 6. Click OK to return to the main screen of EZwarePlus. The mouse cursor will have a square object that represents the size of the popup window. 7. Place the Direct Window object where you want the popup window to appear. 8. The Direct Window object should be the same size as the popup window it is calling.
138 EZwarePlus Programming Manual Tips and Suggestions Having trouble deciding which method to use to display a base window? Here are some suggestions: • If you want to clear the HMI display of all open windows and display a new full screen window, then use the PLC Control Object function or select the Change Window option in the Function Key Object.
EZwarePlus Programming Manual 139 Using the Common Window Your project might require that some data be displayed on the HMI screen at all times, regardless of which window(s) are displayed. For example, you may want to display a company logo on the HMI screen at all times, or you may want to display some critical data or an alarm message which should be seen no matter what windows are displayed.
140 EZwarePlus Programming Manual 3. As you can see, some of the parameters for a common window are disabled and cannot be changed. Window #4 is always reserved for the Common Window. Although the Background settings are active, none of these settings affects the operation of the common window. 4. Click OK. The Open Window dialog box reappears with the Common Window selected. 5. If you wish to open the common window, click Open. Otherwise, click Close to return to the main screen of EZwarePlus.
EZwarePlus Programming Manual 141 When Above base window is set, the result is: When Below base window is set, the result is: To set the Above/Below base window option for a common window: 1. From the Edit menu, select System Parameters. The System Parameter Settings dialog box appears. 2. Select the General tab. In the Options section next to Common window, select either Above base window or Below base window. 3. Click OK to return to the main screen of EZwarePlus.
142 EZwarePlus Programming Manual To change the active common window: 1. Create a new project. The Common Window (Window 4) is automatically created. 2. Create a base window that is full screen. This will be used as another common window. Note that when a base window is used as a common window, the Start Pos:, Style, Frame, and Background settings are ignored by the HMI. For this example, let’s use Window #30 as the alternate common window. 3.
EZwarePlus Programming Manual 143 When the HMI initializes, it displays the startup screen (Window #10) and the default common window. To change common windows, we press the CCW function key that has been configured to change the common window to Window #30. Window #30 remains the common window until another function key object is pressed that changes the common window or until the HMI is reset.
144 EZwarePlus Programming Manual To open a fast selection window: 1. From the Window menu, select Open Window. The Open Window dialog box appears. 2. Highlight the Fast Selection Window and click Settings. The Window Setting dialog box appears. 3. The Name: and Window No.: are reserved to identify the Fast Selection window. The other parameters can be modified, (see the Window Settings section earlier in this chapter for more information).
EZwarePlus Programming Manual 145 Using the Fast Selection Button The fast selection button is used to display the Fast Selection window. Pressing the button again causes the Fast Selection window to close. Creating the Fast Selection Button The fast selection button must be activated in the System Parameters in order to have it display on the HMI. When enabled, the fast selection button is always visible on the screen. 1010-1015, Rev.
146 EZwarePlus Programming Manual To display the fast selection button: 1. Select Edit > System Parameters. The System Parameters Setting Dialog appears. Select the General tab. 2. In the Fast selection button section, select Enable from the Attribute drop-down menu. 3. Select either Right or Left from the Position drop-down menu to select whether the button will appear in the right-lower corner or left-lower corner of the screen. 4. Click Settings...
EZwarePlus Programming Manual 147 System Message Windows EZwarePlus has four Windows designated as System Message windows. Window #5 is designated as the PLC Response Window that pops up automatically when the HMI loses communications with the PLC. Window #6 is designated as the HMI Response window, which will pop up automatically with the HMI loses communications with another HMI that is remotely connected.
148 EZwarePlus Programming Manual The amount of available memory is indicated by the following Reserved Local Words: LW9072 HMI free space available in KB (32-bit) LW9074 SD Card free space available in KB (32-bit) LW9076 USB free space available in KB (32-bit) The default trigger value for the insufficient memory warning is 16MB, and is stored in LW9070 (in MB). This is a “read-only” register and cannot be modified. 1010-1015, Rev.
EZwarePlus Programming Manual 149 Chapter 8 – Creating and Using the Tag Library and Label Library EZwarePlus includes the ability to create and use both a Tag Library and a Label Library. The Tag Library is a database of PLC register addresses. Once created, the tag database provides a method for assigning addresses to individual objects from the Tag Library. The Label Library is a database of text labels.
150 EZwarePlus Programming Manual 5. Select the Address type (Bit or Word). 6. Select the Device type from the drop-down menu. 7. Enter the Register Address. 8. Click OK. 9. Make additional entries to the database by repeating the procedure. To delete a tag: 1. Open the Tag Library as directed above. 2. Select the tag to delete. 3. Click the Delete button. To modify a tag: 1. Open the Tag Library as directed above. 2. Select the tag to edit. 3. Click the Settings... button. 4.
EZwarePlus Programming Manual 151 To export the tag library to a .csv file or .xls file: 1. Click Export CSV or Export EXCEL. The Open dialog box appears. 2. Enter the name of the file where you wish to save the data. 3. Click Open. To import the tag library from a .csv file or .xls file: 1. Click Import CSV or Import EXCEL. The open dialog box appears. 2. Brows for the CSV or XLS file containing the tags. 3. Click Open.
152 EZwarePlus Programming Manual Creating the Label Library The Label library is a database of text Labels, for use with objects utilizing text labels descriptive of their status or condition. Each label can consist of multiple unique text strings (determined by the maximum number of states available per label), displayable in up to 24 separate languages. The number of states for each label is determined by the number of languages selected.
EZwarePlus Programming Manual 153 4. Click the OK button, and the new label is added to the database. The Name will appear in a selectable listing of available Labels for use with objects that support text field labeling. 5. The new label is still selected. Click the Settings… button to display the Label Tag Content dialog. In the State No. list pull-down box, select the state that the text is representing. 6. In each Language box, as needed, enter the text representing that state in each language.
154 EZwarePlus Programming Manual Setting Different Fonts for Different Languages If you would like to use different fonts for different languages, for instances, if the language you are using requires special characters or Unicode fonts, you can select a different font for each language using the label library. To set a different font for each language: 1. From the Library menu, click Label..., or click the Label Library Manager icon from the Library toolbar. The Label Library dialog box appears. 2.
EZwarePlus Programming Manual 155 The label library can also be imported and exported using an Excel (*.xls) file format or comma-separated variable (*.csv) file format. These formats are very useful if you need to make several changes to the database. When creating a new project, it is easier and faster to create and edit tags in Excel or as *.csv files. To export the label library: 1. Click Export EXCEL File… The Open dialog box appears. 2.
156 EZwarePlus Programming Manual 4. To use the multiple language feature of the Label Library to display object labels in languages other than the default language (Language 0), the function must be enabled. Enable the multiple language capability as detailed below. Using Languages with the Label Library The HMI5000P Series supports up to 24 languages for use with the Label Library text labeling.
EZwarePlus Programming Manual 157 Chapter 9 – Creating and Using Keypads The HMI operator must have a keypad available to enter new data when using the Numeric Input Object or the ASCII Input Object. EZwarePlus includes group libraries that contain sample keypads to be placed onto a window screen. You can also create your own custom keypads. This chapter focuses on how to create keypads, display them on the window screen, and use them for entering data into PLC registers.
158 EZwarePlus Programming Manual Function [ENTER] Description Configures the Function Key as an Enter key. When pressed, it will write the alphanumeric characters entered into a Numeric Input Object or ASCII Input Object to the target PLC register. [BACK SPACE] Configures the Function Key as a Delete key. When pressed, it will delete the alphanumeric character to the left of the cursor in the Numeric Input object. [CLEAR] Configures the Function Key as a Clear key.
EZwarePlus Programming Manual 159 To create a sample keypad entry screen: 1. Start a New project file in EZwarePlus. 2. From the Objects menu, select Numeric/ASCII > Numeric Input. The New Numeric Input Object Properties box appears. 3. Create a Numeric Input Object with the following parameters: Tab Section General Description Read Address Data Entry Numeric Format 4.
160 EZwarePlus Programming Manual Editing data registers using a keypad: 1. Save and compile the new project, then test the operation of the keypad by either running in Simulation mode or by downloading the project to the HMI. 2. The following screen will appear: 3. Change the value of the Numeric Input register. Touch the Numeric Input Object to activate the edit mode. The keypad will pop up. 4. Using the keypad, enter digits 1, 2, 3, 4, and 5.
EZwarePlus Programming Manual 161 Chapter 10 – Bar Graphs and Meters This chapter focuses on two special graphic objects, which can be used to display PLC data registers. You’ve learned how to use shapes and bitmaps to represent the data in PLC registers as states. You’ve also learned how to use alphanumeric data fields to display the contents of PLC registers as either numbers or ASCII characters. We now introduce two more options to display the data in PLC registers: Bar Graphs and Meter Display.
162 EZwarePlus Programming Manual 5. In the Attribute section, select how the Bar Graph is to operate. Function Type Zero Origin Direction Span Bar Width 6. Option Normal Offset Up Down Right Left Description The bar starts at one end of the object, and moves to the other end. The bar starts at some non-zero point defined by the Origin, and moves through the origin as the value changes. The PLC Register values corresponding to an unfilled bargraph.
EZwarePlus Programming Manual 7. Set up the Target indicator. This selects the color of the filled part of the bar when it reaches a preset value. Function Enable Color Target Value Tolerance 8. Description When checked, the Target Indicator is active. Set the color to change the bar when the value is equal to the Target Value. The value at which to change the color of the bar. Set a tolerance for the Target Value.
164 EZwarePlus Programming Manual Creating Meter Displays The Meter Display Object is used to represent the data in a 16-bit or 32-bit PLC register as a scaled meter. The meter can be easily customized to the look that you want. The Meter Display can be configured with any base number that represents 0 level and any span range. To create a Meter Display Object: 1. From the Objects menu, click Meter Display, or click the Meter Display icon in the Object 2 toolbar.
EZwarePlus Programming Manual 5. 165 In the Degree section, you can select the range of your meter, where the range is 0 to 360. The Start degree 0 is at 12:00. Below are four examples of start and end degrees for different meters: Note that meters can have any start and end degree between 0 and 360. 6. The Background section allows you to select background options for the meter. The following illustrations show how your meter will appear with different options checked: 7.
166 EZwarePlus Programming Manual 8. In the Pointer section, select arm style, color, length, and width. 9. The Pin point section allows you to adjust the style and size of the pinpoint. See the illustration above to see the pinpoint (the center of the meter). 10. Select the Limits tab. In this section, you can configure a scale that goes on the face of the meter that shows by a color indication when high and low limits have been exceeded.
EZwarePlus Programming Manual 167 Chapter 11 – Data Sampling, Trend Displays, and History Data Displays Creating Data Sampling Objects and Trend Displays Data Sampling objects can be used to log historical data. Once data is historically logged, it can be saved to the HMI's internal memory, or to an external memory source such as USB, an SD card, or backed up to a PC. The Trend Display Object is used to display the sampled data in single or consecutive PLC registers and plot this data on a time graph.
168 EZwarePlus Programming Manual 2. Click New… to create a new data sampling object. 3. Description: Enter a name for the object. This isn't necessary, but will help in later identification of the Data Sampling object when configuring the Trend Display. 4. Sampling Mode: This can be either Time-based or Trigger-based. With Time-based selected, the sampling interval can range from 0.1 seconds to 120 minutes. With Trigger-based selected, a PLC bit-address can be configured to trigger each sample.
EZwarePlus Programming Manual 169 8. Click New... to call the configuration dialog. 9. Enter a Description for the data format and then select the Data type. Click OK to return to the Data configuration dialog and then Exit to return to the Data Format dialog. Note: You must have at least one Data type configured in the Data Format list. If you want to display multiple channels in a Trend Display, you must configure multiple Data types in the Data Format list, one for each channel.
170 EZwarePlus Programming Manual To create a Trend Display Object: 1. From the Objects menu, click Trend Display, or click the Trend Display icon in the Object 2 toolbar. The New Trend Display Object dialog box appears. A Data Sampling Object must be configured before you can create a Trend Display. 2. In the Data Sampling Object Index, select the data sampling object from the drop down menu whose data is to be displayed. 3.
EZwarePlus Programming Manual 171 8. Click on the Trend tab to display the Trend dialog box. 9. Select the Frame color and the Background color for the trend from the drop down menus. 10. Check the Show scroll controls checkbox to enable the left and right scroll controls on the Trend Display. 11. Check the Transparent checkbox to allow the Trend Display to be transparent. This allows you to overlay two Trend Displays, one on top of the other, and see the channels in both displays.
172 EZwarePlus Programming Manual 16. In the Data sampling object section, select the channels you want to display by clicking the checkboxes under Display. Select the pen properties for the selected channel in the Channel section. 17. Next, select the value at which the pen will be at the bottom of the display (Zero) and where the pen will be at the top of the display (Span).
EZwarePlus Programming Manual 173 History Data Display The History Data Display shows data captured by the Data Sampling object. Data is displayed in tabular format with the option to show the time and date of when data was captured. A control register is used to determine which historical data record is displayed (i.e., most recent, yesterday, two days ago, etc.) based upon date of capture. The HMI reads from the Sampling Object datalog file (*.
174 EZwarePlus Programming Manual 2. Data Sampling Object index: Select from drop-down list which data file to use. Data files are created using the Data Sampling object. 3. Grid: Displays grid lines on the data table. 4. 5. 6. a. Enable: Check to enable grid lines. b. Color: Select color used for grid lines. c. Column Interval: Enter the number of pixels that separate each column of data. Profile color: Determines the color of the background of the object. a.
EZwarePlus Programming Manual 7. 8. Date: Enable to display the date when the data was captured by the Data Sampling object. a. Style: Select from MM/DD/YY, DD/MM/YY, DD.MM.YY or YY/MM/DD. b. Color: Determines the color used to display the date. Sequence no: Enable to display a sequence number of when the data was captured by the Data Sampling object. a. 9. 175 Color: Determines the color used to display the sequence number.
176 EZwarePlus Programming Manual Data Format tab: Used to configure how the data appears for each column: 1. Channel: Channels are configured in groups of eight (maximum of 64 channels). Use this pull-down box to select each group. 2. Channel #0-63 (description in parentheses tells you what format is used for that data variable). 3. Display checkbox: Check to enable viewing that data variable. 4. Left of decimal Pt.
EZwarePlus Programming Manual 177 Title tab: Used to configure a title bar or legend at the top of the data columns: 1. Use title: Check to use the Title bar option. 2. Title background: Determines color of background on title bar. a. Transparent: Check to remove background color. b. Color: Select from drop-down color box. 3. Title name: Default name of each column. 4. Title: Name assigned to appear at the top of each column. 5.
178 EZwarePlus Programming Manual Chapter 12 – Capturing Alarms and Events This chapter looks at how the HMI5000P Series uses alarms and events. Using Alarm/Events EZwarePlus has four parts that are used to perform alarm/event functions: the Event (Alarm) Log object, the Alarm Display object, the Alarm Bar object, and the Event Display object.
EZwarePlus Programming Manual 179 3. On the General tab, set the Category for the alarm. The Alarm Bar, Alarm Display, and Event Display can filter the alarms based on the category selected (range 0-255). 4. Select a Priority level from the drop-down menu (Low, Middle, High, Emergency). The alarms are sorted by priority in the Alarm Bar and the Alarm Display with the highest priority shown on top (or first, in the case of the Alarm Bar). 5.
180 EZwarePlus Programming Manual 10. Enter the message to display when the alarm or event is triggered in the Content box. If you would like to configure the message in different languages, click Label and follow the instructions in “Chapter 8 - Creating and Using the Tag Library and Label Library.” Select the Font and Color to use for the message being displayed. 11. In the Write value window, enter the window number to display once the alarm or event is acknowledged.
EZwarePlus Programming Manual 181 16. Select Send when event triggered to send an email when the event/alarm is triggered, and select Send when event is cleared to send an email when the event/alarm is cleared. The settings for Send when event is triggered and Send when event is cleared can be set independently by selecting one or the other at the top of the e-Mail dialog. 17. Under Recipients, select the e-Mail Group you wish to send the email to.
182 EZwarePlus Programming Manual 21. Click OK to return to the Alarm (Event) Log dialog. You may select a location to save History files by selecting one of the check boxes. You may also configure additional Event (Alarm) Log items here. If a printer has been enabled in the System Parameters > Model tab, you can choose the items to include in the printed message when an alarm triggers a print command (configured on the alarm’s Message tab). 22. Click Exit when you are finished.
EZwarePlus Programming Manual 183 4. Include categories: To include all categories, set this at 0 to 0. 5. Acknowledge style: Select either Click or Double click for the acknowledge style. 6. Select the Frame and Background colors from the drop-down menus. Select Transparent for no frame or background. 7. Select the sort order in which the alarms will appear, either Time ascending or Time descending. 8.
184 EZwarePlus Programming Manual Displaying Alarms using the Alarm Bar Object The Alarm Bar Object displays alarms scrolling horizontally along a single line. The alarm bar continuously scrolls each alarm until the alarm is no longer active. If more than one alarm is active, the Alarm Bar Object appends each alarm to the string of characters scrolled. This part can be used on window screens where space is very limited.
EZwarePlus Programming Manual 185 7. Select the format for how the date and time is displayed in the Date: and Time: drop-down boxes. 8. Click the Shape tab to configure a background shape, if you'd like one. 9. Click the Font tab to configure the size of the font. 10. Click OK and click in the work area of EZwarePlus to place the Alarm Bar. Drag it to place it in the desired location.
186 EZwarePlus Programming Manual used to popup an acknowledgement Indirect Window. In History mode, the History control address is the register used to select the history file to display, where 0 displays the most recent events, 1 displays yesterday’s events, 2 displays the events from two days ago, etc. Select Enable reading multiple histories to display more than one history file at a time. 4.
EZwarePlus Programming Manual 187 11. Use the Display order list to arrange the order in which the selected event information is displayed, and select the format for how the date and time is displayed in the Date: and Time: drop-down boxes. 12. Click the Shape tab to configure a background shape (if desired). Click the Font tab to configure the size of the font. 13. Click OK and click in the work area of EZwarePlus to place the Event Display. Drag it to place it in the desired location.
188 EZwarePlus Programming Manual Chapter 13 – Security The security feature in EZwarePlus allows you to create up to 12 users with individual passwords and assign different access levels to each user. Access to windows and even individual objects can be secured so only individuals logged in with the correct access levels can operate certain functions. System Parameter Settings Security tab The security feature is enabled in the System Parameters.
EZwarePlus Programming Manual 189 There are two security modes in EZwarePlus, General mode and Enhanced Security mode. General mode operates the same as the security feature in EasyBuilder-5000, so projects created in EasyBuilder-5000 will default to the General mode when opened in EZwarePlus. Enhanced Security mode provides additional features and user account management for improved security and runtime editing of user accounts.
190 EZwarePlus Programming Manual Enhanced Security Mode When Enhanced security mode is selected, up to 11 users can be enabled along with a default Administrator. Each user can be assigned up to twelve access classes (A-L). The Administrator has full access (all access classes). Passwords and User Names can be alphanumeric, which are stored in local memory as assigned by the Control address (see below for a description of the Control address).
EZwarePlus Programming Manual 191 The access classes can be assigned descriptions, which appear in the Object class drop-down when enabling the User restriction on an object’s Security tab. Administrator: The administrator’s user name is admin by default and cannot be changed. Enter the administrator’s password and select Secret user to hide the admin user name in the Option List. Control Address: The control address defines the area of memory containing the control registers and user account data.
192 EZwarePlus Programming Manual 7 Delete user account by name selected in Control Address + 4. Note: The currently logged-in user account cannot be deleted. 8 Delete user account by Option List index (Control Address + 2). Note: The currently logged-in user account cannot be deleted. 9 Change the privilege level of the selected user account by name (Control Address + 4). The new privilege value must be entered in Control Address + 3 prior to execution.
EZwarePlus Programming Manual 193 To log in from a keypad: 1. Create an ASCII Input object, addressed to ([Control Address] + 4), length 8 words, for the User Name. 2. Create an ASCII Input object, addressed to ([Control Address] + 12), length 8 words, for the Password. 3. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 1. 4. When the project is run, enter the User Name and Password, then touch the Set Word object. To log in from an Option List: 1.
194 EZwarePlus Programming Manual To delete a user by Option List: 1. Create an Option List with User account selected for the Source of item data. Configure the Monitor Address as ([Control Address] + 2). 2. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 8. 3. When the project is run, select the desired User Name from the Option List, then touch the Set Word object.
EZwarePlus Programming Manual 195 Disable protection permanently after initial activation: This option removes the user restriction from the object once the object has been activated by a user with the correct access class, even after that user logs out. The protection is disabled until the HMI is rebooted. Display warning message if access denied: This option causes the message in Window 7 (Password Restriction) to popup when a user with an incorrect access class attempts to activate the object.
196 EZwarePlus Programming Manual Hide when disabled: When this box is checked, the object is invisible on the screen until the designated bit is in the enable state. Disabled Enabled Grayed label when disabled: When this box is checked, the object’s label is grayed out until the designated bit is in the enable state. Disabled Enabled Enable when Bit is ON/Enable when Bit is OFF: Choose the state of the designated bit that will enable the action of the object.
EZwarePlus Programming Manual 197 Auto logout There is an Auto logout feature in the System Parameters on the System Setting tab (Edit > System Parameters > System Setting). When this feature is enabled, you can select the number of minutes of inactivity before the HMI will automatically logout the user. This avoids a situation where a user logs in and forgets to log out before leaving the HMI (use LB9050 to manually logout a user).
198 EZwarePlus Programming Manual Project Protection Enable Project Protection in the System Parameter settings (Edit > System Parameters > General tab). Use the Project Protection feature to set a unique password (Project key) in the project that will cause the project to run only on specific HMIs that have a matching password (HMI key). A developer can set the HMI key in the reserved local memory of the HMI (LW9046 configured for 32-bit unsigned numeric format).
EZwarePlus Programming Manual 199 Disable Upload Function Activate the Disable Upload Function in the System Parameter settings (Edit > System Parameters > System Setting tab). Alternately, you can set LB9033 in the local reserved memory of the HMI to disable the upload function and prevent a project from being uploaded from the HMI. The HMI must be rebooted after downloading the project in order for the Disable Upload Function to take effect. 1010-1015, Rev.
200 EZwarePlus Programming Manual XOB Password A project (*.mtp) must be compiled (*.xob) before it can be downloaded to an HMI. When compiling a project, you have the option to change the default password (111111) to a unique number. You must enter the correct password before you can decompile the file and open it in EZwarePlus or you will get a decompiling error. 1010-1015, Rev.
EZwarePlus Programming Manual 201 Decompiling Prohibited Click the Decompilation is prohibited checkbox in the Compiling window to prevent the compiled project from being decompiled. Once a project is compiled with the Decompilation is prohibited option checked, it cannot be decompiled. There is no “backdoor” password to override it. 1010-1015, Rev.
202 EZwarePlus Programming Manual System Passwords The System Setup Toolbar in the HMI has the option of changing several passwords from their default setting of 111111 to another number. Open the System Setup Toolbar and click the System Settings icon. A dialog will be displayed requesting the Local password. The default password is 111111. You may have to move windows around a bit to gain access to the virtual keyboard. You may also have to click inside the password field again.
EZwarePlus Programming Manual 203 To change a system password, the new password must be entered, and then entered again to confirm. As the password is entered into the confirm field, an indicator will show if the two passwords match. Local Password: The password required to enter local setup on the HMI. 1010-1015, Rev.
204 EZwarePlus Programming Manual Upload Password: The password required to upload data from the HMI to a PC or memory module. Upload to a PC using Utility Manager Upload to a USB Flash or SD Card 1010-1015, Rev.
EZwarePlus Programming Manual 205 Download Password: The password required to download data to the HMI from a PC or memory module. Download from a PC to an HMI Download from a USB Flash or SD Card 1010-1015, Rev.
206 EZwarePlus Programming Manual Upload (History) Password: The password required to upload history files from the HMI to a memory module. Upload to a USB Flash or SD Card 1010-1015, Rev.
EZwarePlus Programming Manual 207 Chapter 14 – Administrator Tools The Administrator Tools is a separate utility that allows storing data to a USB flash drive or SD card for specific functions including User Accounts, USB Security Key, e-Mail SMTP Server Settings, and e-Mail Contacts. The stored data can then be loaded into an HMI. To open the Administrator Tools, click Tools > Administrator Tools in EZwarePlus.
208 EZwarePlus Programming Manual To upload the data to the HMI, you must have a Function Key configured to import the user data. In the Function Key object’s properties, select Import user data/Use [USB Security Key] and click the Settings button. Select Import user accounts under Function mode. Select the Data position (SD card or USB disk) and the Account import mode (Overwrite or Append).
EZwarePlus Programming Manual 209 USB Security Key The project in the HMI must have Enhanced Security mode selected in the System Parameters > Security tab for the USB Security Key data to be implemented in the HMI. Selecting USB Security Key allows a user to log-in automatically by pressing a Function Key that is configured to Use [USB Security Key] to Login. Enter the User name and Password of the user account. The User name and Password must match an existing account in the HMI.
210 EZwarePlus Programming Manual To log-in the user, you must have a Function Key configured to Use [USB Security Key] to Login. In the Function Key object’s properties, select Import user data/Use [USB Security Key] and click the Settings button. Select Use [USB Security Key] to Login under Function mode. Select the Data position (SD card or USB disk). Click OK and select an appropriate shape and label for the Function Key.
EZwarePlus Programming Manual 211 e-Mail SMTP Server Settings Selecting e-Mail SMTP Server Settings allows the e-Mail server settings to be changed in the HMI during runtime without having to change the project in EZwarePlus and download it to the HMI. Enter the SMTP Server settings that you want to import into the HMI. Select Save to USB to save the e-Mail SMTP Server Settings data to the USB flash drive or SD card. Navigate to the USB flash drive or SD card connected to your PC and click Create.
212 EZwarePlus Programming Manual To update the HMI, you must have a Function Key configured to Use [USB Security Key] to Login. In the Function Key object’s properties, select Import user data/Use [USB Security Key] and click the Settings button. Select Import e-Mail settings and contacts under Function mode. Select the Data position (SD card or USB disk). Click OK and select an appropriate shape and label for the Function Key.
EZwarePlus Programming Manual 213 e-Mail Contacts Selecting e-Mail Contacts allows the e-Mail contacts in the HMI to be changed without having to change the project in EZwarePlus and download it to the HMI. Click the Add button to add a Contact Name and Mail Address to the list of contacts. Up to 256 contacts can be created. Select the No. of groups to use for the assigned e-Mail recipients. Up to 16 groups can be created. Select a group under Current group to add contacts to the group.
214 EZwarePlus Programming Manual To update the HMI, you must have a Function Key configured to Import e-mail settings and contacts. In the Function Key object’s properties, select Import user data/Use [USB Security Key] and click the Settings button. Select Import e-mail settings and contacts under Function mode. Select the Data position (SD card or USB disk). Click OK and select an appropriate shape and label for the Function Key.
EZwarePlus Programming Manual 215 Chapter 15 – Recipes EZwarePlus supports creating and using recipes in the HMI5000P Series. EasyBuilder-5000 supports a method using the RW memory in the HMI for storing the recipe data and using a recipe index register (LW-9000) to select blocks of RW memory to display and edit the recipe data on the HMI screen. EZwarePlus also supports this method so that projects created in EasyBuilder-5000 can be opened in EZwarePlus without having to modify the recipe structure.
216 Click the “Add new recipe” button EZwarePlus Programming Manual to create a new recipe in the Recipes list. Click the New button to add an item to the recipe. An item represents an ingredient or variable in the recipe that may change from one recipe record to another. Each item has the following parameters that can be configured independently.
EZwarePlus Programming Manual 217 When changes have been made, a popup window will ask if you want to apply the changes to the recipe database. If you select Yes, the recipe database file will be updated with the changes. This is stored as recipe.db in the EZPlus > HMI_memory > Recipe folder. If you select No, the database file will not be updated but the data is stored in the MTP file (and the XOB file when compiled).
218 EZwarePlus Programming Manual Click the Add button to add records to the recipe. Enter the data for each column. In this example, the first column is the name of the recipe record and subsequent columns represent the ingredients used, with the data entered representing the amount of each ingredient. You can use the up/down arrow buttons to move a selected recipe record up and down in the list.
EZwarePlus Programming Manual 219 Create a new Numeric Input or ASCII Input object and select Recipe for the Device type. A recipe must be created in the System Parameters > Recipes tab for the Recipe Device type to be available. Select the individual item in the Address field. If the item is ASCII, it will only be available in the ASCII Input object. If the item is numeric, it will only be available in the Numeric Input object.
220 EZwarePlus Programming Manual Command: Performs an action on the recipe based on the value entered. 1. Add a new record. The selected record is duplicated and added to the end of the list where it can be edited. 2. Update the selected record with new data. 3. Delete the selected record. Result: Displays the result of the action performed with the Command field. 1. Success 2. The selected record does not exist. 3. Unknown command. 4. The recipe has reached the limit of 10,000 records.
EZwarePlus Programming Manual 221 The Upload from PLC and Download to PLC buttons are Data Transfer (Trigger-based) objects that transfer the recipe data to and from the PLC. For Download to PLC, select the recipe in the Source address and select the PLC in the Destination address (this is the beginning address where the recipe data will be written).
222 EZwarePlus Programming Manual Chapter 16 – Operation Log The Operation Log is a mechanism that records operator actions to an SQLite database file. Only user-triggered actions can be logged, such as a Set Bit, Function Key, Numeric Input, etc. The Operation Log consists of two parts – Configuration and View. The L and HD Series do not support the Operation Log. Configuration Settings Click the button or, from the Objects menu, select Operation Log, Operation Log Settings.
EZwarePlus Programming Manual 1. 223 Check the Enable Operation Log Function checkbox. The object list displays all objects available for recording in the Operation log. Use the filter button to select the type of object(s) that appear in the list. 2. Check the Enable box for each object to be recorded. Click the Select All / Discard All buttons to select or deselect all objects shown in the list. 3.
224 EZwarePlus Programming Manual View Settings The Operation Log View displays data recorded by the Operation Log object in a spreadsheet-like format.. The Operation Log View will display data from the current database file, plus any data archived to the SD or USB device. Click the button or, from the Objects menu, select Operation Log, Operation Log View. General Tab The General tab sets up the basic appearance of the Operation Log View. 1. Comment: Enter a text description of the object (optional).
EZwarePlus Programming Manual 225 3. Profile: Specify the background color of the view. If the Transparent box is checked, the background color is the same as the color of the window. If the Transparent box is unchecked, select a background color for the view 4. Grid: Check the Enable box to display gridlines on the view. If checked, specify a color for the gridlines. 5. Selection Control: Specify a highlight color for the selected row. 6.
226 EZwarePlus Programming Manual Title Tab The Title tab sets up which fields are displayed in the Operation Log View. 1. In the top section, enter the text to display in the Title row for each field. The default text is the field name. If a label database exists in the EasyBuilder project, the Label Library checkbox may be checked and a Label Tag may be selected. The Label Library and Label Tag columns are visible only if a label database exists in the EasyBuilder project. 2.
EZwarePlus Programming Manual 227 Chapter 17 – EasyDiagnoser and Easy Watch EasyDiagnoser is a diagnostic utility that monitors the read and write commands between the HMI and the PLC and indicates when an error occurs in the communication. EasyWatch provides a method of displaying and editing registers in the HMI and PLC in a tabular format. An existing macro in an HMI can also be triggered with EasyWatch for troubleshooting and debugging purposes.
228 EZwarePlus Programming Manual Enter the IP address of the HMI that you want to monitor. EasyDiagnoser will open and attempt to connect to the HMI through the Ethernet port on the PC. The Logger window will display “Connection established with the target HMI” when the connection is made. 1010-1015, Rev.
EZwarePlus Programming Manual 229 Main Window The main window in EasyDiagnoser is where you set the parameters for monitoring the communications and see the results. To begin monitoring communications: 1. From the Command drop-down list, select whether to monitor Read and Write commands, Read commands only, or Write commands only. The default is Read + Write commands. 2. In the Device drop-down list, select which device to monitor.
230 EZwarePlus Programming Manual The PID column is the Package ID number for the Polling Package containing the object’s address. Look for that number in the Package ID column in the Polling Packages window to see the details for that Polling Package. Double-clicking an object in the Polling Package window will highlight the object in the HMI or simulator. The St. column represents the Station Number of the PLC that the Polling Package is associated with. The Index.
EZwarePlus Programming Manual 231 The Station column lists the Station Number assigned to the Device (if applicable). When the objects within a Polling Package are displayed, it shows the window number where the object is located. The Index column shows the Index number assigned to the Polling Package. When the objects within a Polling Package are displayed, it shows the Object ID assigned to the individual objects by EasyDiagnoser.
232 EZwarePlus Programming Manual Logger The Logger window show events that occur in EasyDiagnoser. EasyDiagnoser does not support monitoring PLCs using the tag import feature such as Siemens S7-1200 and AllenBradley CompactLogix/ControlLogix – Free Tags. EasyWatch EasyWatch is a utility that allows you to display and edit registers in the HMI and PLC in a spreadsheet-style format. It also provides a method of triggering an existing macro in the HMI for troubleshooting and debugging purposes.
EZwarePlus Programming Manual 233 To add an HMI to the project: 1. Open the HMI Manager by clicking on the Objects menu and selecting HMI Manager, or by clicking on the HMI Manager icon in the toolbar. 2. Click the Add button. Enter the IP address and Port No. of the HMI. The IP address of the HMI is configured in the System Settings window in the HMI. The Port No. is configured in the EZwarePlus project’s System Parameters > Model tab.
234 EZwarePlus Programming Manual The next step is to add address monitors in the EasyWatch window to view registers in an HMI and PLC. To add a Monitor object to the project: 1. Open the Monitor Settings window by clicking on the Objects menu and selecting Add Object > Add Monitor, or by clicking on the Add New Address Monitor icon in the toolbar. 2. Enter a name for the Monitor object or use the default. 3.
EZwarePlus Programming Manual 235 5. Select the PLC to monitor. If you want to monitor a register in the HMI, select HMI5000 Series HMI. If you want to monitor a register in a PLC connected to the HMI, select the PLC type from the drop-down list and enter the appropriate communication settings. 6. Select the Address you wish to monitor and the appropriate Address Type. 7. Select the Update Cycle. This determines how often the monitor is updated in EasyWatch, with a range from 500 ms to 5000 ms. 8.
236 EZwarePlus Programming Manual To begin monitoring data: 1. Select one or more monitor objects in the list (hold the shift key to select multiple objects) and click the Run button in the toolbar. The status indicator for each selected monitor object will change from Stop to Connected and the Value column will display a number or state. If the red Address Error is displayed under the Status column, check the communication settings, address syntax, and physical connection to the device.
EZwarePlus Programming Manual 237 4. Select the Macro Type by clicking the Active Type button. Direct Active: The selected macro object is triggered by a button in EasyWatch. An Active button appears in the Value column, which is used to trigger the macro object manually. Cycle Active: The selected macro object is triggered periodically. Click the Active Type button again to select the time period to wait before running the macro object again (range is 1 – 255 seconds). 5.
238 EZwarePlus Programming Manual Chapter 18 – Using the Modbus Gateway The Modbus Gateway allows any ModbusTCP Master to request HMI data using standard Modbus commands. The HMI uses the ModbusRTU/TCP Slave protocol to pass Modbus requests to any non-tag-based PLC or controller connected to the HMI, or the HMIs internal storage. Tag-based PLCs are those that use named tags instead of addresses, such Allen Bradley Compact and Control Logix , Siemens S7-1200, and BACnet.
EZwarePlus Programming Manual 239 Configuring the Modbus Gateway 1. 2. 3. Configure the PLC to which Modbus registers will be mapped. Refer to the System Parameter Settings section at the end of Chapter 6. On the Model tab of the System Parameter dialog, change the HMI Station Number to the Modbus Unit Number desired for the HMI. Change the Port Number to the port used by the ModbusTCP Master. Typically, port 502 is used.
240 EZwarePlus Programming Manual This example will show how to use the Modbus Gateway to obtain data from an Animatics Smartmotor. 1. Click the Address Mapping Tables button. 2. 3. By default, Modbus registers are mapped to HMI local storage. Click the Delete button to remove the selected entry. Click the Add button to map a Modbus register. 1010-1015, Rev.
EZwarePlus Programming Manual 4. 5. 241 In this example, Modbus registers are being mapped to array elements in an Animatics Smartmotor controller. Description: Enter a text description for this mapping. Device Type: Select whether the mapped data is a Bit or Word address. Mode: Configure the access privileges. MODBUS address: Specify the Modbus address. Mapped PLC address: Specify the PLC and address to which the Modbus address will be mapped.
242 EZwarePlus Programming Manual Appendix A – Reserved Local Memory EZwarePlus reserves some Local Words (LW) and Local Bits (LB) in the HMI for system use. These can be accessed with objects in EZwarePlus by selecting the System Tag checkbox in the Address window. They can also be accessed from the Tag Library by selecting the System radio button. 1010-1015, Rev.
EZwarePlus Programming Manual 243 Here is a list of the current system tags in EZwarePlus. As new versions of EZwarePlus are released, these may change. You can export a list of the System Tags by selecting the Export EXCEL button in the Tag Library with the System Tags selected.
244 EZwarePlus Programming Manual LB-9045 : memory-map communication fails (when ON) LB-9046 : project key is different from HMI key (when ON) LB-9047 : reboot HMI (set ON when LB9048 is on) LB-9048 : reboot-HMI protection LB-9049 : enable (set ON)/disable (set OFF) watch dog LB-9050 : user logout LB-9051 : disconnect (set OFF)/connect (set ON) EasyAccess server LB-9052 : status of connecting to EasyAccess server LB-9053 : prohibit password remote-read operation (when ON) LB-9054 : prohibit password remot
EZwarePlus Programming Manual 245 LB-9190 : auto.
246 EZwarePlus Programming Manual LB-9501 : PLC 2 status (SN1, COM2), set on to retry connection LB-9502 : PLC 2 status (SN2, COM2), set on to retry connection LB-9503 : PLC 2 status (SN3, COM2), set on to retry connection LB-9504 : PLC 2 status (SN4, COM2), set on to retry connection LB-9505 : PLC 2 status (SN5, COM2), set on to retry connection LB-9506 : PLC 2 status (SN6, COM2), set on to retry connection LB-9507 : PLC 2 status (SN7, COM2), set on to retry connection LB-9800 : PLC 3 status (SN0, COM3),
EZwarePlus Programming Manual 247 LB-11949 : delete the earliest data sampling file on SD card (set ON) LB-11950 : delete all data sampling files on SD card (set ON) LB-11951 : refresh data sampling information on SD card (set ON) LB-11952 : delete the earliest data sampling file on USB disk (set ON) LB-11953 : delete all data sampling files on USB disk (set ON) LB-11954 : refresh data sampling information on USB disk (set ON) LB-11955 : reserved LB-11956 : reserved LB-11957 : reserved LB-11960 : disable
248 EZwarePlus Programming Manual LW-9030 (32bit) : system time (unit : 0.
EZwarePlus Programming Manual 249 LW-9150 (32 words) : keyboard's input data (ASCII) LW-9200 (16bit) : address index 0 LW-9201 (16bit) : address index 1 LW-9202 (16bit) : address index 2 LW-9203 (16bit) : address index 3 LW-9204 (16bit) : address index 4 LW-9205 (16bit) : address index 5 LW-9206 (16bit) : address index 6 LW-9207 (16bit) : address index 7 LW-9208 (16bit) : address index 8 LW-9209 (16bit) : address index 9 LW-9210 (16bit) : address index 10 LW-9211 (16bit) : address index 11 LW-9212 (16bit)
250 EZwarePlus Programming Manual LW-9300 (16bit) : driver ID of local PLC 1 LW-9301 (16bit) : driver ID of local PLC 2 LW-9302 (16bit) : driver ID of local PLC 3 LW-9303 (16bit) : driver ID of local PLC 4 LW-9350 (16bit) : pending command no. in local HMI LW-9351 (16bit) : pending command no. in PLC 1 (COM 1) LW-9352 (16bit) : pending command no. in PLC 2 (COM 2) LW-9353 (16bit) : pending command no. in PLC 3 (COM 3) LW-9354 (16bit) : pending command no.
EZwarePlus Programming Manual 251 LW-9552 (16bit) : COM 1 data bits (7 : 7 bits, 8 : 8 bits) LW-9553 (16bit) : COM 1 parity (0:none, 1:even, 2:odd, 3:mark, 4:space) LW-9554 (16bit) : COM 1 stop bits (1 : 1 bit, 2 : 2 bits) LW-9555 (16bit) : COM 2 mode(0:RS232,1:RS485 2W,2:RS485 4W) LW-9556 (16bit) : COM 2 baud rate(7:1200,8:2400,0:4800,1:9600,2:19200,3:38400,4:57600,..
252 EZwarePlus Programming Manual LW-9629 (16bit) : PLC 9's port no.
EZwarePlus Programming Manual 253 LW-9902 (16bit) : pass-through destination COM port (1~3 : COM 1~COM 3) LW-9905 (16bit) : remote HMI 21's IP0 (IP address = IP0:IP1:IP2:IP3) LW-9906 (16bit) : remote HMI 21's IP1 (IP address = IP0:IP1:IP2:IP3) LW-9907 (16bit) : remote HMI 21's IP2 (IP address = IP0:IP1:IP2:IP3) LW-9908 (16bit) : remote HMI 21's IP3 (IP address = IP0:IP1:IP2:IP3) LW-9909 (16bit) : remote HMI 21's port no.
254 EZwarePlus Programming Manual LW-9953 (16bit) : remote HMI 30's IP3 (IP address = IP0:IP1:IP2:IP3) LW-9954 (16bit) : remote HMI 30's port no. LW-9955 (16bit) : remote HMI 31's IP0 (IP address = IP0:IP1:IP2:IP3) LW-9956 (16bit) : remote HMI 31's IP1 (IP address = IP0:IP1:IP2:IP3) LW-9957 (16bit) : remote HMI 31's IP2 (IP address = IP0:IP1:IP2:IP3) LW-9958 (16bit) : remote HMI 31's IP3 (IP address = IP0:IP1:IP2:IP3) LW-9959 (16bit) : remote HMI 31's port no.
EZwarePlus Programming Manual 255 LW-10301 (16bit) : remote PLC 1's IP1 (IP address = IP0:IP1:IP2:IP3) LW-10302 (16bit) : remote PLC 1's IP2 (IP address = IP0:IP1:IP2:IP3) LW-10303 (16bit) : remote PLC 1's IP3 (IP address = IP0:IP1:IP2:IP3) LW-10304 (16bit) : remote PLC 1's port no.
256 EZwarePlus Programming Manual LW-10516 (16bit) : PLC 4 turn around delay (unit : ms) LW-10517 (16bit) : PLC 4 send ACK delay (unit : ms) (SIEMENS S7/400 Link type) LW-10518 (16bit) : PLC 4 parameter 1 (SIEMENS S7/400 rack) LW-10519 (16bit) : PLC 4 parameter 2 (SIEMENS S7/400 CPU slot) LW-10520 (16bit) : PLC 5 timeout (unit : 100ms) LW-10521 (16bit) : PLC 5 turn around delay (unit : ms) LW-10522 (16bit) : PLC 5 send ACK delay (unit : ms) (SIEMENS S7/400 Link type) LW-10523 (16bit) : PLC 5 parameter 1 (
258 HMI5000P Programming Manual Maple Systems Inc. th 808 134 Street SW, Suite 120 Everett, WA 98204-7333 Phone: (425) 745-3229 Email: maple@maplesystems.com Web: www.maplesystems.