Delta Electronics DUP-B Series User Manual

Delta Electronics DUP-B Series User Manual

Human machine interface
Table of Contents

Advertisement

DOP-B_M_EN_20100531

Advertisement

Table of Contents
loading

Summary of Contents for Delta Electronics DUP-B Series

  • Page 1 DOP-B_M_EN_20100531...
  • Page 2: Revision May

    Preface Thank you very much for purchasing DELTA’s DOP-B Series Human Machine Interface (hereinafter “HMI” ) products. This manual will be helpful in the installation, operation and specifications of Delta HMI product and HMI Screen Editor software program. Before using the product, please read this user manual to ensure correct use.
  • Page 3 Preface NOTE The content of this manual may be revised without prior notice. Please consult our distributors or download the most updated version at http://www.delta.com.tw/industrialautomation. Revision May, 2010...
  • Page 4: Table Of Contents

    Table of Contents Chapter 1 Introduction................1-1 1.1 DOP-B Series Human Machine Interface (HMI)............ 1-1 1.2 Features......................1-1 Chapter 2 Working with Hardware Devices ..........2-1 2.1 Usage of SD Card and USB Disk ................ 2-1 Chapter 3 Creating and Editing Screens ............. 3-1 3.1 Screen Editor Setup...................
  • Page 5 Table of Contents 3.5.5 Save as ...................... 3-45 3.5.6 Make Ext. Memory Data................3-45 3.5.7 Open Ext. Memory Data................3-46 3.5.8 Password Protect ..................3-46 3.5.9 Print ......................3-47 3.5.10 Print Preview.................... 3-47 3.5.11 Print Setup....................3-48 3.5.12 File Quick Access ..................3-49 3.5.13 Exit......................
  • Page 6 Table of Contents 3.6.16 Text Process .................... 3-58 3.6.17 Picture ..................... 3-58 3.6.18 Duplicate ....................3-58 3.7 Menu Bar and Toolbar (View) ................3-61 3.7.1 Tools ......................3-61 3.7.2 Property Table ................... 3-69 3.7.3 Record and Output Window ............... 3-70 3.7.4 Zoom In.....................
  • Page 7 Table of Contents 3.8.2.7 System DateTime/Password Table Setup/Enter Password/Contrast Brightness/Low Security/System Menu/Report List/Screen Capture/Remove Storage/Import&Export Recipe/Calibration/Language Changer......3-111 3.8.3 Meter Elements..................3-117 3.8.4 Bar Elements ..................... 3-120 3.8.4.1 Normal....................3-120 3.8.4.2 Differential..................3-122 3.8.5 Pipe Elements .................... 3-125 3.8.5.1 Pipe(1)/Pipe(2) ................... 3-125 3.8.5.2 Pipe(3)....................
  • Page 8 Table of Contents 3.8.8.7 Moving Sign ..................3-143 3.8.9 Graph Display Elements................3-145 3.8.9.1 State Graphic..................3-145 3.8.9.2 Animated Graphic ................3-147 3.8.9.3 Dynamic Line ..................3-149 3.8.9.4 Dynamic Rectangle................3-150 3.8.9.5 Dynamic Ellipse .................. 3-152 3.8.9.6 Real Image ..................3-154 3.8.10 Input Elements..................
  • Page 9 Table of Contents 3.8.14 Keypad Elements ..................3-191 3.8.15 Drawing Elements..................3-194 3.8.15.1 Line ....................3-194 3.8.15.2 Rectangle ..................3-195 3.8.15.3 Circle ....................3-196 3.8.15.4 Polygon .................... 3-198 3.8.15.5 Arc ....................3-199 3.8.15.6 Text ....................3-200 3.8.15.7 Scale ....................3-201 3.8.15.8 Table....................
  • Page 10 Table of Contents 3.9.15 Screen Properties..................3-212 3.10 Menu Bar and Toolbar (Tools) ................. 3-216 3.10.1 Compile....................3-216 3.10.2 Download Screen & Recipe............... 3-218 3.10.3 Upload Screen & Recipe ................3-219 3.10.4 Download Screen ..................3-221 3.10.5 Upload Recipe..................3-221 3.10.6 Download Recipe ..................
  • Page 11 Table of Contents 3.11.13 Background Macro ................. 3-266 3.11.14 Clock Macro................... 3-266 3.11.15 Environment ..................3-267 3.12 Menu Bar and Toolbar (Window)..............3-269 3.12.1 Close Window ..................3-269 3.12.2 Close All Windows ................... 3-269 3.12.3 Next Window ................... 3-269 3.12.4 Previous Window..................3-269 3.12.5 Cascade....................
  • Page 12 Table of Contents 3.14.1.10 Clock Macro ................... 3-286 3.14.1.11 Sub-Macro ..................3-286 3.14.2 Macro Editing ..................3-289 3.14.2.1 Macro Editing Widow and Toolbar ............ 3-289 3.14.2.2 Macro Command Dialog Box ............3-293 3.14.2.3 Keypad Entry ..................3-299 3.14.3 Macro Operation..................3-300 3.14.3.1 Arithmetic Operation................
  • Page 13 Table of Contents 4.7 How to Create a Curve Element................. 4-33 Chapter 5 System Menu ................5-1 5.1 System Menu Introduction ................5-1 5.2 System Setting Menu ..................5-5 5.3 Up/Download Menu ..................5-18 5.4 System Info Menu ..................... 5-21 5.5 HMI Doctor Menu....................
  • Page 14 Due to constantly growing product range, technical improvement and alteration or changed texts, figures and diagrams, we reserve the right of this manual contained information change without prior notice. Coping or reproducing any part of this manual, without written consent of Delta Electronics Inc. is prohibited. Technical Support and Service Welcome to contact us or visit our web site (http://www.delta.com.tw/industrialautomation/)
  • Page 15 Table of Contents This page intentionally left blank. Revision May, 2010...
  • Page 16: Chapter 1 Introduction

    Chapter 1 Introduction 1.1 DOP-B Series Human Machine Interface (HMI) DOP-B series HMI is manufactured by adopting easy-to-use software and high-speed hardware to provide a powerful and stable programmable interface. Screen Editor software program is a user-friendly program editor of DOP-B series HMI for Windows. Please refer to the following section for an introduction to its features and functions.
  • Page 17 Chapter 1 Introduction internal memory of HMI. After the users finish editing the recipes, the users can download the recipes individually.  Direct Communication with Three External Controllers DOP-B series HMI is capable of connecting to three different or the same controllers directly via three communication ports.
  • Page 18 Chapter 1 Introduction NOTE 1) The controller should provide RS-485 interface. 2) Off-line/On-line simulation functions are only provided for some parts of the controllers. Also, the execution time of on-line simulation only can continue 30 minutes. After the simulation time has finished, HMI will return to the main screen of Screen Editor V2.0 software program from simulation window automatically.
  • Page 19 Chapter 1 Introduction This page intentionally left blank Revision May, 2010...
  • Page 20: Chapter 2 Working With Hardware Devices

    Chapter 2 Working with Hardware Devices 2.1 Usage of SD Card and USB Disk  SD Card SD card (supports SDHC) can be used to save and transmit data. The supporting file format is FAT32. Before using a SD card, reformatting (FAT32) via HMI is needed. Only SD card that formatted by HMI can be used on both HMI and Windows®...
  • Page 21 Chapter 2 Working with Hardware Devices This page intentionally left blank. Revision May, 2010...
  • Page 22: Chapter 3 Creating And Editing Screens

    Chapter 3 Creating and Editing Screens In this chapter, it will introduce general functions of Screen Editor software program with Windows. The user can use it to design what he wants. Detail information for each function will be discussed in following chapters. 3.1 Screen Editor Setup ...
  • Page 23 Chapter 3 Creating and Editing Screens Fig. 3-1-1 Open Microsoft Windows Step 2: Execute setup.exe from Windows taskbar by clicking “Start” > “Run”. After pressing OK, system will setup automatically and you will get the following dialog box to select the desired display language (Fig.
  • Page 24 Chapter 3 Creating and Editing Screens After pressing OK, system will setup automatically and you will get the following dialog box to choose destination location (Fig. 3-1-3). Fig. 3-1-3 Directory for installing Screen Editor software program To select the default directory C:\Program Files\Delta Industrial Automation\Screen Editor 2.00.XX\, click Next>...
  • Page 25 Chapter 3 Creating and Editing Screens Fig. 3-1-4 Select Screen Editor software program Step 4: Then click Install button to start Screen Editor Installation (Fig. 3-1-5, Fig. 3-1-6). Fig. 3-1-5 Starting Screen Editor installation Revision May, 2010...
  • Page 26 Chapter 3 Creating and Editing Screens Fig. 3-1-6 Finish installing Screen Editor Step 5: After finish installing Screen Editor software program (Fig. 3-1-6), the system will ask you to install HMI USB driver, please click Yes to install. Fig. 3-1-7 Install HMI USB driver Revision May, 2010...
  • Page 27 Chapter 3 Creating and Editing Screens Step 6: After installing HMI USB driver, click Close to complete the installation. After the installation is completed, connect HMI and PC by communication cable via USB port. Wait for few seconds and activate Screen Editor software program. Then choose Tools >...
  • Page 28 Chapter 3 Creating and Editing Screens Fig. 3-1-9 Starting installation Fig. 3-1-10 Show details Fig. 3-1-11 Finish upgrading Revision May, 2010...
  • Page 29 Chapter 3 Creating and Editing Screens Fig. 3-1-12 Finish installation Step 3: After upgrading is finished, click Close to complete the installation. Revision May, 2010...
  • Page 30: How To Start Screen Editor

    Chapter 3 Creating and Editing Screens 3.2 How to Start Screen Editor 1. After setup, you can start Screen Editor software program by clicking Screen Editor 2.00.XX shortcut on the desk (Fig. 3-2-1) or from Windows taskbar, click Start > Programs >...
  • Page 31 Chapter 3 Creating and Editing Screens When Screen Editor software program is activated for the first time, the first window to show up is as follows. There are only File, View, Tools, Options and Help on the toolbar. Fig. 3-2-3 Screen without editing file 2.
  • Page 32 Chapter 3 Creating and Editing Screens 3. Enter the project name, screen name, screen No. and select connected HMI, controller or printer. Then, click OK. It can create a new project in Screen Editor software program as shown in the following (Fig. 3-2-5). Fig.
  • Page 33 Chapter 3 Creating and Editing Screens 3. Text Toolbar 4. Bitmap Toolbar 5. Element Toolbar 6. Layout Toolbar 7. Drawing Toolbar Fig. 3-2-6 Toolbar of Screen Editor 3-12 Revision May, 2010...
  • Page 34 Chapter 3 Creating and Editing Screens Position of toolbar can be moved. Fig. 3-2-7 Element Toolbar has been moved  Element Tool Window The Element Tool window provides various kinds of element icons for selection (Fig. 3-2-8). The user can use the mouse to select the desired element icon and drag it onto the work place to create a new element.
  • Page 35 Chapter 3 Creating and Editing Screens  Property Table The Property Table displays the element property settings for each element (Fig. 3-2-10 & Fig. 3-2-11). Element state selection All elements on the current editing screen Fig. 3-2-10 Property Table and Editing Screen Preview 3-14 Revision May, 2010...
  • Page 36 Chapter 3 Creating and Editing Screens  Record and Output Window The Record and Output Window displays all the editing actions and output message when compile function is enabled (Fig. 3-2-11). When HMI program is compiled, the system will detect the program automatically. Once error occurs, the error messages will be displayed in Output Window.
  • Page 37 Chapter 3 Creating and Editing Screens  Status Bar Following is the status bar of Screen Editor (Fig. 3-2-13). Download Connecting Function CAP LOCK HMI Model Interface Mouse is moving NUM LOCK SCROLL LOCK Element Coordinate and Size Fig. 3-2-13 Status Bar of Screen Editor 3-16 Revision May, 2010...
  • Page 38: Internal Memory

    Chapter 3 Creating and Editing Screens 3.3 Internal Memory There are six kinds of registers for selection. They are internal register $, Non-volatile Internal Register $M, Indirect Address Register *$, Recipe Number Register RCPNO, Recipe Group Register RCPG and Recipe Register RCP (Fig. 3-3-1). For more details on settings, please refer to the following descriptions.
  • Page 39: Indirect Address Register (Read / Write)

    Chapter 3 Creating and Editing Screens 3.3.3 Indirect Address Register (Read / Write) : *$ Word Access:*$n( n : 0-65535 ) Indirect address register is an area where an address is stored. The user must get the address from *$n and then get the values stored in this address. For example: if $7 = 20;...
  • Page 40: Recipe Group Register (Read / Write) : Rcpg

    Chapter 3 Creating and Editing Screens 3.3.5 Recipe Group Register (Read / Write) : RCPG This register is used to specify the 32-bit recipe group (Fig. 3-3-3). It is different than RCPNO. The difference is that when using RCPG, not only the recipe number, the recipe group also must be set.
  • Page 41 Chapter 3 Creating and Editing Screens Assume that the data size is L and the recipe number is N, and the actual recipe data space is equal to L x N words, i.e. L x N recipe registers are occupied. Delta DOP-B series has a recipe buffer area (Table 3-3-2) which stores the selected recipe data by the user.
  • Page 42 Chapter 3 Creating and Editing Screens Example 2: In Table 3-3-5, the size L is set to 3 and the number N is set to 2 with the recipe data. Thus the layout of the recipe data will be shown as Table 3-3-6, i.e. RCP0~RCP8 are occupied. When RCPNO is set to 2 and the recipe buffer area will show the 2 number of recipe data.
  • Page 43 Chapter 3 Creating and Editing Screens Assume that the data size is L and the recipe number is N, and the actual recipe data space is equal to L x N DW words, i.e. L x N recipe registers are occupied. Delta DOP-B series has a recipe buffer area (Table 3-3-8) which stores the selected recipe data by the user.
  • Page 44 Chapter 3 Creating and Editing Screens Example 2: In Table 3-3-11, suppose that it is built in the first group (RCPG=1). The size L is set to 2 and the number N is set to 3 with the recipe data. Thus the layout of the recipe data will be shown as Table 3-3-12, i.e.
  • Page 45: Control Block And Status Block

    Chapter 3 Creating and Editing Screens 3.4 Control Block and Status Block For two-way communication between Delta DOP series HMI and all other brands of PLCs, the address of the control block and status block must be defined. These settings are located in the Configuration dialog box (Fig.
  • Page 46: Control Block

    Chapter 3 Creating and Editing Screens Note: Checking of Auto reset flags will reset the control block flags (Bits) automatically after the desired procedure has been executed. If this box is not checked, the system will ask the user to reset the flags. 3.4.1 Control Block The control block is the way a PLC is used to control the HMI.
  • Page 47 Chapter 3 Creating and Editing Screens Screen Number Designation Register (SNIR) To use this register, write a value of the screen number that the user desires to have displayed into this register; then HMI will change to that screen. For example (refer to Table 3-4-1), if set D0 or $15.0 to 1, HMI will change to the 1st screen.
  • Page 48 Chapter 3 Creating and Editing Screens Communication retry times is 3 times Fig. 3-4-3 Communication tab Fig. 3-4-4 PLC Connections  Enable / Disable Backlight Bit 1 controls the backlight of HMI. When bit 1 is turned ON, the HMI backlight turns OFF.
  • Page 49 Chapter 3 Creating and Editing Screens  Update USB Data Bit 5 updates the USB data. When this flag is used, the user can update the stored data in alarm buffer area into the USB disk. If one of alarm buffer, history buffer or recipe function is activated and the non-volatile memory area is set to USB disk, when this flag is enable, HMI will backup and update the data that is stored in buffer area into USB disk in real-time.
  • Page 50 Chapter 3 Creating and Editing Screens Curve Control Register (CUCR) Binary Display of Relative Function Position (x) 0000 0000 0000 000x Curve Sampling Flag 1 0000 0000 0000 00x0 Curve Sampling Flag 2 0000 0000 0000 0x00 Curve Sampling Flag 3 0000 0000 0000 x000 Curve Sampling Flag 4 0000 0000 xxxx 0000...
  • Page 51 Chapter 3 Creating and Editing Screens Fig. 3-4-5 Curve Elements on HMI Screen  Curve Clear Flag Bits 8 to 11 (flags 1 to 4) clear the curve (Trend Graph, X-Y Chart, X-Y distribution or Curve Input) when this flag is turned ON (For more details on the settings of curve element, please refer to section 3.8.10).
  • Page 52 Chapter 3 Creating and Editing Screens Corresponding Flag Corresponding Binary Display of Relative Buffer Area Function Position (x) Buffer Area 4 0000 0000 0000 x000 Sampling History Buffer 4 Buffer Area 5 0000 0000 000x 0000 Sampling History Buffer 5 Buffer Area 6 0000 0000 00x0 0000 Sampling History Buffer 6...
  • Page 53 Chapter 3 Creating and Editing Screens Clearing History Buffer Register (HBCR) The history buffer when controlled by a PLC can also be cleared by the PLC. Corresponding Flag Corresponding Binary Display of Relative Buffer Area Function Position (x) Buffer Area 1 0000 0000 0000 000x Clearing History Buffer Flag 1 Buffer Area 2...
  • Page 54 Chapter 3 Creating and Editing Screens settings, the RCPNP can change to the designated recipe number automatically. To control the change recipe number flag again, this flag must be turned OFF and then ON again. For example (refer to Table 3-4-1), if set D6 to 3 and set D5 or $20.0 to 1 simultaneously, the recipe number will become 3 (RCPNO=3).
  • Page 55 Chapter 3 Creating and Editing Screens Designate Recipe Group Number  Bits 8 to Bit 15 designate the recipe group number. When the recipe group number is designated and turn ON this control flag, HMI will change the value of RCPG and change the recipe group number automatically.
  • Page 56 Chapter 3 Creating and Editing Screens  Multi-language Setting Value Bits 0 to 7 save the designated multi-language setting values (Fig. 3-4-7). These setting values control HMI to switch to the specified language (For more details on multi-language settings, please refer to section 3.10). For example (refer to Table 3-4-1 and Fig.
  • Page 57: Status Block

    Chapter 3 Creating and Editing Screens  Printer Flag When this flag is turned ON, the current display (Hard Copy) or the editing screen can be printed out. When this flag is turned OFF, the printer function is disabled. For example (refer to Table 3-4-1), if D7 is set to 256 or set $22.8 to 1, HMI will perform printing function.
  • Page 58 Chapter 3 Creating and Editing Screens Example 1 Example 2 (PLC register) (HMI register) Word Control Register Address Example Address Example General Control Status Register 2 (GCSR2) Dm+7 $m+7 Table 3-4-2 Status Block Designations General Control Status Register (GCSR) Binary Display of Relative Function Position (x) 0000 0000 0000 000x...
  • Page 59 Chapter 3 Creating and Editing Screens Flag Control Level Binary Display Level 6 Bit 9, Bit 10 Bit 8 0000 0110 0000 0000 Level 7 Bit 8, Bit 9, Bit 10 0000 0111 0000 0000 Screen Number Status Register (SNSR) This register stores the last screen number (includes sub screen) that the user opened (refer to D11 or $26 of Table 3-4-2).
  • Page 60 Chapter 3 Creating and Editing Screens Sampling History Buffer Status Register (HSSR) Corresponding Flag Corresponding Binary Display of Buffer Area Function Relative Position (x) Buffer Area 1 0000 0000 0000 000x Sampling History Buffer Status Flag 1 Buffer Area 2 0000 0000 0000 00x0 Sampling History Buffer Status Flag 2 Buffer Area 3 0000 0000 0000 0x00 Sampling History Buffer Status Flag 3...
  • Page 61 Chapter 3 Creating and Editing Screens  Clearing History Buffer Status Flag When clearing the history buffer, the clearing history buffer status flag will be set to be ON (Bits 0 to 11 is set to ON). After the clearing operation is completed, the clearing history buffer status flag will be OFF.
  • Page 62 Chapter 3 Creating and Editing Screens General Control Status Register 2 (GCSR2) Binary Display of Relative Function Position (x) 0000 0000 xxxx xxxx Multi-language Status Value 0000 000x 0000 0000 Printer Status Flag 0000 00x0 0000 0000 Printer Form Feed Status Flag 10-15 xxxx xx00 0000 0000 Reserved...
  • Page 63: Menu Bar And Toolbar (File)

    Chapter 3 Creating and Editing Screens Menu Bar and Toolbar (File) 3.5.1 Create a New Project. Creates a new project by choosing File > New (Fig. 2.3.2) or clicking the New icon from toolbar (Fig. 2.3.3), or pressing Ctrl + N. If this is the first time use and there is no old project, the following dialog box (Fig.
  • Page 64: Open

    Chapter 3 Creating and Editing Screens If other project files already exist and are open, the user will get the following dialog box to remind the user of saving project (Fig. 3-5-2) before creating new project. Press Yes button to save the existed file, press No button not to save the file and press Cancel button to cancel the save operation.
  • Page 65: Close

    Chapter 3 Creating and Editing Screens Fig. 3-5-4 Open an old project in ScrEdit 3.5.3 Close Close Project. Closes project by clicking File > Close. If project didn’t get saved before issuing the command of closing project, the user will get saving dialog box (Fig.
  • Page 66: Save As

    Chapter 3 Creating and Editing Screens 3.5.5 Save as Save current project to another file name by clicking File > Save As. The user will get Save as dialog box (Fig. 3-5-6) to input project name with extension file dpb. This dialog also appears automatically when the first time any project file is saved no matter whether Save As or Save command is used.
  • Page 67: Open Ext. Memory Data

    Chapter 3 Creating and Editing Screens Fig. 3-5-8 Make Ext. Memory Data dialog box 3.5.7 Open Ext. Memory Data To open the screen data, select File > Open Ext. Memory Data or press Ctrl+I. A dialog box is displayed and the user selects the file that the user wants to open. 3.5.8 Password Protect The user can enable and disable password protect function (Fig.
  • Page 68: Print

    Chapter 3 Creating and Editing Screens Fig. 3-5-10 Password protect function is disabled Fig. 3-5-11 Password settings – Security 3.5.9 Print Print current screen by choosing File > Print, or clicking the Print icon from toolbar, or pressing Ctrl + P. 3.5.10 Print Preview To preview the screen print before sending the image to the printer, select File >...
  • Page 69: Print Setup

    Chapter 3 Creating and Editing Screens Fig. 3-5-12 Print Preview dialog box 3.5.11 Print Setup To choose the printer and paper options, select File > Print Setup (Fig. 3-5-13). Fig. 3-5-13 Print Setup dialog box 3-48 Revision May, 2010...
  • Page 70: File Quick Access

    Chapter 3 Creating and Editing Screens 3.5.12 File Quick Access By default, ScrEdit presents a list of the four most recent used files on the File menu for quick access (Fig. 3-5-14). Just click the file name to open the file. This function is similar to the Open command and the user can refer to the description of Open command on the page 3-43.
  • Page 71: Menu Bar And Toolbar (Edit)

    Chapter 3 Creating and Editing Screens Menu Bar and Toolbar (Edit) Adopt pull-down menu similar to Microsoft Office style and provide user-friendly Edit pull-down menu. 3.6.1 Undo Undo the last action. Select this function by choosing Edit > Undo or clicking the Undo icon from toolbar, or pressing Ctrl + Z.
  • Page 72: Copy

    Chapter 3 Creating and Editing Screens 3.6.4 Copy Copy the selected element to the clipboard. Select this function by choosing Edit > Copy from menu bar or clicking the Copy icon from toolbar, or pressing Ctrl + C. 3.6.5 Paste Paste element from clipboard.
  • Page 73 Chapter 3 Creating and Editing Screens Find Find What: This field is where the user enters the word or phase that the user is looking for. Fig. 3-6-1 Find dialog box Options: Current Screen This causes ScrEdit to navigate the current screen only and find the matching word or phase that the user is looking for.
  • Page 74 Chapter 3 Creating and Editing Screens All Screen This causes ScrEdit to navigate all screens and find the word or phase that the user is looking for. The output window will display all matching words or phases. When the user double clicks the word or phase, ScrEdit will also jump to that location of the matching word or phase.
  • Page 75: Replace

    Chapter 3 Creating and Editing Screens Replace Find What: This field is where the user enters the word or phase that the user is looking for. Replace With: This field is where the user enters the word or phase that the user wants to replace with.
  • Page 76 Chapter 3 Creating and Editing Screens Data Type: Bit, WORD, DWORD If the Read Address or Write Address button is selected, it is needed to select if the replacing data type is Bit, Word, or Double Word. Filter (Replace Criteria) Element, Macro, Control Block, Status Block, History Buffer, Alarm and Recipe If the Read Address or Write Address button is selected, it is needed to select if the replace criteria are Element, Macro, Control Block, Status Block, History...
  • Page 77: Station Replace

    Chapter 3 Creating and Editing Screens Fig. 3-6-5 3.6.10 Station Replace This function is used to replace the designated station number (PLC unit number). Fig. 3-6-6 3.6.11 Group This command groups the selected elements. When the user groups two or more elements, they will become one unit.
  • Page 78: Ungroup

    Chapter 3 Creating and Editing Screens 3.6.12 Ungroup This command ungroups selected elements. To ungroup the elements, select Edit > Ungroup from menu bar or clicking the Ungroup icon from toolbar. 3.6.13 Order This command changes the stacking order of the selected elements. To change the order, select Edit >...
  • Page 79: Make Same Size

    Chapter 3 Creating and Editing Screens 3.6.15 Make Same Size This command makes the element to be the same size. The users must select one element first as reference object, and then select other elements. To use this function, select Edit > Make Same Size or click the make same size icons in the toolbar.
  • Page 80 Chapter 3 Creating and Editing Screens Fig. 3-6-7 Duplicate dialog box Fig. 3-6-8 Duplicate Example 1 3-59 Revision May, 2010...
  • Page 81 Chapter 3 Creating and Editing Screens Fig. 3-6-9 Duplicate Example 2 3-60 Revision May, 2010...
  • Page 82: Menu Bar And Toolbar (View)

    Chapter 3 Creating and Editing Screens Menu Bar and Toolbar (View) In View option, the user can decide how toolbars and docking windows display. Once the user clicks on it, it will have icon in front of it and display on screen. The user can also arrange these toolbars and docking windows by themselves.
  • Page 83 Chapter 3 Creating and Editing Screens Icon Function Description New Screen Create a new screen Open Screen Open an old screen Print Print current project About Screen editor version Table 3-7-1 Standard Toolbar Status Bar Following is the status bar of Screen Editor (Fig. 3-7-1). Function Download Connecting...
  • Page 84 Chapter 3 Creating and Editing Screens Icon Function Description Align Text to Top Align text to top The space at the top/bottom sides of Text Center Vertically text will be the same. Align Text to Bottom Align text to bottom Text Color Change text color Bold...
  • Page 85 Chapter 3 Creating and Editing Screens Element Toolbar Icon Function Description Button Meter Pipe 3-64 Revision May, 2010...
  • Page 86 Chapter 3 Creating and Editing Screens Icon Function Description Indicator Display Graphic Input Curve Sampling Alarm Keypad Table 3-7-4 Element Toolbar 3-65 Revision May, 2010...
  • Page 87 Chapter 3 Creating and Editing Screens Drawing Toolbar Icon Function Description Line Draw a line Rectangle Draw a rectangle Circle Draw a circle Polygon Draw a polygon Draw an arc Text Add paragraph text Scale Draw a scale drawing Table Create a table Table 3-7-5 Drawing Toolbar Layout Toolbar 1...
  • Page 88 Chapter 3 Creating and Editing Screens Icon Function Description Download Screen and Download screen data and recipe Recipe Download Screen Download screen data Test editing file at PC side and On-line Simulation connected to the controller Test editing file at PC side and not Off-line Simulation connected to the controller Table 3-7-6 Layout Toolbar 1...
  • Page 89 Chapter 3 Creating and Editing Screens Icon Function Description Make all the elements align in a consistent Down Space Evenly height Make the selected elements to be the Make Same Width same width Make the selected elements to be the Make Same Height same height Make the selected elements to be the...
  • Page 90: Property Table

    Chapter 3 Creating and Editing Screens 3.7.2 Property Table The Property Table displays the element property settings for each element (Fig. 3-7-2). Element state selection All elements on the current editing screen Fig. 3-7-2 Property Table and Editing Screen Preview 3-69 Revision May, 2010...
  • Page 91: Record And Output Window

    Chapter 3 Creating and Editing Screens 3.7.3 Record and Output Window The Re ord and Output Window displa ys all the editing actions and output message when compile function is enabled. When HMI program is compiled, the system will detect the program automatically.
  • Page 92: Zoom In

    Chapter 3 Creating and Editing Screens 3.7.4 Zoom In Zoom in to get a close look at the elements on ScrEdit work place (Fig. 3-7-7, Fig. 3-7-8). Fig. 3-7-7 Zoom level = 100% (Before Choosing Zoom In command) Fig. 3-7-8 Zoom level = 125% (After Choosing Zoom In command) 3-71 Revision May, 2010...
  • Page 93: Zoom Out

    Chapter 3 Creating and Editing Screens 3.7.5 Zoom Out Zoom out to see more look of the elements on ScrEdit work place (Fig. 3-7-9). Fig. 3-7-9 Zoom level = 75% (After Choosing Zoom Out command) 3.7.6 Actual Size Return to actual size (100%). This size is relative to the screen size of HMI. No matter zoom in or zoom out command, the zoom level could be 20%, 50%, 75%, 100%, 150%, 200% or 300%.
  • Page 94: I/O Screen

    Chapter 3 Creating and Editing Screens 3.7.7 Full Screen Refer to Fig. 3-7-11. Full screen provides maximum view to edit in ScrEdit. Full screen view will hide all toolbars and docking windows other than the ScrEdit work place itself. Fig. 3-7-11 full screen also shows the reference macro command.
  • Page 95: Grid Setup

    Chapter 3 Creating and Editing Screens 3.7.9 Grid Setup Grid Setup is a function that can help the user to align and position the element more easily and precisely. The distance (spacing) between the grid dots can be set by the user freely (Fig. 3-7-13 and Fig.
  • Page 96: Cross Reference Table

    Chapter 3 Creating and Editing Screens 3.7.10 Cross Reference Table When creating and editing various kinds of elements, often the same address is reused. To avoid this situation, HMi provides the cross reference table function for user’s convenience and quick reference. The user can view the read/write addresses of the selected element and see its relationship or connection with the addresses of other elements, macro commands or the system control area.
  • Page 97: Memory List

    Chapter 3 Creating and Editing Screens Fig. 3-7-16 Element Part List dialog box 3.7.12 Memory List There are four items in memory list: ROM: It is the location where recipe data and screen data are stored. SRAM: It is the location where non-volatile data is stored. When there are history and alarm, etc.
  • Page 98 Chapter 3 Creating and Editing Screens See below example. (1). See the memory space after a picture is imported. (2). See the memory space after a history data is created. (1). Import a picture When importing a picture on HMI screen, the memory space of ROM and SDRAM changes. When the user create a new project, the calculated memory space by the system is shown ROM=3.13% SDAM=0.71%...
  • Page 99 Chapter 3 Creating and Editing Screens (2). Create a history data In this case, the original occupied memory space is: ROM=7.29% SDAM=3.98% SRAM=0% External Storage=0% Create a two word history data as shown as the figure below. Ensure that this history data is stored in HMI (non-volatile area), i.e.
  • Page 100 Chapter 3 Creating and Editing Screens 3-79 Revision May, 2010...
  • Page 101 Chapter 3 Creating and Editing Screens If the history data is saved in USB Disk (External Storage), the occupied memory space is changed as follows: ROM=7.29% SDAM=3.98% SRAM=0% External Storage=110Bytes For more details setting on alarm and history data, please refer to the section 3.11.3 in Chapter 3.
  • Page 102: Menu Bar And Toolbar (Element)

    Chapter 3 Creating and Editing Screens Menu Bar and Toolbar (Element) 3.8.1 Create an Element There are four methods for choosing elements when editing the screens: 1. Right-click the mouse in the work place and a shortcut menu will display as Fig. 3-8-1. The user can choose the desired elements by the mouse.
  • Page 103 Chapter 3 Creating and Editing Screens Fig. 3-8-2 Choose Element command from menu bar Fig. 3-8-3 Choose Element icon from toolbar 3-82 Revision May, 2010...
  • Page 104 Chapter 3 Creating and Editing Screens Fig. 3-8-4 Choose Element icon from Object dialog box After selecting an element, left-click and drag the mouse on work place, and then a new element is created. Fig. 3-8-5 Drag the mouse on work place to determine the element size 3-83 Revision May, 2010...
  • Page 105 Chapter 3 Creating and Editing Screens Fig. 3-8-6 Create an element How to Create an Element To create an element on HMI screen, first select a desired elemet from menu bar or toolbar and then click the starting point on the screen. While holding down the mouse button, move the mouse diagonally to the ending point of the element, then release the mouse button.
  • Page 106 Chapter 3 Creating and Editing Screens Fig. 3-8-8 Select a desired element from menu bar Fig. 3-8-9 Left-click and drag the mouse on work place then release the mouse button 3-85 Revision May, 2010...
  • Page 107 Chapter 3 Creating and Editing Screens Fig. 3-8-10 An element is created How to Move an Element The user can use the mouse to move an element. Mouse operation is the same as working in Windows® operating system. When the mouse cursor changes to a four-arrow icon , the user can left-click the mouse and move the element freely (Fig.
  • Page 108 Chapter 3 Creating and Editing Screens How to Change Element Width The user can use the mouse to modify the width of an element. When the mouse cursor changes to a two-arrow icon , the user can left-click the mouse and modify the element width (Fig.
  • Page 109 Chapter 3 Creating and Editing Screens How to Change Element Width and Height Simultaneously The user can use the mouse to modify the width and height of an element simultaneously. When the mouse cursor changes to a two-arrow icon , the user can left-click the mouse and modify the element width and height at the same time (Fig.
  • Page 110 Chapter 3 Creating and Editing Screens How to Input Characters The user can input a string of characters that Windows® operating system accepts in the property table. When the mouse cursor changes to an icon , the user can start to input any characters that Windows®...
  • Page 111 Chapter 3 Creating and Editing Screens Right-click the Mouse The user can find that different menu will pop up when right-clicking the mouse (Fig. 3-8-16, Fig. 3-8-17, Fig. 3-8-18). Fig. 3-8-16 Right-click the mouse on Toolbar - Toolbars docking window 3-90 Revision May, 2010...
  • Page 112 Chapter 3 Creating and Editing Screens Fig. 3-8-17 Right-click the mouse on Work Place - Element Selection Fig. 3-8-18 Right-click the mouse on the element - Editing options (Layout Toolbar) 3-91 Revision May, 2010...
  • Page 113: Button Elements

    Chapter 3 Creating and Editing Screens 3.8.2 Button Elements Fig. 3-8-19 Button Elements Table 3-8-1 Button Elements Button Type Macro Read Write Function After pressing this button, the state of the setting address (Bit) will always be set to ON. If there is an ON Macro, it will be executed simultaneously.
  • Page 114 Chapter 3 Creating and Editing Screens Button Type Macro Read Write Function After pressing this button, the state of the setting address (Bit) will be set to ON and execute ON Macro at Momentary the same time. When pressing the button again, the state of the setting address will be OFF and execute OFF Macro simultaneously.
  • Page 115: Set / Reset / Maintained / Momentary Buttons

    Chapter 3 Creating and Editing Screens Button Type Macro Read Write Function Enter After pressing this button, the user can enter the Password password. Contrast After pressing this button, the user can adjust the Brightness contrast brightness of HMI. Press this button one time to change the user security Low Security level to the lowest level (LEVEL 0).
  • Page 116 Chapter 3 Creating and Editing Screens Property Description of General Buttons Write Address Read Address The link type can be Base Port (Controller) or Internal Memory or Internal Parameter. If the user is connecting to multi connections, the new connections will be added into the “Link” drop-down list. After selecting the Link option and Device Type, and correct address, press the Enter key, the corresponding numeric value will be recorded on the element that the user selected.
  • Page 117 Chapter 3 Creating and Editing Screens Property Description of General Buttons Edit On and Off Macro is available. When pressing the button, the state of the button will be ON and the commands of ON Macro will be executed simultaneously. When pressing the button again, the state of the button will be changed to OFF and the commands of Edit On/Off Macro OFF Macro will be executed simultaneously.
  • Page 118 Chapter 3 Creating and Editing Screens Property Description of General Buttons The element can blink to remind the user. The user can decide if the element blinks or not when the button is set to be ON or OFF state. The blinking color is the relative color of the button’s state.
  • Page 119 Chapter 3 Creating and Editing Screens Property Description of General Buttons In this dialog box, the user can double click the mouse to select an element. The user can also press Ctrl and left key of the mouse to import several pictures into the designated element at the same Bank time.
  • Page 120 Chapter 3 Creating and Editing Screens Property Description of General Buttons The user can modify the element characteristic directly without re-create a new element. The elements that their characteristics Function can be modified directly by using this option are: Set button, Reset button, Momentary button and Maintained button these four kinds of buttons.
  • Page 121: Multistate Button

    Chapter 3 Creating and Editing Screens 3.8.2.2 Multistate Button Property Description of Multistate Buttons Multistate buttons accept three kinds units, WORD, LSB and Bit and the state number will be different by the unit. There are 1-256 states if its unit is WORD, 16 states if its unit is LSB and 2 states if its unit is Bit.
  • Page 122 Chapter 3 Creating and Editing Screens Property Description of Multistate Buttons Use this option to force the current priority to be the lowest after Set Low Security the button is pressed. This can prevent the misoperation made by the user (operator). InterLock Address When InterLock Address is set to be ON or OFF (this is determined InterLock Level...
  • Page 123: Set Value Button

    Chapter 3 Creating and Editing Screens 3.8.2.3 Set Value Button Property Description of Set Value Buttons After pressing this button on the screen, a system built-in numeric keypad (TEN-KEY) will show up and the user can use it to input the setting value directly. When ENTER key is pressed, HMI will send the input setting value to PLC corresponding register.
  • Page 124 Chapter 3 Creating and Editing Screens Property Description of Set Value Buttons It provides different kinds of data format for different data length: Word Double Word 1. BCD 1. BCD 2. Signed BCD 2. Signed BCD Data Format 3. Signed Decimal 3.
  • Page 125: Set Constant Button

    Chapter 3 Creating and Editing Screens Property Description of Set Value Buttons When this option is set, an Error dialog box will appear to prompt the user the input value has exceeded the limit of the range setting. Info the overrange message When this option is set to On, this button element will be Invisible Address...
  • Page 126 Chapter 3 Creating and Editing Screens Property Description of Set Constant Buttons The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 127: Increment / Decrement

    Chapter 3 Creating and Editing Screens Property Description of Set Constant Buttons If this option is set, when the user presses the button, the system will perform the operation of this button first and then execute the After Execute command of this macro. But, if the state of the button is not Macro triggered by pressing the button (via macro or external signal), the command of this macro will not be executed.
  • Page 128 Chapter 3 Creating and Editing Screens Property Description of Increment / Decrement Buttons The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 129: Goto Screen / Previous Page

    Chapter 3 Creating and Editing Screens Property Description of Increment / Decrement Buttons If this option is set, when the user presses the button, the system will execute the command of this macro first and then perform the Before Execute operation of this button.
  • Page 130 Chapter 3 Creating and Editing Screens Property Description of Goto Screen / Previous Page Buttons The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 131 Chapter 3 Creating and Editing Screens Property Description of Goto Screen / Previous Page Buttons When clicking this option, the following dialog box will pop up: Goto Screen In this “Open Screen” dialog box, the user can select the desired screen from left side and the preview screen will display on the right side.
  • Page 132: System Datetime/Password Table Setup/Enter Password/Contrast

    Chapter 3 Creating and Editing Screens 3.8.2.7 System DateTime/Password Table Setup/Enter Password/Contrast Brightness/Low Security/System Menu/Report List/Screen Capture/Remove Storage/Import&Export Recipe/Calibration/Language Changer Property Description of System Function Buttons Text The user can set the text, text size, font and text color provided by Text Size Windows®...
  • Page 133 Chapter 3 Creating and Editing Screens Property Description of System Function Buttons Even though the user can open Password Table, it only indicates that the user can change the password that level is lower than the users’. The user still cannot change or view those passwords that are higher than the users’.
  • Page 134 Chapter 3 Creating and Editing Screens Property Description of System Function Buttons This button provides HMI a password input interface. It will open the corresponding priority by the input Enter Password password. The higher level the user inputs, the higher priority the user has.
  • Page 135 Chapter 3 Creating and Editing Screens Property Description of System Function Buttons After pressing this button, the screen data can be captured and output to USB disk (BMP files). The file output designation is located on USB disk. If a USB disk is not connected, the captured data cannot be output by HMI successfully.
  • Page 136 Chapter 3 Creating and Editing Screens Property Description of System Function Buttons The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 137 Chapter 3 Creating and Editing Screens Property Description of System Function Buttons If this option is set, when the user presses the button, the system will execute the command of this macro first and then perform the Before Execute operation of this button. But, if the state of the button is not Macro triggered by pressing the button (via macro or external signal), the command of this macro will not be executed.
  • Page 138: Meter Elements

    Chapter 3 Creating and Editing Screens 3.8.3 Meter Elements Fig. 3-8-20 Meter Elemets Property Description of Meter Elments The user can set meter appearance in the property table, such as the style, the color (including border color, background color, stitch color, scale color) and the scale region number, etc.
  • Page 139 Chapter 3 Creating and Editing Screens Property Description of Meter Elements When the user has input the target value, minimum and maximum value, after pressing OK button, HMI will examine the value by referring to the selected data length, data format, integral and fractional digits. Setting Data Length There are 16bits Word and 32bits Double Word two...
  • Page 140 Chapter 3 Creating and Editing Screens Property Description of Meter Elements The user can decide if the target value display or not by using this option. If this option is set, the target value and its color set by the user will display just like the figure shown below: (Here we set the target value Target Value is 60 and its color is in blue.)
  • Page 141: Bar Elements

    Chapter 3 Creating and Editing Screens 3.8.4 Bar Elements Fig. 3-8-21 Bar Elements 3.8.4.1 Normal Property Description of Normal Bar Elements HMI reads the value of the corresponding PLC specific address (register) and converts the value to normal bar element and then displays it on the screen. The address can be internal memory or the controller address.
  • Page 142 Chapter 3 Creating and Editing Screens Property Description of Normal Bar Elements When the user has input the target value, low & high limit, and minimum & maximum value, after pressing OK button, HMI will examine the value by referring to the selected data length and data format.
  • Page 143: Differential

    Chapter 3 Creating and Editing Screens Property Description of Normal Bar Elements This option is available and displayed in the property table only when the “Ranges” option in the Detail dialog box is selected. If the user sets the low limit value is 30 and the color of low limit region is in Low Region green, and then set the high limit value is 70 and the color of high Color...
  • Page 144 Chapter 3 Creating and Editing Screens Property Description of Differential Bar Elements Standard Raised Sunken Style Horizontal: The differential value display horizontally. Display Format Vertical: The differential value display vertically. Data Length: There are 16bits Word and 32bits Double Word two options. Memory Format: here are following data format provided:...
  • Page 145 Chapter 3 Creating and Editing Screens Property Description of Differential Bar Elements For example, if the data length is set to Word, the data format is set to Unsigned Decimal, standard value is set to 50, minimum value is set to 0, maximum value is set to 100 and differential limit is set to 30, the differential bar element will be shown as the figures below: Setting...
  • Page 146: Pipe Elements

    Chapter 3 Creating and Editing Screens 3.8.5 Pipe Elements Fig. 3-8-22 Pipe Elements 3.8.5.1 Pipe(1)/Pipe(2) Property Description of Pipe (1) / Pipe (2) Elements HMI reads the value of the corresponding address (register). Then, convert the value to Pipe (1) / Pipe (2) element and then display it on the screen. The address can be internal memory or the controller address.
  • Page 147 Chapter 3 Creating and Editing Screens Property Description of Pipe (1) / Pipe (2) Elements Data Length: There are 16bits Word and 32bits Double Word two options. Memory Format: here are following data format provided: Word/Double Word Signed BCD Signed Decimal Unsigned Decimal Setting Minimum Value...
  • Page 148: Pipe(3)

    Chapter 3 Creating and Editing Screens Property Description of Pipe (1) / Pipe (2) Elements This option is available and displayed in the property table only when the “Ranges” option in the Detail Setup dialog box is selected. If the user sets the low limit value is 20 and the color of low limit region is in green, and then set the high limit value is 80 and the Low Region Color color of high limit region is in red, the pipe element will be shown as...
  • Page 149: Pipe(4)

    Chapter 3 Creating and Editing Screens 3.8.5.3 Pipe(4) Property Description of Pipe (4) Element It is used to connect to water pipe element. Pipe (4) element is shown as the figure below: Pipe Gauge: Use this option to set the pipe gauge. The selectable range is from 1 ~ 5. The setting value 1 represents at least 13 pixels and the setting value 2 represents at least 26 pixels and vise versa.
  • Page 150: Pipe(6)/Pipe(7)

    Chapter 3 Creating and Editing Screens 3.8.5.5 Pipe(6)/Pipe(7) Property Description of Pipe (6) / Pipe (7) Element Horizontal and vertical pipes. It is used to display the direction of water flow. The address can be internal memory or the controller address. (Please refer to Table 3-8-2 Property Description of General Buttons.) The user can decide if the read address is set or not.
  • Page 151: Pie Elements

    Chapter 3 Creating and Editing Screens 3.8.6 Pie Elements Fig. 3-8-23 Pie Elements Property Description of Pie Elements There are four kinds of Pie elements for the user to select. The user can use the element property table to set the minimum & maximum value, low & high limit and element color, etc.
  • Page 152 Chapter 3 Creating and Editing Screens Property Description of Pie Elements Data Length: There are 16bits Word and 32bits Double Word two options. Memory Format: here are following data format provided: Word/Double Word Signed BCD Signed Decimal Unsigned Decimal Min. Value / Max. Value: Used to set the display minimum and maximum value.
  • Page 153 Chapter 3 Creating and Editing Screens Property Description of Pie Elements This option is available and displayed in the property table only when the “Ranges” option in the Detail Setup dialog box is selected. If the user sets the low limit value is 20 and the color of low limit region is in green, and then set the high limit value is 80 and the color of high limit region is in Low Region red, the pie element will be shown as the figures below (The min.
  • Page 154: Indicator Elements

    Chapter 3 Creating and Editing Screens 3.8.7 Indicator Elements Fig. 3-8-24 Indicator Elements 3.8.7.1 Multistate Indicator Property Description of Multistate Indicator Element Multistate indicator provides a method to indicate the state of some specific address. It will send state changes message to user no matter it is Bit, LSB or WORD. If this address is an significant indicator or important message or important alarm, it can be used to inform the user immediately by changing state display method or different text setting.
  • Page 155: Range Indicator

    Chapter 3 Creating and Editing Screens Property Description of Multistate Indicator Element Indicator element can have two states. Data Length Word Indicator element can have 256 states. Indicator element can have 16 states. It provides BCD, Signed Decimal, Unsigned Decimal and Hex four Data Format kinds of data format to display the read memory content.
  • Page 156 Chapter 3 Creating and Editing Screens Property Description of Range Indicator Element Foreground Color (Please refer to Table 3-8-2 Property Description of General Style Buttons.) Add/Remove It is used to set the state numbers of range indicator. 1~256 states State can be set.
  • Page 157: Simple Indicator

    Chapter 3 Creating and Editing Screens Property Description of Range Indicator Element Used to set X coordinate Used to set Y coordinate Width Used to set the element width Height Used to set the element height 3.8.7.3 Simple Indicator Property Description of Simple Indicator Element For the user’s convenience, simple indicator provides two states (ON/OFF) to let the user change the XOR color of the base picture quickly.
  • Page 158: Data Display Elements

    Chapter 3 Creating and Editing Screens 3.8.8 Data Display Elements Fig. 3-8-25 Data Display Elements 3.8.8.1 Numeric Display Property Description of Numeric Display Element This element will read the value of the setting address and display the read value immediately in the format set by the user. The address can be internal memory or the controller address.
  • Page 159 Chapter 3 Creating and Editing Screens Property Description of Numeric Display Element There are 16bits Word and 32bits Double Word Date Length two options. There are following data format provided: Word Double Word 1. BCD 2. Signed BCD Signed BCD Data Format 3.
  • Page 160: Character Display

    Chapter 3 Creating and Editing Screens Property Description of Numeric Display Element If this option is selected, the element can be displayed immediately when switching the screen. Please note that this function is designed to provide fast value refresh speed for the element which performs communication frequently.
  • Page 161 Chapter 3 Creating and Editing Screens Property Description of Character Display Element The range is with 1 ~ 28 words. Set the read address as Internal Memory 0, i.e. $0, set the string length to 6, and create three Numeric Entry elements. Then, set the data format of these three Numeric Entry elements as hexadecimal and enter the value as follows: $0 = 4241(Hex)
  • Page 162: Date Display

    Chapter 3 Creating and Editing Screens Property Description of Character Display Element If this option is selected, the element can be displayed immediately when switching the screen. Please note that this function is designed to provide fast value refresh speed for the element which performs communication frequently.
  • Page 163: Time Display

    Chapter 3 Creating and Editing Screens 3.8.8.4 Time Display Property Description of Time Display Element Display HMI system time. There are several time formats selectable for the user to use. The user can set the text size and text color that provided by HMI to Text Size determine the text display on the element.
  • Page 164: Prestored Message

    Chapter 3 Creating and Editing Screens 3.8.8.6 Prestored Message Property Description of Prestored Message Element Display the state content of PLC corresponding contact or register directly. The user can set state number and text for each state. The address can be internal memory or the controller address. Read Address (Please refer to Table 3-8-2 Property Description of General Buttons.)
  • Page 165 Chapter 3 Creating and Editing Screens Property Description of Moving Sign Element Text The user can set the text, text size, font and text color provided by Text Size Windows® to determine the text display on the element (Please Font refer to Table 3-8-2 Property Description of General Buttons.) Text Color Border Color...
  • Page 166: Graph Display Elements

    Chapter 3 Creating and Editing Screens 3.8.9 Graph Display Elements Fig. 3-8-26 Graph Display Elements 3.8.9.1 State Graphic Property Description of Static Graphic Element When HMI is connected to the controller, the user can create static graphic elements to read the value of several read addresses controlled by the controller. The read value of each state can be converted and transmitted to the static graphic elements and display respectively on the HMI screen.
  • Page 167 Chapter 3 Creating and Editing Screens Property Description of Static Graphic Element When this option is selected, the value of the read address will be regarded as the state number. It means that the state number is determined by the value of the read address.
  • Page 168: Animated Graphic

    Chapter 3 Creating and Editing Screens Property Description of Static Graphic Element If Yes is selected, it indicates that this element will be displayed in transparent color. It is usually used with the transparent color setting of the element. Please refer to the following example elements: Transparent The transparent...
  • Page 169 Chapter 3 Creating and Editing Screens Property Description of Animated Graphic Element Use the value of Read Address to switch the Read Address state of animated graphic element. Use the value of Read Address+1 to be the Read Address+1 horizontal axis position of the animated Read Address graphic element.
  • Page 170: Dynamic Line

    Chapter 3 Creating and Editing Screens 3.8.9.3 Dynamic Line Property Description of Dynamic Line Element The dynamic line element can be changed and moved depending on the value of the corresponding contact or register. The address can be internal memory or the controller address. (Please refer to Table 3.2.2 Property Description of General Buttons.) The value of the Read Address can be used...
  • Page 171: Dynamic Rectangle

    Chapter 3 Creating and Editing Screens Property Description of Dynamic Line Element Line Color Used to set the display color of the dynamic line element. The element can blink to remind the user. (Please refer to Table Blink 3-8-2 Property Description of General Buttons.) Line Size The unit is Pixel and the range is within 1 ~ 8.
  • Page 172 Chapter 3 Creating and Editing Screens Property Description of Dynamic Rectangle Element The value of the Read Address+2 can be used only when Variable Size option is set to Yes. It Read Address +2 is used to represent the right-bottom horizontal position (Right) of the element, i.e.
  • Page 173: Dynamic Ellipse

    Chapter 3 Creating and Editing Screens Property Description of Dynamic Rectangle Element When this option is selected, the element will display only with the Transparent border and there is no color in the element. The Foreground Color option will be disabled also. 0~38 pixels round radius are provided for selection.
  • Page 174 Chapter 3 Creating and Editing Screens Property Description of Dynamic Ellipse Element The value of the Read Address+3 can be used only when Variable Radius option is set to Yes. Read Address +3 It is used to represent the vertical radius of the element, i.e.
  • Page 175: Real Image

    Chapter 3 Creating and Editing Screens Property Description of Dynamic Ellipse Element Used to set X coordinate Used to set Y coordinate Width Used to set the element width Height Used to set the element height 3.8.9.6 Real Image Property Description of Real Image Element 1.
  • Page 176 Chapter 3 Creating and Editing Screens Property Description of Real Image Element (6) int hmAbortAction(); (7) int hmClose(); 4. Brief Explanation of the commands (1) Command: int hmOpen(const COMM_INFO* pCommInfo); Input Value: COMM_INFO structure Return Value: 1: Succeeded , 0: Failed Explanation: Enable HMI communication.
  • Page 177 Chapter 3 Creating and Editing Screens Property Description of Real Image Element Explanation: After converting the input image format into the width and height of the element, and Bit value, the system will start to transmit the image to HMI. This command is an asynchronous command.
  • Page 178: Input Elements

    Chapter 3 Creating and Editing Screens 3.8.10 Input Elements Fig. 3-8-27 Input Elements 3.8.10.1 Numeric Entry Property Description of Numeric Entry Elements After pressing this numeric entry element on the screen, a system built-in numeric keypad (TEN-KEY) will show up and the user can use it to input the setting value directly.
  • Page 179 Chapter 3 Creating and Editing Screens Property Description of Numeric Entry Elements The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 180 Chapter 3 Creating and Editing Screens Property Description of Numeric Entry Elements Adjust the system keypad size Set the height of the title bar Set the font size Edit System Keypad Set the font Set the font color Set the background color Return to the default setting The user can set the minimum and maximum of input Minimum...
  • Page 181 Chapter 3 Creating and Editing Screens Property Description of Numeric Entry Elements Use this option to set the user priority for pressing this element. User Security Only the priority that is equal to or higher than the current setting Level can use this element.
  • Page 182: Character Entry

    Chapter 3 Creating and Editing Screens Property Description of Numeric Entry Elements If this option is set, when the user presses the button, the system will perform the operation of this button first and then execute the After Execute command of this macro. But, if the state of the button is not Macro triggered by pressing the button (via macro or external signal), the command of this macro will not be executed.
  • Page 183 Chapter 3 Creating and Editing Screens Property Description of Character Entry Elements Character Length The range is with 1 ~ 28 words. The default setting is 4words. The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type...
  • Page 184 Chapter 3 Creating and Editing Screens Property Description of Character Entry Elements If YES is selected, the screen will show as the following figure when inputting the setting value. Display Asterisk If this option is selected, the element can be displayed immediately when switching the screen.
  • Page 185: Barcode Input

    Chapter 3 Creating and Editing Screens Property Description of Character Entry Elements If this option is set, when the user presses the button, the system will perform the operation of this button first and then execute the After Execute command of this macro. But, if the state of the button is not Macro triggered by pressing the button (via macro or external signal), the command of this macro will not be executed.
  • Page 186 Chapter 3 Creating and Editing Screens Property Description of Character Barcode Input Elements The user can use this setting to trigger the designated controller address to be ON before or after writing the setting value. Please Trigger note that this function can only trigger the controller address to be Trigger Type ON.
  • Page 187 Chapter 3 Creating and Editing Screens Property Description of Character Barcode Input Elements If YES is selected, the screen will show as the following figure when inputting the setting value. Display Asterisk If this option is selected, the element can be displayed immediately when switching the screen.
  • Page 188 Chapter 3 Creating and Editing Screens Property Description of Character Barcode Input Elements If this option is set, when the user presses the button, the system will perform the operation of this button first and then execute the After Execute command of this macro.
  • Page 189: Curve Elements

    Chapter 3 Creating and Editing Screens 3.8.11 Curve Elements Fig. 3-8-28 Curve Elements 3.8.11.1 Trend Graph Property Description of Trend Graph Elements The first step for setting trend graph is to set the curve number in “Curve Field Total” option (range is 1~4) in property table. Then, setting the read address, read format, curve width and color in “Detail Setup”...
  • Page 190 Chapter 3 Creating and Editing Screens Property Description of Trend Graph Elements Sample Number can be set to a constant or a variable value. When Sample Number is a constant: The sample number represents a curve which is Setting composed of the data of several addresses (registers).
  • Page 191 Chapter 3 Creating and Editing Screens Property Description of Trend Graph Elements Please note that when the sample number is a constant, the Max. Sample Number option is disabled. When Sample Number is a variable value: When the sample number is set to the address Sample Number (register), the sample number is a variable value.
  • Page 192: X-Ychart

    Chapter 3 Creating and Editing Screens Property Description of Trend Graph Elements Used to the display line width. The range is within 1 Line Size Setting ~ 8 and the unit is pixel. Line Color Used to set the display line color. Please refer to the figure below.
  • Page 193 Chapter 3 Creating and Editing Screens Property Description of X-Y Chart Elements Setting Sample Number can be set to a constant or a variable value. When Sample Number is a constant: The sample number represents a curve which is composed of the data of several addresses (registers).
  • Page 194 Chapter 3 Creating and Editing Screens Property Description of X-Y Chart Elements Please note that when the sample number is a constant, the Max. Sample Number option is disabled. Sample Number When Sample Number is a variable value: Max. Sample When the sample number is set to the address Number (register), the sample number is a variable value.
  • Page 195 Chapter 3 Creating and Editing Screens Property Description of X-Y Chart Elements The address can be internal memory or the controller address. (Please refer to Table 3.2.2 Property Description of General Buttons.) The X-Y chart will continuously read numbers of Vert.
  • Page 196: X-Y Distribution

    Chapter 3 Creating and Editing Screens 3.8.11.3 X-Y Distribution Property Description of X-Y Distrubution Elements HMI will read and convert non- consecutive or consecutive data of the setting addressto a X-Y distribution graph on the screen. This function is used to read the values of the internal memory addresses and display on HMI screen statically.
  • Page 197 Chapter 3 Creating and Editing Screens Property Description of X-Y Distrubution Elements The address can be internal memory or the controller address. (Please refer to Table 3.2.2 Property Description of General Buttons.). The user can set the function is to sample or clear. Control When BIT 0 is turned ON (OFF ON) , it indicates...
  • Page 198 Chapter 3 Creating and Editing Screens Property Description of X-Y Distrubution Elements Used to determine if a line is connected between the distribution points. It can be an internal Conjunction memory, PLC address or constant. 0: Without a line; 1: With a line Used to set the minimum and maxmum value of X Min.
  • Page 199: Sampling Elements

    Chapter 3 Creating and Editing Screens 3.8.12 Sampling Elements Fig. 3-8-29 Sampling Elements 3.8.12.1 Historical Trend Graph Property Description of Historical Trend Graph Elements Property Description of Historical Trend Graph Element The below element background color is set to black and its border color Border Color Background...
  • Page 200 Chapter 3 Creating and Editing Screens Property Description of Historical Trend Graph Elements Word 1. BCD 2. Signed BCD 3. Signed Decimal 4. Unsigned Decimal 5. Hex 6. Floating Data Please note that if the data format is selected as Format Floating, the Data Length option in the History Setup dialog box must be greater than or equal to 2words...
  • Page 201 Chapter 3 Creating and Editing Screens Property Description of Historical Trend Graph Elements If this option is selected, the following curve options are Enable enabled and can be set. It is used to set the reading Word data when triggering every time.
  • Page 202: Historical Data Table

    Chapter 3 Creating and Editing Screens 3.8.12.2 Historical Data Table Property Description of Historical Data Table Elements Convert the history data to numeric data and display on HMI screen by a data table. The read address in the History Setup dialog box needs to be set and its data length should be in several words.
  • Page 203 Chapter 3 Creating and Editing Screens Property Description of Historical Data Table Elements Time/Date Time Provide HH:MM:SS, HH:MM two kinds of formats. Format Provide MM/DD/YY, DD/MM/YY, DD.MM.YY, Date YY.MM.DD, YY/MM/DD, MM.DD, MM/DD seven kinds Format of formats. When time or date format is selected, the user can use Color this option to designate the display color.
  • Page 204: Historical Event Table

    Chapter 3 Creating and Editing Screens 3.8.12.3 Historical Event Table Property Description of Historical Event Table Elements Property Description of Historical Event Table Element The user can set the text, text size, font and text color provided by Text Windows® to determine the text display on the element (Please refer Text Size to Table 3-8-2 Property Description of General Buttons.) Font...
  • Page 205 Chapter 3 Creating and Editing Screens Property Description of Historical Event Table Elements Use this option to set the number (No.1 ~ No.X) of history buffer for reading the data of PLC corresponding address. The user can press the Buffer ID History Buffer Setup button or click Option >...
  • Page 206: Alarm Elements

    Chapter 3 Creating and Editing Screens 3.8.13 Alarm Elements Fig. 3-8-30 Alarm Elements 3.8.13.1 Alarm History Table Property Description of Alarm History Table Elements HMI will monitor and read the read address in a fixed time automatically. If some certain Bit contact of the address is ON or OFF, the alarm message will be converted to Alarm History Table element and display on the screen.
  • Page 207: Active Alarm List

    Chapter 3 Creating and Editing Screens Property Description of Alarm History Table Elements If this option is selected, when the alarm occurs, the alarm number that is designated in Alarm Setup dialog box will also be shown in front of the alarm message. Please refer to the figures below: Alarm Number...
  • Page 208 Chapter 3 Creating and Editing Screens Property Description of Active Alarm List Elements Time Format Provide HH:MM:SS, HH:MM two kinds of formats. Provide MM/DD/YY, DD/MM/YY, DD.MM.YY, Setting Date Format YY.MM.DD, YY/MM/DD, MM.DD, MM/DD seven kinds of formats. If this option is selected, when the alarm occurs, the alarm number for the alarm message will always be Alarm shown ahead.
  • Page 209: Alarm Frequency Table

    Chapter 3 Creating and Editing Screens 3.8.13.3 Alarm Frequency Table Property Description of Alarm Frequency Table Elements HMI will monitor and read the read address in a fixed time automatically. If some certain Bit contact of the address is ON or OFF, the ON or OFF frequency of the contact will be converted to Alarm Frequency Table element and display on the screen.
  • Page 210: Alarm Moving Sign

    Chapter 3 Creating and Editing Screens Property Description of Alarm Frequency Table Elements Used to set X coordinate Used to set Y coordinate Width Used to set the element width Height Used to set the element height 3.8.13.4 Alarm Moving Sign Property Description of Alarm Moving Sign Elements HMI will monitor and read the read address in a fixed time automatically.
  • Page 211 Chapter 3 Creating and Editing Screens Property Description of Alarm Moving Sign Elements If this option is selected, when the alarm occurs, the alarm number that is designated in Alarm Setup dialog Alarm box will also be shown in front of the alarm message. Please refer to the figures below: Number Setting...
  • Page 212: Keypad Elements

    Chapter 3 Creating and Editing Screens 3.8.14 Keypad Elements Fig. 3-8-31 Keypad Elements Property Description of Keypad (1) / (2) / (3) Elements Provide three kinds of default keypad elements for selection. The user can select decimal, hexadecimal or character these three kinds of keypad according to difference application requirement.
  • Page 213 Chapter 3 Creating and Editing Screens Property Description of Keypad (1) / (2) / (3) Elements When the “Text” option is inputted as number “1”, the display text on the button will be “1”. If the user refines it as number “2”, the display text will be changed to “2”. If it is refined as character “A”, the display text will be changed to “A”.
  • Page 214 Chapter 3 Creating and Editing Screens Property Description of Keypad (1) / (2) / (3) Elements Bank (Picture Bank) (Please refer to Table 3-8-2 Property Description of General Picture Name Buttons.) Transparent Effect (Please refer to Table 3-8-2 Property Description of General Transparent Color Buttons.) There are Standard and Raised these two options.
  • Page 215: Drawing Elements

    Chapter 3 Creating and Editing Screens 3.8.15 Drawing Elements Fig. 3-8-32 Drawing Elements 3.8.15.1 Line Property Description of Line Drawing Elements Left-click the mouse to draw and edit the line graphic element. The user can click where the user wants to start the line and drag across the work place on the screen. Then, release the mouse to finish the line.
  • Page 216: Rectangle

    Chapter 3 Creating and Editing Screens 3.8.15.2 Rectangle Property Description of Rectangle Drawing Element Left-click the mouse to draw and edit the rectangle graphic element. The user can drag the mouse across work place on the screen until the rectangle is the size that the user wants.
  • Page 217: Circle

    Chapter 3 Creating and Editing Screens 3.8.15.3 Circle Property Description of Circle Drawing Element The user can draw an ellipse or circle by using this option. The user can drag the mouse across work place on the screen until the ellipse or circle is the size that the user wants.
  • Page 218 Chapter 3 Creating and Editing Screens Property Description of Circle Drawing Element An ellipse that its “Transparent” setting in the property table is set to “Yes”. Curve Color It is used to set the line color of the circle graphic element. Foreground Color It is used to set the display color of the circle graphic element.
  • Page 219: Polygon

    Chapter 3 Creating and Editing Screens 3.8.15.4 Polygon Property Description of Polygon Drawing Element Left-click the mouse to determine each node of the polygon graphic element. The user can click where the user wants to place the first node and drag the mouse across work place on the screen until the next node is decided and left-click the mouse again to determine the position of the next node.
  • Page 220: Arc

    Chapter 3 Creating and Editing Screens 3.8.15.5 Arc Property Description of Arc Drawing Element Left-click the mouse to draw and edit the arc graphic element. The user can click where the user wants to start the arc and drag across the work place on the screen. Then, release the mouse to finish the arc.
  • Page 221: Text

    Chapter 3 Creating and Editing Screens 3.8.15.6 Text Property Description of Text Drawing Element This text graphic element is used to create a text frame, and add and edit the text on the screen. The user can drag the mouse across work place on the screen until the text frame is the size that the user wants and release the mouse to finish.
  • Page 222: Scale

    Chapter 3 Creating and Editing Screens 3.8.15.7 Scale Property Description of Scale Drawing Element The user can change the scale direction, main and sub scale number, and grid color in the property table to create a special and unique scale graphic element. The “Display Mark”...
  • Page 223 Chapter 3 Creating and Editing Screens Property Description of Scale Drawing Element There are following data format provided: Word/Double Word Data Format 1. BCD 2. Signed Decimal 3. Unsigned Decimal The user can set the minimum and maximum of input Minimum setting value to determine the range of input setting Maximum...
  • Page 224: Table

    Chapter 3 Creating and Editing Screens 3.8.15.8 Table Property Description of Table Drawing Element The user can change the cell numbers of the table, appearance and color in the property table to create a special and unique table graphic element. If it is used with other elements, each element will display more completely on the screen.
  • Page 225 Chapter 3 Creating and Editing Screens Property Description of Table Drawing Element It is used to the color of the interlacing column header of the table. The user can enable or disable Columns Header this option by checking the check box next to Setting “Columns Header”.
  • Page 226: Menu Bar And Toolbar (Screen)

    Chapter 3 Creating and Editing Screens Menu Bar and Toolbar (Screen) In Screen options, ScrEdit provides some screen editing functions. 3.9.1 New Screen Create a new screen. The user can choose Screen > New Screen or click the New Screen icon , or press Shift + N to open a new editing screen.
  • Page 227: Screen Management

    Chapter 3 Creating and Editing Screens Fig. 3-9-2 Open Screen dialog box 3.9.3 Screen Management When Screen Management function is enabled (Fig. 3-9-3), the user can duplicate, paste and cut the screen using the mouse, just like the function of Windows Explorer in Windows® operating system.
  • Page 228 Chapter 3 Creating and Editing Screens Fig. 3-9-3 Screen Management dialog box Fig. 3-9-4 Right-click the mouse 3-207 Revision May, 2010...
  • Page 229: Cut Screen

    Chapter 3 Creating and Editing Screens Fig. 3-9-5 Warning message after screen is cut Fig. 3-9-6 Drag the mouse to determine the screen saver display 3.9.4 Cut Screen Cut whole screen to clipboard, just like the Microsoft Office Clipboard function. The difference is that Microsoft Office Clipboard allows the user to cut text and graphic items and the Cut Screen function only allows the user to cut a whole screen.
  • Page 230: Copy Screen

    Chapter 3 Creating and Editing Screens 3.9.5 Copy Screen Copy whole screen. The u ser can execute this function by clicking Screen > Copy Screen or use keyboard shortcuts by pressing Shift + C 3.9.6 Paste Screen The user can paste a scre en by clicking Screen >...
  • Page 231: Clear Import Data

    Chapter 3 Creating and Editing Screens 3.9.10 Clear Import Data The use can free more disk s pace by clearing the imported data that the user does not want to use. Execute this function by clicking Screen > Clear Import Data. 3.9.11 Screen Open Macro When Sc een Open Macro func...
  • Page 232: Screen Cycle Macro

    Chapter 3 Creating and Editing Screens 3. 13 Screen Cycle Macro When Sc een Cycle Macro func tion is selected, the Macro will be executed continuously once the screen is displayed. (Macro will be executed continuously by the cycle time setting) For details on how to use and edit macro commands, refer to section 3.1.14.
  • Page 233: Screen Properties

    Chapter 3 Creating and Editing Screens 3.9.15 Screen Properties This function sets the properties of the current screen. The user can view and choose the properties of the current editing screen by selecting Screen > Screen Properties or choosing Screen Properties from docking windows (Fig. 3-9-11, 3-9-12). Fig.
  • Page 234 Chapter 3 Creating and Editing Screens Function Description The range is between 1 and 65535. Each screen number must Screen Number be unique. The user cannot use the same number two times. General View Regarded as general view screen. Screen Regarded as print screen.
  • Page 235 Chapter 3 Creating and Editing Screens Function Description The check box next to “This screen is a sub-screen” can be checked only when General View Screen option is selected. Therefore, before setting sub-screen function, ensure the General View Screen option is selected. Sub-screen setting Sub-screen...
  • Page 236 Chapter 3 Creating and Editing Screens Function Description Sets Macro Cycle Delay time every time this screen is executed. Cycle Macro Delay Time The range of the macro cycle delay time is between 100ms to There are three levels of the Fast Refresh Rate and they are High, Medium and Low.
  • Page 237: Menu Bar And Toolbar (Tools)

    Chapter 3 Creating and Editing Screens 3.10 Menu Bar and Toolbar (Tools) 3.10.1 Compile It is used to compile editing screen to the format for HMI. During compiling, all of the compiling messages, including any errors, will be written to output field. When there is any error occurs, system will remind the user.
  • Page 238 Chapter 3 Creating and Editing Screens When pressing icon to execute compile operation, the error message dialog box will pop up to warn the user of compiling error and show how many errors there are. In the following figure, we can see that there are two errors occurred and they are all displayed in the output window.
  • Page 239: Download Screen & Recipe

    Chapter 3 Creating and Editing Screens Once error occurs, the correspondent message will display in output window. The user can click the error message and ScrEdit will switch to error element window automatically. 3.10.2 Download Screen & Recipe The user can download screen data and recipe to HMI by clicking Tools > Download Screen &...
  • Page 240: Upload Screen & Recipe

    Chapter 3 Creating and Editing Screens Fig. 3-10-3 USB disconnect error message Fig. 3-10-4 Incorrect model name error message 3.10.3 Upload Screen & Recipe After clicking File > Upload Screen & Recipe, the password dialog box will show up first (Fig. 3-10-5), the user needs to input password (the password is the highest priority saved in HMI, which is set by clicking Options >...
  • Page 241 Chapter 3 Creating and Editing Screens Fig. 3-10-6 Save as dialog box Fig. 3-10-7 Upload screen and recipe data 3-220 Revision May, 2010...
  • Page 242: Download Screen

    Chapter 3 Creating and Editing Screens Fig. 3-10-8 Environment dialog box 3.10.4 Download Screen To download screen data to HMI, select Tools > Download Screen or click icon directly or press Ctrl + F9. The download process is the same as the function of Download Screen & Recipe.
  • Page 243: Download Recipe

    Chapter 3 Creating and Editing Screens 3.10.6 Download Recipe To download the recipe data only, select Tools > Download Recipe. The file extension name of a recipe file is .rcp (Fig. 3-10-9). Fig. 3-10-9 Download the designated recipe data 3.10.7 On Line Simulation This command simulates DOP-B series HMI by computer but HMI should also connect to PLC first to drive PLC by PC simulation through PC communication port.
  • Page 244: Off Line Simulation

    Chapter 3 Creating and Editing Screens Fig, 3-10-11 On Line / Off Line Simulation Screen 3.10.8 Off Line Simulation To test the editing screen, the read/write addresses and the macro command to see if they are correct, the user can run an off-line simulation. To enable the off line simulation, select Tools >...
  • Page 245 Chapter 3 Creating and Editing Screens Fig. 3-10-12 Get Firmware Information Fig. 3-10-13 About Screen Editor 3-224 Revision May, 2010...
  • Page 246: Get Firmware Information

    Chapter 3 Creating and Editing Screens Fig. 3-10-14 Upgrade Firmware 3.10.10 Get Firmware Information Connects to the HMI over the USB connection or via the communication (COM port) and provides the current firmware version. Fig. 3-10-15 Get Firmware Information screen 3-225 Revision May, 2010...
  • Page 247: Menu Bar And Toolbar

    Chapter 3 Creating and Editing Screens 3.11 Menu Bar and Toolbar (Options) 3.11.1 Configuration To access the configuration options, select Options > Configuration. This dialog box is divided into six tabs: General, Control Block, COM Port, Printer Setup, Default and Other. These tabs are covered in detail in the following sections.
  • Page 248 Chapter 3 Creating and Editing Screens General tab in Configuration option Project Name Enter the name of the file for the project. Select DOP-B series HMI type for different functions and requirements HMI Type The backup memory data (non-volatile data) can be saved in HMI and USB disk.
  • Page 249 Chapter 3 Creating and Editing Screens General tab in Configuration option The user can select USB or PC communication port (i.e. RS-232) or Upload/Download Ethernet to upload and download. Use to set delay time for waiting the startup of external controller Startup Delay Time (i.e.
  • Page 250 Chapter 3 Creating and Editing Screens Control Block tab in Configuration option If the Auto Reset Flag box is checked, the register in the control Auto Reset Flag block is cleared to 0 when any operation is finished in the control block.
  • Page 251 Chapter 3 Creating and Editing Screens COM Port tab in Configuration option Add/ Delete the existed connecting controller (one application needs to Delete Delete/ connect at least one controller). Modify Modify Modify the connecting controller or change the controller name. COM Port Set the COM port that communicates with HMI Set PLC station number.
  • Page 252 Chapter 3 Creating and Editing Screens COM Port tab in Configuration option Communication baud rate. There are 4800, 9600, 19200, 38400, 57600 and 115200 these options. The users can enter the setting Comm. Baud Rate value directly also but the maximum. setting value can not exceed Parameter 187500.
  • Page 253 Chapter 3 Creating and Editing Screens Printer Setup tab in Configuration option HMI provides two print options, one is Hard Copy function, which can print the current screen and print one page one time. The other is Print Typesetting function. If Print Typesetting function is selected, no only the screen data but also all history data can be output to the printer directly.
  • Page 254 Chapter 3 Creating and Editing Screens Default tab in Configuration option Set the first display screen when HMI is powered on and Start up Screen started up. Default Format Set the default value format when creating elements. When a new editing screen is created, the users can use Default Screen this option to set the default screen background color.
  • Page 255 Chapter 3 Creating and Editing Screens Default tab in Configuration option Specify the default element blink rate when creating an Blink Time element. The range is between 00 ~ 5000ms。 Element (Customer will enter text here) Default Scroll Size This option is available for the element that has scroll Value (if element has function, e.g.
  • Page 256 Chapter 3 Creating and Editing Screens Other tab in Configuration option General Blue Led mode Setting In Screen Management option (Screen > Screen Management), there is a more detailed description for introducing how to drag the mouse to determine the screen saver display.
  • Page 257 Chapter 3 Creating and Editing Screens Other tab in Configuration option Set the interval time between two screen savers. Transition Time The range is between 1 – 255 seconds. 1. Return to Original: Return to the original screen at that Screen Saver After screen saver...
  • Page 258: Alarm Setup

    Chapter 3 Creating and Editing Screens 3.11.2 Alarm Setup The user can set alarm by clicking Options > Alarm Setup. The alarm setup should set with the alarm function in element settings. HMI will execute alarm function automatically if both settings are all set.
  • Page 259 Chapter 3 Creating and Editing Screens Alarm Setup Dialog Box Use this option to retain a specific number of records. When the number of records exceeds this setting value, HMI will delete the first record and insert the new record into the last address.
  • Page 260 Chapter 3 Creating and Editing Screens Alarm Setup Dialog Box The following Alarm Property Setup dialog box will display after double clicking the row. Alarm Property Setup Message Display message when an alarm occurs. Display message color when an alarm Color occurs.
  • Page 261 Chapter 3 Creating and Editing Screens Alarm Setup Dialog Box The calculation method of the size of the alarm frequency table is as follows:   Actual File Size Bytes Bytes Alarm Frequency Data Alarm Setting Alarm Type Example: If there are five alarm types, the required capacity for saving alarm data is: 2 Bytes ×...
  • Page 262: History Buffer Setup

    Chapter 3 Creating and Editing Screens 3.11.3 History Buffer Setup History Buffer Setup Dialog Box Pressing Add button can add a history data. A maximum of 12 history data can be added. After an internal memory address is entered, the following Buffer Properties dialog box is displayed.
  • Page 263 Chapter 3 Creating and Editing Screens History Buffer Setup Dialog Box Set the sampling cycle time for reading the address (how long it Sample Cycle takes to read the address one time). If the Trigger option is PLC, (ms) this option will be unavailable. The range of the sampling cycle time for one day is 0 –...
  • Page 264 Chapter 3 Creating and Editing Screens History Buffer Setup Dialog Box Retained (Non-Volatile) The data can be exported to Windows Excel CSV files. The system allows the user to read max. 65536 rows and 256 columns of data in the Windows Excel environment. If the Buffer sample number of the sampling data exceeds 65536, when the Properties...
  • Page 265 Chapter 3 Creating and Editing Screens History Buffer Setup Dialog Box The column name, i.e. Time, Date, Value 1 ~13 can be user-defined. Please refer to the following figure: Export CSV File Buffer Properties There are two options: Timer and PLC. The sampling action is controlled by the Timer of the HMI or the external controller, i.e.
  • Page 266 Chapter 3 Creating and Editing Screens History Buffer Setup Dialog Box Extra history data will occupy the data file symbol.       Actual File Size Bytes Bytes Data File Symbol Sampling Points Example: Suppose that the user adds two history data. The data length of the fist history data is set to 1 and the sample number of the first history data is set to 10000.
  • Page 267: Password Setting

    Chapter 3 Creating and Editing Screens 3.11.4 Password Setting This function sets the password table and determines the security access level that can change users passwords.. There are 1 ~ 7 password security levels: Level 0: No security. No protection. Everyone can use this element. Level 1: Low security level.
  • Page 268: Tag Table

    Chapter 3 Creating and Editing Screens 3.11.5 Tag Table Tag table is used to replace the specific address with the user-defined words or characters. For example, if the user wants to replace PLC address 1@Y0 with the word “OS”, just define it in Tag Table option in advance.
  • Page 269: Print Typesetting

    Chapter 3 Creating and Editing Screens 3.11.6 Print Typesetting This function provides more efficient print layout management function. Please refer to the descriptions and examples on the following pages. Print Function Printer setup  DOP-B series HMI supports the printer function via USB interface. Select the connecting printer.
  • Page 270 Chapter 3 Creating and Editing Screens Print Typesetting Function The user can print many pages one time and arrange the layout of the print screen by using Print Typesetting function. The history data also can be printed at the same time. Please pay particular attention to the following notes when using Print Typesetting function.
  • Page 271 Chapter 3 Creating and Editing Screens  Create a Printed Report Step 1. Create a new screen by selecting Screen > New Screen and set it as Apply Print Screen in Screen Properties tab (Screen > Screen Properties). Then, click Options >...
  • Page 272 Chapter 3 Creating and Editing Screens  Print Screen Layout and Output Step 1. Select Options > Print Typesetting. Drag the mouse to decide which screen needs to be typeset and printed. The screens on the left are all created screens and the screens on the right are the selected screens.
  • Page 273 Chapter 3 Creating and Editing Screens Step 2. Right click the mouse or use the function key to create a Report List button on a General View Screen. Use this Report List button to enable the print function. Step 3. Set the properties of the Report List option. The Report Device can be USB disk or Printer.
  • Page 274 Chapter 3 Creating and Editing Screens Hard Copy Function This function is available only when the screen is a General View Screen. If HMI detects the Print Typesetting function is already set for the editing screen, the Hard Copy function will be ineffective. Step 1.
  • Page 275: Recipe

    Chapter 3 Creating and Editing Screens 3.11.7 Recipe The Recipe function provides the controller a convenient parameter input method. The user can transmit the designated parameter to the controller by using HMI recipe after finishing editing recipe. Bread making is an example. When making different bread, baking time control is very important.
  • Page 276 Chapter 3 Creating and Editing Screens Recipe Setup dialog box Recipe Using this option can enable HMI to save recipe data in SRAM when the Retained power is turned off. (Non-volatile) The user can input the starting address of recipe data here. It can accept the address in PLC input format and internal memory format.
  • Page 277 Chapter 3 Creating and Editing Screens Recipe Setup dialog box After setting length and group number of recipe, the user can click Input button to edit the recipe data. The memory size for recipe is limited and the memory size for recipe is 64K. It indicates that the total recipe size should be less than 64K (The number of Length x Groups should be less than 65536).
  • Page 278 Chapter 3 Creating and Editing Screens Recipe Setup dialog box When Clear button is pressed, all input recipe is cleared to 0 (zero). Clear When Print button is pressed, all recipe data on the current screen will be Print printed out. After inputting the recipe data, the users can click OK button to save the recipe data for transmitting or modifying.
  • Page 279: Bits Recipe

    Chapter 3 Creating and Editing Screens 3.11.8 32 bits Recipe 32 bits recipe function provides the user to save 32 bits data. The data format includes Signed Decimal, Unsigned Decimal and Floating (The total of Integral and fractional digits cannot exceed 7 digits). To enable this function, the user can click Options > 32 bits recipe.
  • Page 280 Chapter 3 Creating and Editing Screens 32 bits recipe dialog box Open: Open a 32 bits recipe file Press to open a 32 bits recipe file. The file format can be Recipe 32 bits File (*.rcp) and Windows Excel CSV File (*.csv). Please pay close attention to the format of recipe file and make sure that the recipe file is a 16bits data or a 32bits data.
  • Page 281 Chapter 3 Creating and Editing Screens 32 bits recipe dialog box Save: Save a 32 bits recipe file Press to save a 32 bits recipe file. The default file format of a 32 bits recipe file is a Windows Excel CSV file (*.csv). Delete: Delete a 32 bits recipe Press to delete unnecessary 32 bits recipe.
  • Page 282 Chapter 3 Creating and Editing Screens 32 bits recipe dialog box Enable: Enable 32 bits recipe function This function should be selected when the user wants to use 32 bits recipe function. The non-volatile area location is the same as the location of 16 bits recipes.
  • Page 283: Picture Bank

    Chapter 3 Creating and Editing Screens 3.11.9 Picture Bank The user can use this function to import various pictures to enrich the screens selection. Click Options > Picture Bank to execute this function. Picture Bank dialog box Click the Picture Bank option to browse all pictures saved in Picture Bank. When one picture is selected, the user can see the picture in the preview window.
  • Page 284 Chapter 3 Creating and Editing Screens Picture Bank dialog box The users can then convert the picture color in advance to speed the compile time or choose No changed option to retain the original color. Import After editing the picture every time (execute Inverse, Grayscale, Update etc.
  • Page 285 Chapter 3 Creating and Editing Screens Picture Bank dialog box The users can right-click the mouse to display a shortcut menu shown on the figure below. This shortcut menu shows a list of commands relevant to the picture bank option. This allows the users to manage the pictures in the picture bank more quickly and efficiently.
  • Page 286: Text Bank

    Chapter 3 Creating and Editing Screens 3.11.10 Text Bank Input common or frequently used text and terms into Text Bank. The user can select the text from the Text Bank and enter them on the element more easily and quickly if necessary.
  • Page 287: Submacro

    Chapter 3 Creating and Editing Screens 3.11.11 Submacro Use this option to edit sub-macro and to be called by other Macros. For the Macro function, please refer to section 3.14. 3.11.12 Initial Macro Use this option to edit initial macro. The initial macro will be executed automatically after the power is applied to HMI (power on).
  • Page 288: Environment

    Chapter 3 Creating and Editing Screens 3.11.15 Environment Use this option to complete the environment settings of Screen Editor. Environment Dialog Box Set the location where HMI saves the system files, including some system System reference data and dynamic link library (*.dll) files. To avoid a system error and Path failure to find the file, we recommend the users not change this setting if it is not necessary.
  • Page 289 Chapter 3 Creating and Editing Screens Environment Dialog Box Auto open last file When this option is selected, HMI will automatically open the when starting last saved file every time when the user starts HMI. ScrEditor When this option is selected, the editing screen will be placed in the center position.
  • Page 290: Menu Bar And Toolbar (Window)

    Chapter 3 Creating and Editing Screens 3.12 Menu Bar and Toolbar (Window) 3.12.1 Close Window It is used to hide the current window, NOT exit the current window. The users can execute this function by clicking Window > Close Window. If the user wants to display the hidden window, please click Screen >...
  • Page 291: Cascade

    Chapter 3 Creating and Editing Screens 3.12.5 Cascade Cascade display. Display all editing windows so that they overlap. The title bar of each window is visible but only the top window is fully visible. The user can execute this function by clicking Window >...
  • Page 292: Title Horizontal

    Chapter 3 Creating and Editing Screens 3.12.6 Title Horizontal Display all editing windows from top to bottom. The user can execute this function by clicking Window > Title Horizontal. The opened windows are displayed horizontally as shown as Fig. 3-12-2. Fig.
  • Page 293: Title Vertical

    Chapter 3 Creating and Editing Screens 3.12.7 Title Vertical Display all editing windows from left to right. The user can execute this function by clicking Window > Title Vertical. The opened windows are displayed vertically as shown as Fig. 3-12-3. Fig.
  • Page 294: Window Summary

    Chapter 3 Creating and Editing Screens 3.12.8 Window Summary ScrEdit shows a list of all opened screens at the bottom of “Window” pull-down menu for quick access. Just click the file name to open the file and view the screen directly (Fig. 3-12-4). Fig.
  • Page 295: Menu Bar And Toolbar (Help)

    Chapter 3 Creating and Editing Screens 3.13 Menu Bar and Toolbar (Help) 3.13.1 Help Display the version information of Screen Editor and the firmware information of HMI (Fig. 3-13-5). Fig. 3-13-1 Screen Editor Version 3-274 Revision May, 2010...
  • Page 296: Macro Function

    Chapter 3 Creating and Editing Screens 3.14 Macro Function Delta DOP-B series HMI provides various kinds of macro commands, including Arithmetic, Logical, Data transfer, Data conversion, Comparison, Flow control, Bit setting, Communication (COM port) and drawing, etc. for user’s selection (Fig. 3.14.1). Fig.
  • Page 297: On Macro

    Chapter 3 Creating and Editing Screens Table 3-14-1 Macro Command Table Macro Name Descriptions The user can use the On Macro for each specific button element (Bit). On Macro It is called the On Macro because the Macro is executed once upon the button element (Bit) changing from OFF to ON.
  • Page 298 Chapter 3 Creating and Editing Screens Macro Name Descriptions The purpose of the Background Macro is to execute one or more commands simultaneously since it runs in a separate task. If another Macro is executed, such as the Cycle Macro, it will not have any Background Macro influence on the Background Macro although they appear to be executed almost simultaneously.
  • Page 299 Chapter 3 Creating and Editing Screens 3.14.1.1 On Macro This macro is attached to a button element. The user can use On Macro for each specific button (Bit). It is called the On Macro because the Macro is executed once upon the button element (Bit) changing from OFF to ON.
  • Page 300 Chapter 3 Creating and Editing Screens 3.14.1.2 Off Macro This macro is attached to a button element. The user can use Off Macro for each specific button (Bit). Same as ON Macro, Off Macro is started via setting this button. When the button is set to be OFF, Off macro will be executed ONCE.
  • Page 301 Chapter 3 Creating and Editing Screens 3.14.1.3 Before Execute Macro This macro is attached to a button element or numeric / character entry element. One element has one Before Execute Macro. The operation is that when the button element is pressed, the sysem will execute the command of this macro first and then perform the operation of this button.
  • Page 302: After Execute Macro

    Chapter 3 Creating and Editing Screens 3.14.1.4 After Execute Macro This macro is attached to a button element or numeric / character entry element. One element has one After Execute Macro. The operation is that when the button element is pressed, the sysem will execute the command of this macro first and then perform the operation of this button.
  • Page 303: Screen Open Macro

    Chapter 3 Creating and Editing Screens 3.14.1.5 Screen Open Macro The user can use Screen Open Macro to open each screen. Each screen has a Screen Open Macro. Screen Open Macro will only be executed ONCE when the user open a screen or switch to a new screen.
  • Page 304: Screen Cycle Macro

    Chapter 3 Creating and Editing Screens 3.14.1.7 Screen Cycle Macro The user can use Screen Cycle Macro to cycle each screen. Each screen has a Screen Cycle Macro and it can be executed repeatedly for a specified period of cycle time. The user can set the Macro Cycle Delay Time, i.e.
  • Page 305: Initial Macro

    Chapter 3 Creating and Editing Screens 3.14.1.8 Initial Macro There is only one initial Macro in a program. It is executed first at the beginning of a program. So, the user can preset some necessary initial values in this macro to omit step-by-step settings and also control initial settings to avoid unexpected problem by an unknown initial value.
  • Page 306 Chapter 3 Creating and Editing Screens For example, suppose that there are 25 element addresses on the screen and Background is used (5 lines of macro commands), if the setting value of background macro update cycle is set to 2, when background macro is executed, HMI will first read 25 element addresses and then execute 2 lines of background macro in sequence.
  • Page 307: Clock Macro

    Chapter 3 Creating and Editing Screens 3.14.1.10 Clock Macro There is only an Clock Macro in a program or a machine. Similar to Screen Cycle Macro, it can be executed repeatedly for a specified period of preset clock time. The user can set Clock Macro Delay Time, i.e.
  • Page 308: Sub-Macro

    Chapter 3 Creating and Editing Screens 3.14.1.11 Sub-Macro Each project (Screen Editor program) is capable of containing 512 sub-macros which is labeled from 1 to 512 by default (Fig. 3-14-5, Fig. 3-14-6). Sub-macro is similar to the subroutine in the in program. The user can write repeated action or function in sub-macro to save macro editing time and easy maintain.
  • Page 309 Chapter 3 Creating and Editing Screens $0 = 10 CALL 1($0 = 0) $1 = 1 Fig. 3-14-9 Execution process of Screen Open Macro When CALL 1 is executed, it means that Sub-Macro 1 is called and executed. After executing Sub-Macro, the system will continue to execute Sceen Open Macro till it ends. At this time, 0 = 0 and $1 = 1.
  • Page 310: Macro Editing

    Chapter 3 Creating and Editing Screens 3.14.2 Macro Editing 3.14.2.1 Macro Editing Widow and Toolbar After choosing the desired Macro command from the menu bar, the user can start editing the Macro by clicking any line in the editing window shown in Fig. 3-14-10. Please note that Each macro is capable of containing 512 lines of code with a maximum of 128 characters per line.
  • Page 311 Chapter 3 Creating and Editing Screens Open This command opens macro files. user can open these files when con necting to different external controllers. This reduces the time to edit macros. To open a macro file, click the Open icon and the the following dialog box will show up (Fig.
  • Page 312 Chapter 3 Creating and Editing Screens This command cuts macro files. user can also press Ctrl+X to exec ute this function. Copy This command copies macro files. user can also press Ctrl+C to execu te this function. Paste This command pastes macro files. user can also press Ctrl+V to execu te this function.
  • Page 313 Chapter 3 Creating and Editing Screens Syntax Check This command examines if the macro syntax is correct. user can use this function to examine if the macro synta x is correct or not. If the macro syntax is in error, the following error message dialog box will pop up to alert the user.
  • Page 314: Macro Command Dialog Box

    Chapter 3 Creating and Editing Screens 3.14.2.2 Macro Command Dialog Box After clicking on icon on the toolbar, the Macro Command Dialog Box will display automatically (Fig. 3-14-14). Macro Editing Toolbar Fig. 3-14-14 Macro Command Dialog Box he user can edit the macro files via the edit option in the Macro Command dialog box ig.
  • Page 315 Chapter 3 Creating and Editing Screens Update This command updates macro files. If this function is not used after editing a macro, changes are not updated. With this function, the user can know if it is necessary to change the macro or not. If the macro is not updated.
  • Page 316 Chapter 3 Creating and Editing Screens Command The user can use commands to edit the macro. The command and equation can be typed directl , or chosen from the menu bar (Fig. 3-14-17) or selected by clicking the Command bu tton (Fig.
  • Page 317 Chapter 3 Creating and Editing Screens Fig. 3-14-20 ~ Fig. 3-14-29 show all the macro commands. For more details, please refer to the section 3.14.3. Fig. 3-14-19 Commands Fig. 3-14-20 Fig. 3-14-21 Fig. 3-14-22 options Arithmetic Logical Data Transfer Fig. 3-14-23 Fig.
  • Page 318 Chapter 3 Creating and Editing Screens After macro command is selected, the user can click on Variable button to determine the necessary variables (Var1 ~ Var4) (Fig. 3-14-30, Fig. 3-14-31). Fig. 3-14-30 Fig. 3-14-31 Fig. 3-14-32 Double Word and Signed options A unsigned value is a numeric value without polarity, Unsigned A signed value is a numeric value with polarity, which...
  • Page 319 Chapter 3 Creating and Editing Screens If DW shows after the macro command, it i cates that the command is 32 Bit data, if W doesn’t display, it indicates that the command is 16 Bit data. When the user set the format of the device as Double W ord, there will be two registers used actually.
  • Page 320: Keypad Entry

    Chapter 3 Creating and Editing Screens 3.14.2.3 Keypad Entry For the convenience of editing the macro, the system allows the user to edit the macro commands by keying in the commands manually. The system will check the validity automatically, if there are any errors, a warning dialog box will pop up to alert the user. It is not critical that the user place the correct amount of spaces between commands and operands, when the line is updated the system will automatically adjust the spacing and warn of formatting errors.
  • Page 321: Macro Operation

    Chapter 3 Creating and Editing Screens 3.14.3 Macro Operation 3.14.3.1 Arithmetic Operation There are two Arithmetic Operations, which include Integer Operation and Float Operation. Each operand can be the internal memory or constant. The operands that store output results must be the internal memory. For details, refer to this table and examples below.
  • Page 322 Chapter 3 Creating and Editing Screens Example Add a value of 1 to $0 and store the value in $0 (this is an operation of unsigned 16-bit data). Add a value of $1 to $2 and store the value in $3 (this is an operation of signed 16-bit data).
  • Page 323 Chapter 3 Creating and Editing Screens  - (Subt raction) Equation Var1 = Var2 - Var3 Explanation Perform t he subtraction of Var2 and Var3, and store the subtraction result in Var1. Remark The calculation result can be stored as signed or unsigned WORD and DWORD. ...
  • Page 324 Chapter 3 Creating and Editing Screens Subtract a value of $4 from $6 and store the value in $8 (this is an operation of signed 32-bit data).  * (Mult iplication) Equation Var1 = Var2 * Var3 Explanation Perform the multiplication of Var2 and Var3, and store the multiplication result in Var1.
  • Page 325 Chapter 3 Creating and Editing Screens Multiply the value of $1 by $2 and store the value in $3 (this is an operation of signed 16-bit data). Multiply the value of $4 by $6 and store the value in $8 (this is an operation of signed 32-bit data).
  • Page 326 Chapter 3 Creating and Editing Screens Example Divide $0 by the value of 2 and store the value in $0 (this is an operation of unsigned 16-bit data). Divide $1 by $2 and store the value in $3 (this is an operation of signed 16-bit data). Divide $4 by $6 and store the value in $8 (this is an operation of signed 32-bit data).
  • Page 327 Chapter 3 Creating and Editing Screens  % (Get Rema inder) Equation Var1 = Var2 % Var3 Explanation Perform t he division of Var2 and Var3, and store the remainder in Var1. Remark The calculation result can be stored as signed or unsigned WORD and DWORD. ...
  • Page 328 Chapter 3 Creating and Editing Screens Divide $5 by $7 and store the remainder value in $9 (this is an operation of signed 32-bit data).  MUL64 ( 64-bit Multiplication) Equation Var1 = MUL64 (Var2, Var3) Explanation Perform the multiplication of Var2 and Var3, and store the multiplication result in Var1.
  • Page 329 Chapter 3 Creating and Editing Screens Multiply the value of $8 by $10 and store the value in $12 (this is an operation of signed 32-bit data).  ADDSUMW ( Repeated Addition) Equation Var1 = ADDSUMW (Var2, Var3) Explanation Perform the addition on Var3 consecut ive registers starting at register Var2 and store the repeated addition result in Var1.
  • Page 330 Chapter 3 Creating and Editing Screens Add up the values contained within the internal memory address $6, $8 and $10, and the grand total is stored in the address $12 (this is an operation of unsigned 32-bit data).  FADD (Floating Addition) Equation Var1 = FADD (Var2, Var3) Explanation...
  • Page 331 Chapter 3 Creating and Editing Screens Add a value of $4 to $2 and store the value in $6 (this is a floating point operation of signed 32-bit data).  FSUB (Floating Subtraction) Equation Var1 = FSUB (Var2, Var3) Explanation Perform the subtraction of Var2 and Var3, and store the subtraction result in Var1.
  • Page 332 Chapter 3 Creating and Editing Screens Subtract a value of $2 from $4 and store the value in $6 (this is a floating point operation of signed 32-bit data).  FMUL (Floating Multiplication) Equation Var1 = FMUL (Var2, Var3) Explanation Perform the multiplication of Var2 and Var3, and store the multiplication result in Var1.
  • Page 333 Chapter 3 Creating and Editing Screens Example Multiply the value of $0 by 2.0 and store the value in $0 (this is a floating point operation of signed 32-bit data). Multiply the value of $2 by $4 and store the value in $6 (this is a floating point operation of signed 32-bit data).
  • Page 334 Chapter 3 Creating and Editing Screens Example Divide the value of $0 by 2.0 and store the value in $0 (this is a floating point operation of signed 32-bit data). Divide the value of $2 by $4 and store the value in $6 (this is a floating point operation of signed 32-bit data).
  • Page 335 Chapter 3 Creating and Editing Screens Example Divide $0 by the value of 2.0 and store the remainder value in $2 (this is a floating point operation of signed 32-bit data). Divide $4 by $6 and store the remainder value in $8 (this is a floating point operation of signed 32-bit data).
  • Page 336 Chapter 3 Creating and Editing Screens Example Perform the function of SIN30 and store the result in $0 (this is a floating point operation of signed 32-bit data). Perform the sine function of $2 and store the result in $4 (this is a floating point operation of signed 32-bit data).
  • Page 337 Chapter 3 Creating and Editing Screens Example Perform the function of COS30 and store the result in $0 (this is a floating point operation of signed 32-bit data). Perform the cosine function of $2 and store the result in $4 (this is a floating point operation of signed 32-bit data).
  • Page 338 Chapter 3 Creating and Editing Screens The display format of the variables must be floating point.  The input variable must be a signed decimal value without the decimal point.  Example Perform the function of TAN30 and store the result in $0 (this is a floating point operation of signed 32-bit data).
  • Page 339 Chapter 3 Creating and Editing Screens Var1 can be internal memory only. Var2 can be internal memory or constant.  The display format of the variables must be floating point.  The input variable must be a signed decimal value without the decimal point. ...
  • Page 340 Chapter 3 Creating and Editing Screens The calculation result can be stored as signed DWORD. When the data exceeds  the length of designated unit, the data out of range will be discarded. Var1 can be internal memory only. Var2 can be internal memory or constant. ...
  • Page 341 Chapter 3 Creating and Editing Screens This is the operation of signed 32-bit data.  The calculation result can be stored as signed DWORD. When the data exceeds  the length of designated unit, the data out of range will be discarded. Var1 can be internal memory only.
  • Page 342: Logical Operation

    Chapter 3 Creating and Editing Screens 3.14.3.2 Logical Operation There are six logical operations which include OR, AND, XOR, NOT, Shift-left and Shift-right. There are three operands for each operation and each operand can be internal memory or constant, but it is internal memory only when outputting. The unit can be Word and Double Word.
  • Page 343 Chapter 3 Creating and Editing Screens $7 = $3 | $5 (DW) Store the result of $7. $3 = F000F000H, $5 = 0F000F00H, then $7 = FF00FF00H.  && (Logical AND operation) Equation Var1 = Var2 && Var3 Explanation Perform the logical AND operation on Var2 and Var3, and save the result of this calculation in Var1.
  • Page 344 Chapter 3 Creating and Editing Screens Perform the logical AND operation on $3 and $5, and save the result in $7 (this is an operation of unsigned 32-bit data) $7 = $3 && $5 (DW) Store the result of $7. $3 = F000F000H, $5 = 0F000F00H, then $7 = 00000000H.
  • Page 345 Chapter 3 Creating and Editing Screens $2 = $0 ^ $1 Store the result of $2. $0 = F100H, $1 = 0F00H, then $2 = FE00H. Perform the logical XOR operation on $3 and $5, and save the result in $7 (this is an operation of unsigned 32-bit data) $7 = $3 ^ $5 (DW) Store the result of $7.
  • Page 346 Chapter 3 Creating and Editing Screens $1 = NOT $0 Store the result of $1. $0 = F100H, $1 = 0EFFH. Perform the logical NOT operation on $2, and save the result in $4 (this is an operation of signed 32-bit data). $4 = NOT $2 (Signed DW) Store the result of $4.
  • Page 347 Chapter 3 Creating and Editing Screens $2 = F1000000H Shift-left 4 bits and becomes $4 = 10000000H (this is an operation of unsigned 32-bit data).  >> (SHR, Logical Shift-right operation) Equation Var1 = Var2 >> Var3 Explanation Shift Var2 (WORD/DWORD) data to right (number of bit is Var3). The result of this calculation is stored in Var1.
  • Page 348 Chapter 3 Creating and Editing Screens Example $0 = F100H Shift-left 4 bits and becomes $1 = 0F10H (this is an operation of unsigned 16-bit data). $2 = F1000000H Shift-left 4 bits and becomes $4 = 0F100000H (this is an operation of unsigned 32-bit data).
  • Page 349: Data Transfer

    Chapter 3 Creating and Editing Screens 3.14.3.3 Data Transfer There are five commands for data transfer, including MOV, BMOV, FILL, FILLASC and FMOV.  MOV (Transfer Data) Equation Var1 = Var2 Explanation Transfer data from Var2 to Var1. No data change within Var2 after executing MOV command.
  • Page 350 Chapter 3 Creating and Editing Screens  BMOV (Block Move Copy Block) Equation BMOV (Var1, Var2, Var3) Explanation BMOV (Var1, Var2, Var3) means to move sequential data of Var3 in length from address Var2 to address Var1 in block. Remark The calculation result can be stored as unsigned WORD.
  • Page 351 Chapter 3 Creating and Editing Screens  FILL (Fill the Memory) Equation FILL (Var1, Var2, Var3) Explanation FILL (Var1, Var2, Var3) means to fill address Var1 with data in address Var2 for a sequential V3 number of registers. Remark The calculation result can be stored as unsigned or signed WORD. ...
  • Page 352 Chapter 3 Creating and Editing Screens One address can store up to two words. The excess word will be stored in next  address in order. The low and high bit of the converted ASCII code will be exchanged. Var1 can be internal memory only. Var2 can be internal memory or constant. ...
  • Page 353 Chapter 3 Creating and Editing Screens Transfer the same data of PLC 1@C200 to the internal memory address $2 (this is an operation of signed 32-bit data). 3-332 Revision May, 2010...
  • Page 354: Data Conversion

    Chapter 3 Creating and Editing Screens 3.14.3.4 Data Conversion There are various kinds of commands for data conversion. For more details, please refer to the following sections.  BCD (Convert BIN Data into BCD Value) Equation Var1 = BCD (Var2) Explanation The binary data in Var2 is converted into a BCD value and stored in Var1.
  • Page 355 Chapter 3 Creating and Editing Screens  BIN (Converts BCD Data into BIN Value) Equation Var1 = BIN (Var2) Explanation The BCD data in Var2 is converted into binary value and stored in Var1. Remark The calculation result can be stored as unsigned WORD or DWORD. ...
  • Page 356 Chapter 3 Creating and Editing Screens Example After executing TODWORD command, the WORD value in $0 is converted to a D WORD value and stored in $1. As it is in DWORD format, it indicates that the value has occupied $1 and $2 these two addresses. (this is an operation of unsigned 16-bit data).
  • Page 357 Chapter 3 Creating and Editing Screens  TOBYTE (Convert WORD to BYTE) Equation Var1 = TOWORD (Var2, Var3) Explanation Convert Var3 number of WORD data from low-byte of Var2 to BYTE format and store the result in Var1. This will discard high-byte of Var2. Remark The calculation result can be stored as unsigned WORD.
  • Page 358 Chapter 3 Creating and Editing Screens  SWAP (Swap High-Byte and Low-Byte Data) Equation SWAP (Var1, Var2, Var3) Explanation Swap high-byte and low-byte of Var3 number of words starting at Var2 and save it in memory starting at Var1. Remark The calculation result can be stored as unsigned WORD.
  • Page 359 Chapter 3 Creating and Editing Screens The data of V1 and V2 will be exchanged after executing XCHG command.  Example Exchange the data of $11 and $2 (this is an operation of unsigned 16-bit data). If $11 = 1234H and $2 = 5678H, $2 = 1234H and $1 = 5678H after executing XCHG command.
  • Page 360 Chapter 3 Creating and Editing Screens  MIN (Get Minimum Value of a Range of Data) Equation Var1 = MIN (Var2, Var3) Explanation Get the minimum value from Var2 and Var3 and store the result in Var1. Remark The calculation result can be stored as signed or unsigned WORD and DWORD. ...
  • Page 361 Chapter 3 Creating and Editing Screens  TOHEX (Convert 4 ASCII Code to a Four-Digit Integer in Hexadecimal Format) Equation Var1 = TOHEX (Var2) Explanation Convert a single ASCII code of Var2 and the next 3 words (4 WORDS) to a hex value and stores the result in Var1.
  • Page 362 Chapter 3 Creating and Editing Screens  TOASC (Convert a Hexidecimal Value Var2 to Four Single ASCII Values (4 WORDS) Starting at Var1.) Equation Var1 = TOASC (Var2) Explanation Convert Var2 (1 WORD in hexadecimal format) to the ASCII (4 WORDS) code and store the result in Var1.
  • Page 363 Chapter 3 Creating and Editing Screens  FCNV (Convert Integer to Floating Point Value) Equation Var1 = FCNV (Var2) Explanation Convert an integer in Var2 to floating point value and store in Var1. Remark The calculation result can be stored as signed DWORD. ...
  • Page 364: Comparison

    Chapter 3 Creating and Editing Screens If $0 = 100.0, $2 = 100 after executing ICNV command. 3.14.3.5 Comparison There are various kinds of commands for comparison. For more details, please refer to the following sections.  IF…THEN GOTO … Equation IF expression THEN GOTO LABEL identifier Explanation...
  • Page 365 Chapter 3 Creating and Editing Screens Equation IFB expression THEN GOTO LABEL identifier Explanation If the command of expression is true, then it will go to LABEL identifier and perform the program (for PLC register). Remark Please refer to the following Comparison command table for the command of ...
  • Page 366 Chapter 3 Creating and Editing Screens Remark Please refer to the following Comparison command table for the command of  expression. Example If the value in $2 is equal to 10, it will call sub-macro 1 and perform the program. Equation Explanation Remark...
  • Page 367 Chapter 3 Creating and Editing Screens  IF…ELSEIF…ELSE…ENDIF Equation IF expression1 Statement1 ELSEIF expression2 Statement2 ELSE Statement3 ENDIF Explanation This is logical determination from multiple conditions. If expression1 is true, Statement1 will be executed. If expression1 is false, it will run expression2. If expression2 is true, Stemenent2 will be executed.
  • Page 368 Chapter 3 Creating and Editing Screens  FCMP (Floating Point Value Comparison) Equation Var1 = FCMP (Var2, Var3) Explanation Compare the floating point value in Var2 and Var3 and store the result in Var1. The comparison methods include: Var1=0, Var2 = Var3 Var1=1, Var2 >...
  • Page 369: Flow Control

    Chapter 3 Creating and Editing Screens 3.14.3.6 Flow Control There are various kinds of commands for flow control. For more details, please refer to the following sections.  GOTO (Unconditionally Go To a Specific Label. GOTO command will jump to designated label like Label Var1 unconditionally) Equation GOTO LABEL Var1...
  • Page 370 Chapter 3 Creating and Editing Screens  LABEL (Label such as Label Var1) Equation LABEL Var1 Explanation GOTO statement shifts the program execution to the position of LABEL unconditionally. Remark Var1 can be constant only.  A label value is unique per macro and it cannot be used more then once in a ...
  • Page 371 Chapter 3 Creating and Editing Screens Example CALL Main Sub-Macro Macro The rights of macro control will be transferred to sub-macro when executing CALL Var1 command. After CALL Var1 command is executed and completed, Var1 needs to return through RET command. RET command will transfer the rights of macro control to the next command of CALL command.
  • Page 372: Bit Setting

    Chapter 3 Creating and Editing Screens  END (End the Macro) Equation Statemenets1 END Statements2 Explanation End command is used to end the macro program and all statements after the END command will not be executed. If this command is in a main macro then the program will go to the first line again and begin execution, if this command is in a sub-macro then the sub-macro will end and the program will return to the previous program.
  • Page 373 Chapter 3 Creating and Editing Screens Remark Var1 can be the controller address or internal memory (BIT).  Example Set the 5th Bit within the internal memory $0 to be ON. If $0 = 0000000000000000, after the operation, $0 = 0000000000010000 ...
  • Page 374 Chapter 3 Creating and Editing Screens  BITNOT (Set Specific Bit to be Inversed. ON to OFF, OFF to ON) Equation BITNOT Var1 Explanation This command sets the specific Bit to be inversed. ON to OFF, OFF to ON Remark Var1 can be the controller address or internal memory (BIT).
  • Page 375: Communication

    Chapter 3 Creating and Editing Screens 3.14.3.8 Communication There are various kinds of commands for communication. For more details, please refer to the following sections.  INITCOM (Initial setup COM port) Equation Var1 = INITCOM (Var2) Explanation This command uses initial setup COM port to start communication and set communication protocol.
  • Page 376 Chapter 3 Creating and Editing Screens Var2 Settings in INITCOM (Communication Protocol) Item Type Code Remark COM1 COM Port COM2 COM3 RS232 Communication RS422 Interface RS485 7 Bits Data Bit 8 Bits None Parity Bit Even 1 Bits Stop Bit 2 Bits 1200 2400...
  • Page 377 Chapter 3 Creating and Editing Screens No Flow Control: Flow control function is disabled. Flow Control: The transmission speed and communication validity are enhanced during communication due to new transmission technology, such as compress immediately, debug,…etc. But the new technology also makes the transmission speed between HMI and PC will be longer than the actual transmission speed.
  • Page 378 Chapter 3 Creating and Editing Screens Remark The calculation result can be stored as unsigned WORD.  Var1 and Var2 can be internal memory only. Var3 can be internal memory or  constant. Example The starting address is for calculation $0, the data length is set to 2. After the communication, the calculated checksum through addition calculation is stored in $2 (this is an operation of unsigned 16-bit data).
  • Page 379 Chapter 3 Creating and Editing Screens  PUTCHARS (Output Characters by COM Port) Equation Var1 = PUTCHARS (Var2, Var3, Var4) Explanation This command outputs characters by COM port. Var1 is the response value after the communication, Var2 is the starting address of transmission data, Var3 is the data length, and Var4 is the allowance communication time (unit is ms).
  • Page 380 Chapter 3 Creating and Editing Screens  GETCHARS (Get Characters by COM Port) Equation Var1 = GETCHARS (Var2, Var3, Var4) Explanation This command gets characters by COM port. Var1 is the response value after the communication, Var2 is the starting address of transmission data, Var3 is the data length, and Var4 is the allowance communication time (unit is ms).
  • Page 381 Chapter 3 Creating and Editing Screens Remark Var1 can be constant only.  All communication commands will be processed via the COM port that the user  selects after executing this command. Different macros will not support each other or have any interference. Example Select COM1 port.
  • Page 382 Chapter 3 Creating and Editing Screens  CHRCHKSUM (Calculate Data Length of Texts or Characters and Checksum) Equation Var1 = CHRCHKSUM (“Var2”, Var3, Var4) Explanation This command is used to calculate the data length of texts or characters and checksum. Var1 is the internal memory address that stores the text length of Var2.
  • Page 383 Chapter 3 Creating and Editing Screens  LOCKCOM / UNLOCKCOM (Lock COM Port / Unlock COM Port) Equation Lock COM Port Var1 = LOCKCOM (Var2, Var3) Unlock COM Port Var1 = UNLOCKCOM (Var2) Explanation LOCKCOM command locks COM port. Var1 is the response value after the communication, Var2 is the COM port and represents as constant 0(COM1), 1(COM2) or 2(COM3).
  • Page 384 Chapter 3 Creating and Editing Screens When Var3 is set to 0, it indicates that LOCKCOM command will be executed  twice and HMI will continuously wait without time limit. At this time, HMI may have no response at all. Example Explanation of LOCKCOM Command Background...
  • Page 385 Chapter 3 Creating and Editing Screens  STATIONON (Station ON) Equation STATIONON (Var1, Var2) Explanation This command is used to enable the Var2 number of station of Var1 COM port. Var1 represents as constant 0(COM1), 1(COM2) or 2(COM3, for some models only). Remark Var1 and Var2 can be internal memory or constant.
  • Page 386: Drawing

    Chapter 3 Creating and Editing Screens Example Disable the first station of COM1 port. 3.14.3.9 Drawing There are various kinds of drawing commands. For more details, please refer to the following sections.  RECTANGLE (Draw a Rectangle) Equation RECTANGLE (Var1) Explanation This command is used to draw a rectangle on the screen.
  • Page 387 Chapter 3 Creating and Editing Screens Example When the Screen Open Macro command is set as and the Screen Cycle Macro is set as the user’s screen will look like the figure shown below.  LINE (Draw a Line) Equation LINE (Var1) Explanation This command is used to draw a line on the screen.
  • Page 388 Chapter 3 Creating and Editing Screens Example When the Screen Open Macro command is set as and the Screen Cycle Macro is set as the user’s screen will look like the figure shown below.  POINT (Draw a Point) Equation POINT (Var1) Explanation This command is used to draw a point on the screen.
  • Page 389 Chapter 3 Creating and Editing Screens and the Screen Cycle Macro is set as the user’s screen will look like the figure shown below.  CIRCLE (Draw an Ellipse) Equation RECTANGLE (Var1) Explanation This command is used to draw an ellipse on the screen. Var1 is the X-coordinate of the center of the ellipse Var1+1 is the Y-coordinate of the center of the ellipse Var1+2 is the length of the ellipse...
  • Page 390: Others

    Chapter 3 Creating and Editing Screens the user’s screen will look like the figure shown below. 3.14.3.10 Others For more details of other macro commands, please refer to the following sections.  Time Tick (Get the Time from System Startup to Present) Equation Var1=TIMETICK Explanation...
  • Page 391 Chapter 3 Creating and Editing Screens  GETLASTERROR (Get the Last Error Value) Equation Var1 = GETLASTERROR Explanation This command is used to get last error value. If there is no error, the result of GETLASTERROR will be 0. Even if each Macro is executed simultaneously, the error messages will not affect the macro.
  • Page 392 Chapter 3 Creating and Editing Screens  # (Comment) Equation # Statement Explanation This command is used to insert macro descriptions and make the macro readable. Using this command will not affect the macro function. The user only need to put # symbol in front of the equation and the macro will become readable.
  • Page 393 Chapter 3 Creating and Editing Screens  GETSYSTEMTIME (Get System Time) Equation Var1 = GETSYSTEMTIME Explanation This command is used to get the system time. Var1 is the starting address of continuous 7Words in the internal memory address. Var1 represents Year Var1 + 1 represents Month Var1 + 2 represents Date Var1 + 3 represents Week...
  • Page 394 Chapter 3 Creating and Editing Screens  SETSYSTEMTIME (Set System Time) Equation SETSYSTEMTIME (VAR1) Explanation This command is used to set the system time. Var1 is the starting address of continuous 7Words in the internal memory address. Var1 represents Year Var1 + 1 represents Month Var1 + 2 represents Date Var1 + 3 represents Week...
  • Page 395 Chapter 3 Creating and Editing Screens  GETHISTORY (Get History Data) Equation Var1 = GETHISTORY (Var2, Var3, Var4, Var5, Var6) Explanation This command is used to get the history data. Var1 is the internal memory address where the data length is storeed. Var2 is the internal memory, constant, the buffer number of history buffer area.
  • Page 396 Chapter 3 Creating and Editing Screens  EXPORT (Output Data) Equation EXPORT (Var1) Explanation This command is used to output the data to the external interface. The function of EXPORT macro command is the same as the function of Report List button element. Var1 represents the output interface: 0: SD card 1: USB disk...
  • Page 397: Macro Error Messages

    Chapter 3 Creating and Editing Screens 3.14.4 Macro Error Messages When compiling, it will shows errors in output window for user to find out easily. The users can read error messages by macro. Once there is an error and the users execute a correct command before reading error messages, the error message will be overwritten.
  • Page 398 Chapter 3 Creating and Editing Screens  Code – 107 There is RET in Macro This error message means that there is RET command in Macro. The RET command should be used for sub-macro to return program. But in Macro, it should use END not RET.
  • Page 399 Chapter 3 Creating and Editing Screens This page intentionally left blank. 3-378 Revision May, 2010...
  • Page 400: Chapter 4 Example

    Chapter 4 Examples How to Create a 16bits Recipe Data Create a new project first. After pressing or click File > New, it can create a new project and the user will get a dialog box as shown in the following. Enter the project name, screen name, screen No.
  • Page 401 Chapter 4 Examples Click Options > Recipe, it can open Recipe Setup dialog box. Enable the recipe function and set the non-volatile area to HMI. In this example, the Length is set to 5, Group is set to 3 and Address is set to 1@D100.
  • Page 402 Chapter 4 Examples Then, press OK button to complete the Control Block settings. In the editing area of HMI, create Numeric Entry elements to indicate recipe buffer (RCP0~RCP4), recipe table (RCP5~RCP19) and recipe write addresses (1@D100~1@D104). In addition, create three registers, Recipe Number Designation Register (RCPNO), Recipe Write (1@D5=2) Register and Recipe Read (1@D5=4) Register by using Numeric Entry elements as shown as the figure below.
  • Page 403 Chapter 4 Examples Then, user’s HMI screen will look like the figure shown below. As the default value of RCPNO is 1, the history buffer RCP0~RCP4 will display the 1st number of recipe data. At this time, the recipe data has not been written into PLC address 1@D100~1@D104. Therefore, the display values of 1@D100~1@D104 are all 0.
  • Page 404 Chapter 4 Examples Set RCPNO = 2 and the display value of history buffer RCP0~RCP4 will change to 2. Press Read button on the screen and HMI will read the recipe data in PLC and save the data in the 2nd number of recipe data. Then, the value of 2nd number of recipe data will be changed.
  • Page 405: How To Create A 32Bits Recipe Data

    Chapter 4 Examples How to Create a 32bits Recipe Data Create a new project first. After pressing or click File > New, it can create a new project and the user will get a dialog box as shown in the following Enter the project name, screen name, screen No.
  • Page 406 Chapter 4 Examples Click Options > 32bitss recipe, it can open 32bits Recipe Setup dialog box. In this example, two recipe tables are created, the write address is set to 1@D100 and the non-volatile area is set to HMI. In the 1st recipe table, set the Length to 5 and set the Group to 5. In the 2nd recipe table, set the Length to 5 and set the Group to 3.
  • Page 407 Chapter 4 Examples Then, press OK button to complete the Control Block settings. In the editing area of HMI, create Numeric Entry elements to indicate recipe buffer (RCP0~RCP4), recipe table (RCP5~RCP19) and recipe write addresses (1@D100~1@D108). In addition, create three registers, Recipe Group Designation Register (RCPG), Recipe Number Designation Register (RCPNO), Recipe Write (1@D5=2) Register and Recipe Read (1@D5=4) Register by using Numeric Entry elements as shown as the figure below.
  • Page 408 Chapter 4 Examples Then, user’s HMI screen will look like the figure shown below. As the default value of RCPG is 0 and RCPNO is 1, the value of history buffer RCP0~RCP4 and recipe table RCP5~RCP19 will be shown as 0. At this time, the recipe data has not been written into PLC address 1@D100~1@D108.
  • Page 409 Chapter 4 Examples Press Write button on the screen and HMI will write the 1st group of recipe data into PLC address 1@D100~1@D108. At this time, the display value of 1@D100~1@D108 will become 111 shown as the figure below. Set RCPNO = 2, the 2nd group of recipe data will be displayed in RCP0~RCP4 as shown as the figure below.
  • Page 410 Chapter 4 Examples Then, the value of 2nd group of recipe data will be changed. 4-11 Revision May, 2010...
  • Page 411: How To Use Windows Excel Csv File

    Chapter 4 Examples How to Use Windows Excel CSV File There are two kinds of format accepted by recipe editor. One is RCP file and the other is CSV file. RCP file can be opened and edited in Screen Editor software program only and CSV file can be created and edited in Microsoft Windows Excel environment.
  • Page 412 Chapter 4 Examples 32bits Recipe When the user opens a 32bits recipe CSV file in Microsoft Windows Excel environment, the first row shows the version of 32bits recipe data, i.e. RCP32-1.0. In the figure above, the left size shows the editing environment of Microsoft Windows Excel and the right size shows the 32bits recipe setup dialog box in Screen Editor software program.
  • Page 413: How To Use Multi-Language Function

    Chapter 4 Examples How to Use Multi-Language Function Create a new project first. After pressing or click File > New, it can create a new project and the user will get a dialog box as shown in the following. Enter the project name, screen name, screen No. and select connected HMI, controller or printer. Then, click OK.
  • Page 414 Chapter 4 Examples Click Options > Configuration, select Control Block tab. To control the multi-language selection, in this example, Control Address is set to $0 and the Length is set to 8. After complete the above settings, the user’s screen will look like the figure shown below. Then, press OK button to complete the Control Block settings.
  • Page 415 Chapter 4 Examples Press Insert button to Add Chinese (ROC), English (english), Japanese (japan). The setting values are 1, 2 and 3 for each language respectively. In this example, the default setting is set to Chinese and all the language settings will also be shown in the window.
  • Page 416 Chapter 4 Examples Create a Text element on the screen. Then, set the display text of Text element in different languages. The user can define the font, text size and text color by preference. In addition, create an Increment button element on the screen. In property setting of Increment button element, set the write address as the internal memory $7.
  • Page 417 Chapter 4 Examples In property setting of the Increment button element, double click the tabs and enter the text in different languages. After complete the above settings, the user’s screen will look like the figure below. Select the Compile command and perform Compile operation to download the data into HMI. 4-18 Revision May, 2010...
  • Page 418 Chapter 4 Examples Then, user’s HMI screen will look like the followings. The default display language is Chinese. The text of the Text element is changed to a different language by pressing the Increment button element. 4-19 Revision May, 2010...
  • Page 419: How To Use Flash Transfer Function

    Chapter 4 Examples How to Use Flash Transfer Function Flash Transfer is a program which is used to read the data of Historical Trend Graph, Historical Data Table and Alarm data. In this case, Historical Trend Graph and Alarm Historical Table are used for explanation.
  • Page 420 Chapter 4 Examples Click Options > History Buffer Setup to add a history buffer data for reading the data of PLC corresponding address. Set the Read Address to $0 and select non-volatile area (Retained) to HMI shown as the figure below. 4-21 Revision May, 2010...
  • Page 421 Chapter 4 Examples After OK button in History Setting dialog box is pressed, a history buffer is created shown as the figure below. Press OK button in History Buffer Setup dialog box to complete the settings. Next, click Options > Clock Macro to edit clock macro. After HMI is turned on and starting the initial setup, the clock macro is be executed automatically by clock setting time.
  • Page 422 Chapter 4 Examples Press OK button to complete the alarm settings. Create a Historical Trend Graph element and an Alarm Data Table element on the screen. Complete the settings of Historical Trend Graph element shown as the figure below. Please make sure that the Buffer ID is selected.
  • Page 423 Chapter 4 Examples Next, create two Momentary button elements in order to trigger ALARM 1 and ALARM 2. The addresses of ALARM 1 and ALARM 2 are $100.0 and $100.1 respectively. Then, create a Report List element and a Remove storage element on the screen. After complete the above settings, the user’s screen will look like the figure below.
  • Page 424 Chapter 4 Examples The user can press two Momentary button elements to enable and disable the alarms. The alarm data will be recorded in Alarm Data Table for user’s reference. 4-25 Revision May, 2010...
  • Page 425 Chapter 4 Examples After Report List button is pressed, HMI will transfer the history buffer data and alarm data saved in non-volatile area into the connecting USB disk. When all of the data has been transferred into USB disk, the user can press Remove storage button to remove the USB disk. Connect the USB disk to user’s computer and open it.
  • Page 426 Chapter 4 Examples Press Open icon and the following dialog box will show up on the screen. Select the folder where DopFlash.dft is located. After OK button is pressed, the user’s screen will look like the figure below. The user can read the exported data from HMI by using Flash Transfer function. 4-27 Revision May, 2010...
  • Page 427: How To Use Real Image Element

    Chapter 4 Examples How to Use Real Image Element Create a new project first. After pressing or click File > New, it can create a new project and the user will get a dialog box as shown in the following. Enter the project name, screen name, screen No.
  • Page 428 Chapter 4 Examples Create a Real Image element on the screen. In property settings of the element, set the COM port to COM1 and the interface to RS232. After completing the property settings of the element, click Tools > Compile command to perform Compile operation and download the screen data to HMI.
  • Page 429 Chapter 4 Examples Select the picture that the user wants to transfer shown as the figure below. To transfer the graphic file to HMI, a specified program, TestTransfer.exe is needed. Execute the TestTransfer.exe located at the default directory: C:\Program Files\Delta Industrial Automation\Screen Editor 2.00.07\Utility\ImgTrans After double-clicking TestTransfer.exe, the following dialog box will appear.
  • Page 430 Chapter 4 Examples Select the communication protocol and interface, and set the file path of the image. Then, press Transfer button to transfer the image. If the image has been transferred successfully, the words, Connect Success will show in the dialog box.
  • Page 431 Chapter 4 Examples When the image has transferred into HMI successfully, the user’s HMI screen will look like the figure below. 4-32 Revision May, 2010...
  • Page 432: How To Create A Curve Element

    Chapter 4 Examples How to Create a Curve Element Create a new project first. After pressing or click File > New, it can create a new project and the user will get a dialog box as shown in the following. Enter the project name, screen name, screen No.
  • Page 433 Chapter 4 Examples Click Options > Configuration, select Control Block tab and enable Auto reset flags function. To control the element, in this example, Control Address is set to $0 and the Length is set to 8. After complete the above settings, the user’s screen will look like the figure shown below. Ensure to check the Auto reset flags box.
  • Page 434 Chapter 4 Examples As the read address is set to Internal Memory $100, the sampling point will be $100、$101、 $102、$103 and $104. When Sample Flag is set to 1, it indicates that the sampling is enabled by the Control Block $2.0. Next, create five numeric entry elements which are used to input the value into $100~$104.
  • Page 435 Chapter 4 Examples When sampling operation is performed, after the value is input into $100~$104, the HMI screen will look like the figure below. Then, the user can press Draw button to get the Trend Graph shown in the following figure. 4-36 Revision May, 2010...
  • Page 436: Chapter 5 System Menu

    Chapter 5 System Me1B2Bnu System Menu Introduction Access System Menu  Press SYS key on HMI panel for two seconds. Then press the display area on HMI screen The System Menu will then be displayed as shown the figure below. Exit System Menu ...
  • Page 437 Chapter 5 System Menu System Menu Flowchart  Set delay time of touch screen TP Delay Set pressing force of touch screen TP Force Touch Panel Touch screen calibration TP Calibrate Set the date Date Set the time Time Date/Time Set the alarm clock (Reserved) Alarm Clock System Setting...
  • Page 438 Chapter 5 System Menu Multi boot display setting Multi-Screen File File Manager Miscellaneous settings MISC. Password table setup Security System Setting Volume adjustment (Reserved) Volume Audio Buzzer sound effect Buzzer Communication port COM Port COM1 upload/download COM1 COM2 upload/download Standard Mode COM2 Mode 1 COM1 ...
  • Page 439 Chapter 5 System Menu Draw Line Test Buzzer/LED Test ADC Test HMI Doctor USB Test Key Test Color Screen Test Revision May, 2010...
  • Page 440: System Setting Menu

    Chapter 5 System Menu System Setting Menu When the ground color of the screen is in grayscale, it indicates that this is a preview window and it displays the setting screen. Clicking the icon directly is able to enter into the menu.
  • Page 441 Chapter 5 System Menu Touch Panel The Touch Panel option under System Setting menu provides Set delay time of  touch screen, Set pressing force of touch screen and Touch screen calibration, etc. functions as the figure shown below. This is the function menu bar. is used to recover the default setting, options are used to cycle through the options,...
  • Page 442 Chapter 5 System Menu TP Delay – Set delay time of touch screen This option is used to set the sensitivity of the touch screen. This means that the user can speed it up or slow it down, based on user’s own preference. Touching RIGHT icon is to decrease the delay time and speed the screen sensitivity up.
  • Page 443 Chapter 5 System Menu Date/Time Set the date and time of HMI. Each touch of Up and Down icons is to increment  and decrement the value by 1. Please note that the selected option will be lit in red color as shown the figure below. This is the function menu bar.
  • Page 444 Chapter 5 System Menu Time – Set the time Set the values for the clock fields Hour, Minute, Second in order by touching UP and DOWN icons. Alarm Clock – Set the alarm clock (Reserved) Display (LCD Display) This option is used to set the LCD display settings. When the ground color of the ...
  • Page 445 Chapter 5 System Menu Contrast – Adjust the contrast (Reserved) Brightness – Adjust the brightness (Reserved) Gamma – Adjust LCD Gamma value File Manager For the functions provided by File Manager, please refer to the figure below:  This is the function bar. are used to cycle through the functions, is used to choose the desired functions, and...
  • Page 446 Chapter 5 System Menu Formatting This option is used to format the HMI internal memory or external memory. If the ground color of the icon on the screen is in black, it indicates that this option is reserved and cannot be set. Cross Reference of Function Keys and Screen Icons ...
  • Page 447 Chapter 5 System Menu Copy File – Copy the screen data file This option is used to copy the files between internal and external memory. When using this option, entering a highest priority password is needed. Designation Directory Location Source Directory Location are used to cycle through the source/designation directory location, are used to move the disk, is used to accept the changes,...
  • Page 448 Chapter 5 System Menu When New… is selected, HMI will search the unused directory from HMI-000  and HMI-255 and create a designation directory for use. If the screen data file in the source directory is password protected, HMI will ...
  • Page 449 Chapter 5 System Menu Cross Reference of Function Keys and Screen Icons  CLICK DOWN ENTER BACK Notes  Regarding the file directories, only HMI-000 ~ HMI255 are provided.  When HMI is powered on and started, if the directory of the boot display is ...
  • Page 450 Chapter 5 System Menu Cross Reference of Function Keys and Screen Icons  DEFAULT DOWN LEFT RIGHT BACK Security (Password table setup) This option is used to set HMI password security level. The highest level is 7 and  the lowest level is 0. When this password table is opened, the user can only view or change passwords with security levels lower than the user’s.
  • Page 451 Chapter 5 System Menu Audio For the functions provided by this option, please refer to the figure below:  This is the function bar. is used to recovery the default setting, are used to cycle through Volume and Buzzer options, used to change the setting values, and is used to exit this setting page.
  • Page 452 Chapter 5 System Menu COM Port For the functions provided by this option, please refer to the figure below:  This is the function bar. is used to recover the default setting, are used to cycle through the options, are used to change the setting value, and is used to exit this setting page.
  • Page 453: Up/Download Menu

    Chapter 5 System Menu Up/Download Menu There are two kinds of communication modes when connecting HMI to PC through COM  serial port. Standard Mode Bypass Mode Cross Reference of Function Keys and Screen Icons  CLICK BACK LEFT RIGHT Standard Mode When this mode is selected, COM serial port is connected to PC directly and the ...
  • Page 454 Chapter 5 System Menu Cross Reference of Function Keys and Screen Icons  COM1 COM2 BACK COM1 (COM1 upload/download) When COM1 is set, it indicates that the data transfer will be accessed through this COM serial port via the settings of Screen Editor software program. COM2 (COM2 upload/download) When COM2 is set, it indicates that the data transfer will be accessed through this COM serial port via the settings of Screen Editor software program.
  • Page 455 Chapter 5 System Menu Cross Reference of Function Keys and Screen Icons  1  3 2  1 1  2 LEFT RIGHT ENTER BACK Mode 1 – COM1  COM2 Bypass When this mode is selected, it indicates COM2 port of HMI is connected to the PLC, the user can transfer the data in the PC to the HMI via COM1 port of the HMI and then transfer the data to the PLC via the COM2 port of the HMI (COM1 is the data source port and COM2 is the data transfer port).
  • Page 456: System Info Menu

    Chapter 5 System Menu System Info Menu For the functions provided by this option, please refer to the figure below:  Firmware Version Model Type CPU Clock Battery Capacity Current Date and Time Flash ROM Sixe Connecting External Controller No Information about the USB device Connecting USB Interface Function Keys...
  • Page 457: Hmi Doctor Menu

    Chapter 5 System Menu HMI Doctor Menu This option provides simple text programs to help the user perform simple and easy hardware testing. There are seven options available: LCD, Touch Panel, Buzzer, LED, USB, ADC Channel, and Hot Key. Please refer to the figure below. When the ground color of the screen is in grayscale, it indicates that this is a preview window and it displays the setting screen.
  • Page 458 Chapter 5 System Menu White Screen Test This option is used to test and detect if there is any dark pixel (unlit pixel) or the  similar defect shown on the screen. Black Screen Test This option is used to test and detect if there is any red, blue, green, or white ...
  • Page 459 Chapter 5 System Menu ADC Test Test if ADC channel changes correctly or not. It includes pressing force, system  voltage and temperature, etc. settings. USB Test Test if USB disk is connected correctly. Ensure to switch USB Device and USB Host ...
  • Page 460: Appendix A List Of Functions Added

    Appendix A List of Functions Added New Macro Commands EXPORT  The function of EXPORT macro command is the same as the function of Report List button element. Equation: EXPORT(Var1) Var1: It can be an internal memory or a constant. 0: Export the data to SD card 1: Export the data to USB disk 2: Export the data to the printer for printing it out...
  • Page 461 Appendix A List of Functions Added IMRCP16/32, EXRCP16/32  IMRCP16/32 and EXRCP16/32 macro commands are used to import and export the recipe data. Export 16bits recipe Equation: Var1 = EXRCP16(Var2, Var3) Export the 16bits recipe data in Var2 to the external memory Var3 (in Windows Excel CSV file), and store the result in Var1.
  • Page 462 Appendix A List of Functions Added Var2: Address of import/export data Var3: External memory 2: USB disk. 3: SD card. For example: Suppose that the user needs to export a 16bits recipe data to the USB disk. First, click Options > Recipe command from the menu bar to create a 16bits recipe data shown as the figure below.
  • Page 463 Appendix A List of Functions Added In property setting of the button element, set On macro command as follows. FILLASC($100, “rcp”) Set the file name as RCP. $6789 = EXRCP16($100, 2) Export the recipe data in $100 to USB disk and store the result in $6789.
  • Page 464 Appendix A List of Functions Added The recipe file which is exported to the USB disk. STATIONON/STATIONOFF  The user can use STATIONON / STATIONOFF macro commands to enable / disable the communication between HMI and the designated external controllers. Equation: STATIONON (Var1, Var2) STATIONOFF (Var1, Var2)
  • Page 465: A.2 Print Typesetting - Custom Print

    Appendix A List of Functions Added Print Typesetting - Custom Print In Print Typesetting dialog box, Custom Print option is available to meet user’s total printing needs. The corresponding functions of each register addresses are described in the following table. Read address of screen Designate the desired print screen.
  • Page 466: A.3 New Button Elements

    Appendix A List of Functions Added New Button Elements Calibration  When the Calibration button element is pressed on the screen, the user is able to execute Calibration function directly and does not need to enter into system menu. Language Changer ...
  • Page 467 Appendix A List of Functions Added How to use Language Changer element: First, click Options > Configuration, select Other tab to enable multi-language user interface and add the display languages. After complete the above settings, create three elements on the screen. 1.
  • Page 468 Appendix A List of Functions Added Then, perform Compile operation and download the screen data to the user’s HMI screen shown as the figure below. When ENGLISH button is pressed, the above screen will display. When 中文 button is pressed, , the above screen will display. Revision May, 2010...
  • Page 469: A.4 New Input Element

    Appendix A List of Functions Added New Input Element Barcode Input  This element is used to receive the barcodes which are scanned by a barcode reader through USB interface. There are two options, Touch and Active in Input mode drop-down list. When Input Mode is set to Touch: If Input Mode is set to Touch, when touching the barcode input element on the screen, it will enter into the waiting status to wait to receive the scanned barcodes.
  • Page 470 Appendix A List of Functions Added If Input Mode is set to Active, it needs to trigger the InterLock Address first. After the InterLock Address is triggered, the barcode input element will enter into the waiting status to wait to receive the scanned barcodes.
  • Page 471: A.5 New Curve Element

    Appendix A List of Functions Added New Curve Element Curve Input  Create a Curve Input element on the screen. Set the Sample Number to 4, and Read Address to $0. When Read Address is set to$0, the addresses for each sample number are $0, $1, $2 and $3 respectively.
  • Page 472 Appendix A List of Functions Added A-13 Revision May, 2010...
  • Page 473: A.6 Show Disk Access Error Message

    Appendix A List of Functions Added Show Disk Access Error Message When this option is set, if an error occurs when accessing the alarm, history buffer, and recipe data via USB disk, an error message will show up on the screen to alert the user. A-14 Revision May, 2010...
  • Page 474: A.7 Additional Internal Parameters

    Appendix A List of Functions Added Additional Internal Parameters There are several additional internal parameters in the drop-down list. When Device Type drop-down list is activated, it displays a list of internal parameters, from which the user may select one. Name Explanation Attribute...
  • Page 475 Appendix A List of Functions Added Name Explanation Attribute Time_Second Second Read / Write Remained voltage percentage of Battery_Voltage Read only backup battery HMI IP Address NET_IP1 Read only For example, if HMI IP address is NET_IP2 Read only set to 192.168.0.1, NET_IP1 = 192 NET_IP3 Read only...
  • Page 476: A.8 Invisible Address

    Appendix A List of Functions Added Invisible Address When this option is set to On, this button element will be invisible. The elements which support this function include: all button elements, multistate indicator element, numeric entry element, character element, and barcode input element. A-17 Revision May, 2010...
  • Page 477: A.9 Auto Reboot After Firmware Upgrading

    Appendix A List of Functions Added Auto Reboot After Firmware Upgrading When this option is selected, HMI will automatically restart (power off and then on) after the firmware upgrading is completed. A-18 Revision May, 2010...
  • Page 478: A.10 Usbcommmode (Data Transfer Via Usb Disk)

    Appendix A List of Functions Added A.10 USBCommMode (Data Transfer via USB Disk) USBCommMode is a new option provided in HMI System Menu and used to transfer (upload and download) the data via USB disk. After the firmware is updated, the user can press SYS key to enter into the System Menu.
  • Page 479 Appendix A List of Functions Added When USBCommMode is set to 0, it indicates the traditional data transfer mode is selected. When USBCommMode is set to 1, it indicates the new data transfer mode via USB disk is selected. After setting USBCommMode to 1, connect HMI to PC USB port again. Then, double click “My Computer”...
  • Page 480: Appendix B New Upload/Download Function

    Appendix B New Upload/Download Function Upload and Download DVP Series PLC Programs There is a new upload and download button provided on the system menu for upload and download the Delta DVP series PLC programs. The users can use this new function to upload and download the PLC programs directly.
  • Page 481 Appendix B New Upload/Download Function 3. As shown as the figure below, to transfer PLC programs, the user should select the COM Port First. After COM port is selected, HMI will search the connecting DVP series PLC automatically. 4. When the connecting DVP series PLC is found, the user can touch Upload icon to upload the PLC programs or touch Download icon to download the PLC programs.
  • Page 482 Appendix B New Upload/Download Function Notes: 1. The file name of PLC programs should be DVP-xxx.dvp (xxx must be a number between 000 to 999). 2. If the PLC program is a new file, select New.. and then touch Upload icon on the screen to add it into the file directory.
  • Page 483 Appendix B New Upload/Download Function This page intentionally left blank. Revision May, 2010...
  • Page 484: Appendix C Multi-Link Connection

    Appendix C Multi-Link Connection This chapter describes the connecting methods used to connect multiple HMIs to one or mor external controllers, i.e. PLCs. The connecting method for multi-link connection is shown as the figure below. The Ethernet and COM2 serial port of HMIs are used. HMI 1 HMI 2 HMI 3...
  • Page 485 Appendix C Multi-Link Connection The methods for setting each unit are as follows: Setting Methods of HMI 1 1. Click Options > Configuration > COM Port. 2. Press Add button to add a PLC connection under COM2 Base Port 3. Set HMI station number to 1, select RS-485 interface and set the communication protocol settings as [9600, 7, Even, 1].
  • Page 486 Appendix C Multi-Link Connection 5. Set HMI IP address for Ethernet to 172.16.190.1 and press OK to complete the settings. 6. Create a Numeric Entry element on the screen so as to read the internal register D0 of PLC 1. 7.
  • Page 487 Appendix C Multi-Link Connection Setting Methods of HMI 2 1. Click Options > Configuration > COM Port. 2. Press Add button to add a PLC connection under COM1 Base Port 3. Set PLC station number to 1. 4. In Multi-link option, set Active mode to Client and set IP address to 172.16.190.1 (IP address of HMI 1).
  • Page 488 Appendix C Multi-Link Connection 6. Create a Numeric Entry element on the screen so as to read the internal register D0 of PLC 1. 7. After finishing the element settings, perform the compile operation and download the screen data to HMI 2. Revision May, 2010...
  • Page 489 Appendix C Multi-Link Connection Setting Methods of HMI 3 1. Click Options > Configuration > COM Port. 2. Press Add button to add a PLC connection under COM3 Base Port 3. Set PLC station number to 1. 4. In Multi-link option, set Active mode to Client and set IP address to 172.16.190.1 (IP address of HMI 1).
  • Page 490 Appendix C Multi-Link Connection 6. Create a Numeric Entry element on the screen so as to read the internal register D0 of PLC 1. 7. After finishing the element settings, perform the compile operation and download the screen data to HMI 3. Then, connect PLC 1 to HMI 1, and connect HMI1 to HMI 2 and HMI 3.
  • Page 491 Appendix C Multi-Link Connection This page intentionally left blank. Revision May, 2010...

This manual is also suitable for:

Dop-b series

Table of Contents