ICP DAS USA TPD-280 User Manual

ICP DAS USA TPD-280 User Manual

Tpd series (touchpad) hmi device
Hide thumbs Also See for TPD-280:
Table of Contents

Advertisement

Quick Links

TouchPAD
TPD Series HMI Device
User Manual
Version 1.0.4
ICP DAS Co., Ltd.
TouchPAD User Manual, version 1.0.4. Last Revised: February 2011
Page: 1
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TPD-280 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICP DAS USA TPD-280

  • Page 1 TouchPAD TPD Series HMI Device User Manual Version 1.0.4 ICP DAS Co., Ltd. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 1 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 2 Warning ICP DAS assumes no liability for any damage resulting from the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, nor for any infringements of patents or other rights of third parties resulting from its use.
  • Page 3: Preface

    Preface Thank you for buying TPD Series HMI Devices, TouchPADs, which are made by ICP DAS Co., Ltd. We suggest you read through this user manual before you set up these devices and develop their programs. Purpose This manual shows how to use TouchPADs and develop programs.
  • Page 4: Table Of Contents

    5.3.3. Drawing an Ellipse ..............94 5.3.4. Drawing a Text ................97 5.3.5. Loading a Picture ..............100 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 4 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 5 How to change Font of Text? ............. 184 A.5. How to represent decimals for Ladder Designer? ....185 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 5 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 6: Introduction

    Complete and powerful development tool, easy integration with touch HMI  devices, quick design for a variety of applications TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 6 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 7: Applications Of Touchpad

    ICP DAS releases TouchPAD as a state-of-the-art solution. In addition to GUI and touch LCD, the solution of ICP DAS provides development software package, HMIWorks. HMIWorks satisfies most of the requirements with the WYSIWYG (What You See Is What You Get) design environment.
  • Page 8 Intelligent Building Example Classroom Automation Example Single-way, Two-way, Multi-way Temperature Control Example Switches Example Multi-Display TouchPAD Anywhere TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 8 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 9: All Kinds Of Situations

    In the ranch, on the milking machines In the casino, on the gaming machines TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 9 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 10 In the restaurant, on the omelet maker In the apartment building, beside the door In the exhibition hall, beside the In the school, in the classroom exhibits TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 10 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 11 In the factory, on the steam chambers In the restaurant, embedded in the And more… table TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 11 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 12 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 12 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 13: General Specifications

    TPD-283U Class 1) /Flash 8 MB Modbus RTU Master and DCON Protocol Master (for ICP DAS I-7000 series modules) We provide API functions to open com port for sending/receiving strings through RS-485. Modbus TCP Master We provide API functions to sending/receiving strings through TCP.
  • Page 14: Tpd-28X Series

    MMI (Main Machine Interface) 2.8” TFT (Resolution 240 x 320 x 16) Touch Panel Reset Button TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 14 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 15: Tpd-28Xu Series

    This is the meaning of the U in the TPD-28xU series. Moreover, the TPD-28xU series has SDRAM/Flash expansion. Models TPD-280U TPD-283U TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 15 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 16 -20 ~ +70 °C Storage Temperature -30 ~ +80 °C Ambient Relative Humidity 10 ~ 90% RH, non-condensing TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 16 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 17: Tpd-43X Series

    +10 ~ 30 V DC and +10 ~ 30 V DC Power PoE (IEEE 802.3af, Class 1) Consumption TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 17 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 18 Operating Temperature -30 ~ +80 °C Storage Temperature 10 ~ 90% RH, non-condensing Ambient Relative Humidity TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 18 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 19: Hardware

    This chapter shows the overviews, dimensions, etc. of TouchPAD. 3.1. Hardware Overview TPD-280 Series TPD-283 Series TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 19 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 20: Dimensions

    Where is the reset button? 3.2. Dimensions TPD-280, TPD-280U (unit: mm) TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 20 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 21 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 21 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 22 TPD-283, TPD-283U (unit: mm) TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 22 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 23: Installation And Wiring

    3.3. Installation and Wiring Mount the hardware As the figure shows: Connect to power and network TPD-280 Series TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 23 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 24 ** PoE, power over Ethernet, means that the Ethernet cable conveys not only data but also power. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 24 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 25: Setup Devices And Connect To I/O

    Follow the steps below to install the HMIWorks: Double click the icon to install. Simply follow the instructions to finish the installation. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 25 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 26: Setup Devices

    TouchPAD, TouchPAD must be setup. We describe how to setup each kind of devices in the following sections. 4.2.1. Setup TPD-280 Configuration mode: TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 26 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 27 In the back of the TPD-280, configuration modes can be found. Use the rotary switch to set the configuration mode. Mode Description This mode is used for running programs. Edit This mode is used for updating programs. Update Reserved for users.
  • Page 28: Setup Tpd-283

    “0” to let the program run. 4.2.2. Setup TPD-283 Configuration mode: TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 28 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 29 Before downloading programs to the TouchPAD (TPD-283), be sure to setup the TouchPAD to connect. TPD-283’s IP configuration is not stored TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 29 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 30 Note that the new IP settings take effect after successful downloading because the IP settings are parts of the program. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 30 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 31 HMIWorks assigns this IP just for downloading. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 31 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 32 TouchPAD: “Search TouchPad …” and downloading are both successful. DHCP server is not TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 32 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 33 IP settings are parts of the program. In short, we draw the flow chart of setup TPD-283: TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 33 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 34 Anytime download process hangs, users can follow the flow below to finish the download process. (Note that below is not just for the case after setup device.) TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 34 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 35: Setup Other Devices In Touchpad Series

    Update AP TouchPAD. (There is only one application on a TouchPAD.) All devices in the TouchPAD series have USB ports, except TPD-280 and TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 35 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 36 TPD-283. HMIWorks can download programs through that USB port. Unlike TPD-280 and TPD-283, Users need not “Setup Device” in the Run menu but users must install USB driver in their PC first instead. Note: Other means of downloading are not provided for TouchPAD with USB on itself.
  • Page 37 “Next”. The default path for the driver is: C:\ICPDAS\HMIWorks_Standard\Tools\USB_windows_drivers , where “C:\ICPDAS\HMIWorks_Standard\” is the installation path. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 37 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 38 USB cable into the TouchPAD. Follow the flow to download a program to TouchPAD. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 38 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 39 TouchPAD Reset Update OS through USB Except TPD-280 and TPD-283, all other devices in the TouchPAD series have an OS on them. In cases that users may need to update OS, we introduce the flow to do that. Before updating OS (Operating System) to the TouchPAD, be sure to install the HMIWorks TouchPAD DFU (Device Firmware Update) Driver first.
  • Page 40 TPD-280U and it is called “calibrate.bat”. Follow the flow to calibrate TouchPAD. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 40 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 41: Connect To I/O Modules

    I/O module (while registering device) Below we introduce the “Devices” window which is called while registering device (F3). TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 41 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 42 Create a new connection Create the through protocol “TCPIP”. (No Need) connections Here we set “Connection Name” as “TestMTCP”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 42 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 43 “OK” to add tags of the specified I/O Click the I/O module you want module. and press “Connect”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 43 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 44 Assign the “Device Name”, press “OK” and then you can see the I/O module is added to the Workspace. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 44 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 45 “Select”. “Select”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 45 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 46 Create the Connections and Import Tags (continued) Modbus TCP I/O by Edit Create the Create a new connection connections through protocol “TCPIP”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 46 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 47 I/O points and then press “OK” to add the tags of the Modbus TCP I/O module. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 47 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 48 Assign the “Device Name”, press “OK” and then you can see the module is added to the Workspace. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 48 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 49: Development Software, Hmiworks

    5.1. The Construction of HMIWorks Before showing the construction of HMIWorks, create a new project first. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 49 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 50 Workspace and Toolbox Frame Design space Inspector and Libraries Results window (Output and Errors) Status bar TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 50 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 51 Below are the operations (pop-up menus) that users have in Workspace. Next sections show the functions of these parts. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 51 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 52: Ladder Designer

    5.2.1. Getting Started To use Ladder Designer, run HMIWorks_Standard.exe first.  Then create a new project.  TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 52 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 53 HMI menu,  right-click on the Virtual item and click on “New Virtual Tag”.  TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 53 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 54: Introduction To Ladder Designer

    Insert a contact in the right of the cursor Insert a contact which is parallel to the cursor Insert a coil TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 54 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 55 ON to OFF, trigger one shot  The briefings of function blocks Item Description (C codes) Group TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 55 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 56 = 0; return; NE (Not Equal) if(en == 1) default if(in1 != in2) eno = 1; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 56 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 57 = 0; return; Assign if(en == 1) default out = in; eno = 1; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 57 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 58 Mul (Multiplication) if(en == 1) math q = in1 * in2; eno = 1; return; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 58 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 59 = 0; return; Dec (decrement) if(en == 1) in--; math eno = 1; return; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 59 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 60 //count up to value if (en == 1) if (Count >= value) eno = 1; Count++; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 60 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 61 TON (Timer On) //initial if (Initialized == 0) timer T1 = CT(); //CT=current_time Initialized = 1; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 61 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 62 (en == 1) if (CT() – T1 >= value ) eno = 0; else eno = 1; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 62 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 63 = 0; return; TOUCH_BEEP_OFF if(en == 1) hmi_TurnTouchBeep(0); system eno = 1; return; TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 63 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 64: Operations Of Ladder Designer

    Define a new variable in the name field and optionally fill the other fields. Finally, press OK button to take effect. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 64 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 65 To insert a rung, move the cursor to the empty place and then press F2 (or F3/F4). TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 65 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 66 Associate a variable to a contact Press F2 to insert a new rung with a contact and a coil. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 66 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 67 Insert a new contact in the left of the cursor (F2) Move the cursor to the “v1” contact and then press F2. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 67 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 68 Insert a new contact which is parallel to the cursor (F4) Move the cursor to the “v3” contact and then press F4. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 68 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 69 Delete the rung. Move the cursor to the starting point of the rung and then press “Delete” key. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 69 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 70 Insert a new rung Press F6 to insert a new rung with a function block and a coil. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 70 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 71 For example, we double-click on the Function “Assign” in the default group and set to the function block. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 71 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 72 Double-click on the variable in the list to set the variable to “out”. For example, we double-click on the variable “v1” and set to “out” of “Assign” function. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 72 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 73 Move the cursor to the “Assign” function block and then press F6. And to make things clear, set the newly-inserted function block as “NE” (not equal). TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 73 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 74 For example, we move the cursor to the “Assign” function block and then press the “delete” key. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 74 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 75 Double click on the starting point of the third rung to add a label “Test_Label” to it. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 75 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 76 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 76 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 77: User-Defined Function Block

    “default”. That is, the “default.ini” in the sub-directory “default”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 77 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 78 FB.hsf of “Assign” does. How to Add a User-Defined Function Block Create a new group if necessary. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 78 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 79 Note that: VarCount = pin counts. Below shows what does the Row mean and the order of the pins. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 79 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 80: Associate Tags With Tools

    A CheckBox is created with the tag associated. Note: this feature is only supported for CheckBox. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 80 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 81 (that is, the Slider for example) by setting the property TagName to the name of the tag. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 81 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 82: User-Defined I/O Modules

    Modbus TCP I/O modules: ICP DAS provides ET/PET-7000 series.  http://www.icpdas.com/products/Remote_IO/et-7000/et-7000_introduction.htm Modbus RTU I/O modules: M-7000 series I/O modules by ICP DAS  http://www.icpdas.com/products/Remote_IO/m-7000/m-7000_introduction.htm TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 82 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 83 For example, I-7011, …, I-7067 are directories represent I/O modules and they are all put to the series directory “I-7000”. What Module.ini describes? TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 83 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 84 I/O modules. Until Verb Search now, PET-7000 is the only series which support this “Search” function. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 84 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 85 I-7000 I/O series. Take I-7065 in the I-7000 I/O series for example as the following figure shows. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 85 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 86 Open the IO.hsf in the directory “[HMIWorks install path]\bin\Modules\I-7000\I-7065\”. The codes in IO.hsf are of C language. Create a User-Defined I/O Module TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 86 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 87: Frames And Tools

    (Refer to other I/O modules, for example I-7065 as above.) 5.3. Frames and Tools This section introduces properties and usages of frames and tools. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 87 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 88: Properties Of A Frame

    TextPushButton and CheckBox. 5.3.1. Properties of a Frame This section introduces the properties of a frame. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 88 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 89 The function name of the OnHide event of the OnHide frame. Use OnHide to perform some operations TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 89 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 90 Click on the OnCreate in the inspector. Then click on the button “…” to code-edited window for the OnCreate. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 90 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 91: Drawing A Rectangle

    Save the file, and then press OK in the code-edited window. 5.3.2. Drawing a Rectangle This section shows how to draw a rectangle. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 91 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 92 Step 3 ~ step 5 with the “Ctrl” key pressed at the same time. Properties of Rectangle TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 92 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 93 Click on the FillColor in the inspector. Then click on the button “…” to open color window to select color. The OutlineColor uses similar way. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 93 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 94: Drawing An Ellipse

    Left-click (and not release) on the point of the frame panel as the left-top vertex of the rectangle that inscribes the ellipse to TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 94 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 95 What color to fill in the ellipse. The color is represented by a three byte value in hexadecimal form. From the highest byte to TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 95 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 96 For example, set FillColor to green and OutlineColor to red and then you may have the results as shown. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 96 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 97: Drawing A Text

    Text to draw. Change the Text property in the inspector to “Hello”, for example. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 97 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 98 Note: this property is enabled only when AutoSize=True AutoScaleFontSize Automatically scale the font size to fit the TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 98 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 99 Click on the font property in the inspector. Then click on the button “…” to open font window to change font. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 99 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 100: Loading A Picture

    Release the left button of the mouse and you have an area for the picture. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 100 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 101 The frame with the loaded picture. Or you can just copy an image from the clipboard and paste on TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 101 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 102 Picture to load Width Horizontal side length of the rectangle that encloses the Picture to load TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 102 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 103: Touchpad User Manual, Version 1.0.4. Last Revised: February 2011 Page

    True uses memory of 189KB but setting HiColor to False costs only 69KB. 5.3.6. Drawing a Line This section shows how to draw a line segment. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 103 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 104 Vertical side length of the rectangle whose diagonal line is the line segment to draw The serial number of tools (including Drawings TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 104 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 105: Using A Textpushbutton

    TextPushButton rectangle. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 105 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 106 On-Click event. Here we use hmi_Beep() to sound a beep for example. Note: the property “OnClick” is supported only in programming type “Standard C/C++”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 106 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 107 Properties of Text PushButton properties description FillColor What color to fill in the TextPushButton. The color TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 107 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 108 The string of the TextPushButton y-coordinate of the left-top vertex of the TextPushButton Width Horizontal side length of the TextPushButton TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 108 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 109 It’s easy to specify a value to the Reference property. Simply click on the Reference property in the inspector and then choose the frame for TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 109 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 110: Using A Slider

    Slider rectangle. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 110 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 111 “Standard C/C++”. Save the file, and then press OK in the code-edited window. Properties of Slider TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 111 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 112 Font The font of the text on the Slider TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 112 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 113 Click on the FillColor in the inspector. Then click on the button “…” to open color window to select color. The OutlineColor, BackgroundFillColor and BackgroundTextColor use similar way. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 113 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 114: Using A Bitbutton

    A BitButton is a button with 3D appearance and releasing the pressed button does not change the status. When you press it, you can see that TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 114 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 115 Click on the Text property in the inspector to change the string on the BitButton. Here we change the Text to “Hello”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 115 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 116 Save the file, and then press OK in the code-edited window. Properties of BitButton properties description The font of the text of the BitButton Font TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 116 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 117 It’s easy to specify a value to the Reference property. Simply click on the Reference property in the inspector and then choose the frame for reference. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 117 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 118: Using A Hotspot

    Move the mouse to form a HotSpot as you want and stop the mouse while the cursor is at the point of the right-bottom vertex TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 118 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 119 Note: the property “OnClick” is supported only in programming type “Standard C/C++”. Save the file, and then press OK in the code-edited window. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 119 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 120 It’s easy to specify a value to the Reference property. Simply click on the Reference property in the inspector and then choose the frame for TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 120 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 121: Using A Checkbox

    CheckBox rectangle. Release the left button of the mouse and you have a CheckBox you want. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 121 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 122 Here we use hmi_Beep() to sound a beep for example. Note: the property “OnChange” is supported only in programming type “Standard C/C++”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 122 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 123 What color to fill in the CheckBox. The color is FillColor represented by a three byte value in hexadecimal TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 123 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 124 Click on the FillColor in the inspector. Then click on the button “…” to open color window to select color. The OutlineColor uses similar way. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 124 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 125: Using A Label

    Label rectangle. Release the left button of the mouse and you have a Label you want. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 125 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 126 Click on the Text property in the inspector to change the string on the Label. Here we change the Text to “Hello”. Properties of Label TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 126 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 127 Associate a variable (tag) in Ladder Designer. TagName Note: the property is supported only in programming type “Ladder Program”. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 127 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 128 Take I-7017Z for example. Supposed that we use I-7017Z to read an TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 128 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 129 Designer is 1000 times of the real value. With DecimalDigits set to 3, the correct value 3.265 is displayed on TouchPAD. 3.265V IO.hsf 3.265 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 129 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 130: Using A Timer

    TouchPAD. Also it’s not necessary to put the Timer on the frame panel. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 130 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 131 Here we use hmi_Beep() to sound a beep for example. Save the file, and then press OK in the code-edited window. Properties of Timer TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 131 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 132: Using A Paintbox

    Horizontal side length of the Timer (cannot be changed by users.) 5.3.14. Using a PaintBox This section shows how to use a PaintBox. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 132 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 133 OnPaint event. Here we draw a rectangle for example. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 133 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 134 Save the file, and then press OK in the code-edited window. Properties of PaintBox properties description Vertical side length of the PaintBox Height TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 134 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 135: Using An Objectlist

    ObjectList because the ObjectList is invisible when downloaded to the TouchPAD. Also TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 135 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 136 Note: you only need to add two library objects to the right side region, because both TextPushButton and CheckBox have only two states. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 136 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 137 Go to the inspector for the RefObject property of the CheckBox. Choose the ObjectList to make connections between the ObjectList and the CheckBox. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 137 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 138 The name of the ObjectList Objects The maintained library objects y-coordinate of the left-top vertex of the ObjectList TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 138 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 139 HMIWorks does the followings to build the relationships between TouchPAD and I/O modules. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 139 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 140: Menus

    The frame design space: Note: The items in the HMI menu are introduced in the section 4.3 Ladder Designer. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 140 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 141: Starting Design, File Menu

    Specify project name, its location, the orientation, the programming type and select the module model. Then press OK. Open … Open a HMIWorks project (.hxp). TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 141 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 142: Cascading And Grouping, Arrange Menu

    For example, select the blue ellipse and click “Back One” in the menu. You can see that the blue ellipse goes down one level in the stack. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 142 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 143 For example, select the red square and click “To front” in the menu. You can see that the red square goes up to the highest level in the stack. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 143 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 144: Rotating And Flipping, Edit Menu

    For example, select the group and then click “Ungroup” in the menu. 5.4.3. Rotating and Flipping, Edit Menu TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 144 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 145 “Rotate CCW” in the menu. You can see that this group of shapes is rotated counter-clockwise. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 145 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 146 “Flip horizontal” in the menu. You can see that this group of shapes is flipped horizontally. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 146 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 147: Gridding And Viewing, View Menu

    “Flip vertical” in the menu. You can see that this group of shapes is flipped vertically. 5.4.4. Gridding and Viewing, View Menu TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 147 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 148: Snap To Grid

    Display the library window or not Results Display the Results window or not Next Frame Go to next frame TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 148 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 149: Frame Managing And Aligning, Layout Menu

    Rename a frame  Alignment: To demonstrate the functions of alignment, draw three shapes as followings TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 149 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 150 For example, select all the items and then click “Align horizontal center” in the menu. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 150 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 151 Align the topmost edge of all the selected items to that of last-drawn item. For example, select all the items and then click “Align top” in the menu. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 151 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 152 Align the center point of all the selected items to that of last-drawn item. For example, select all the items and then click “Align center” in the menu. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 152 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 153: Build And Download To Run, Run Menu

     Generate source codes for frames, tools, ladders, etc. Download Only (Ctrl + F9)  Download building bin file to TouchPAD TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 153 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 154: Library Management, Popup Menu

    Specify the library name and save the library. Note: you can preview the library in the library window. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 154 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 155 Click (and not released) on the item in the preview box and then drag the preview item and drop it on the frame panel. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 155 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 156 Of course, there’s no library item in it. You should add items yourself. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 156 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 157: Make A Simple Project

    For example, draw a rectangular and fill the color. Of course, you can draw more complex and beautiful figures. Here, we simply TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 157 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 158 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 158 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 159 After connecting to TouchPAD, press F9 to run (or Run  Run). As the following figure shows, pressing the button makes TouchPAD sound a beep. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 159 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 160: Your First Project Using Ladder Program

    For example, place a CheckBox and a Label on the frame. Here, we plan to take the CheckBox as an input and the Label as an output. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 160 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 161 “RefObject” to the ObjectList. Now toggling the states of the CheckBox becomes the exchanges of the pictures in the ObjectList. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 161 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 162 Press F4 key or click on “Ladder Designer” in the “HMI” menu to open the Ladder Designer. In the Ladder Designer, press F2 to TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 162 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 163 Here, we select variable v1 to associate the contact. And then we associate v2 with the coil in the similar way. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 163 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 164 Then we associate the CheckBox with v1 and the Label with v2 by “TagName” properties of themselves. After setting the “TagName” properties, users can check in the Inspector. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 164 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 165: Integrate Tpd-280 Series With I/O Modules

    6.3. Integrate TPD-280 Series with I/O modules In this example, we use TPD-280-W to control an I-7066, the 7-channel photo-MOS relay output module of ICP DAS. First, put I-7066 in the same RS-485 network of TPD-280-W and configure I-7066 with DCON Utility (baudrate, data bit, parity, stop bit, Net ID).
  • Page 166 Here we just demonstrate how to quickly complete a whole new project with I/O modules of ICP DAS. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 166 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 167 As the following figure shows, pressing the button changes the output of channel 0 of the I-7066. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 167 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 168: Integrate Tpd-283 Series With I/O Modules

    After searching, click on PET-7060 and then click on “IP setting” button to set IP. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 168 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 169 Project name, the Location, the Orientation, and the Programming Type. Here we choose programming type as [2] Ladder Program. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 169 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 170 On the frame design space, the picture you just pick is now on the frame. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 170 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 171 As the following figure shows, pressing the button changes the output of channel 0 of the PET-7060. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 171 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 172: Advanced Programming In C

    On that pop-up menu, choose the type of the file you want to add. As the following figure shows: TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 172 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 173: Update Properties In Run Time

    2. Double click on the TextPushButton to implement its OnClick event handler. Save the file and press OK. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 173 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 174 The effect of the OnClick function: For more API functions of TextPushButton, refer to pushbutton.h in the following path: TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 174 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 175: Percentage Of A Slider

    "%d%%", lValue); SliderTextSet((tSliderWidget*) pWidget, strValue); WidgetPaint((tWidget*) &SliderWidget15); The effect of the OnSliderChange function (after selecting colors): TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 175 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 176: Selected Of A Checkbox

    Double click on the BitButton to implement the OnClick event handler of the BitButton. Save the file and press OK. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 176 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 177: Font, Text And Textcolor Of A Label

    Drag and drop a Label and three BitButton on the frame panel as below. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 177 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 178 To make clear, we copy the codes below with their corresponding results. Results Codes of the event handler TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 178 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 179 //Click on BitButton “change Font” void BitButton19OnClick(tWidget *pWidget) //change Font to size 20 CanvasFontSet(&LabelWidget18, &g_sFontCm20); WidgetPaint((tWidget*) &LabelWidget18); TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 179 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 180 In the same path, there is a header file, grlib.h. grlib.h contains prototypes for the pre-defined fonts, such as g_sFontCm20. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 180 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 181: Appendix

    Setting BrushStyle Clear disables the property BackgroundColor and prevents from flashing. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 181 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 182: How To Have Higher-Resolution Picture

    Take above picture for example, setting HiColor to True uses memory of 189KB but setting HiColor to False costs only 69KB. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 182 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 183: How Does A Touchpad Control I/O

    HMIWorks does the followings to build the relationships between TouchPAD and I/O modules. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 183 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 184: How To Change Font Of Text

    If the text is treated as an image, of course, it takes more space to store and more time to download. TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 184 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 185: How To Represent Decimals For Ladder Designer

    “DecimalDigits”. You can find out I/O module’s IO.hsf file in the following locations: “[HMIWorks_install_path]\ bin\Modules\”. For example, IO.hsf of I-7017Z is located in TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 185 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...
  • Page 186 Designer is 1000 times of the real value. With DecimalDigits set to 3, the correct value 3.265 is displayed on TouchPAD. 3.265V IO.hsf 3.265 TouchPAD User Manual, version 1.0.4. Last Revised: February 2011 Page: 186 Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com...

This manual is also suitable for:

Tpd-283Tpd-280uTpd-283u

Table of Contents