ICP DAS USA TouchPAD TPD Series Programming Manual

Hmi devices
Hide thumbs Also See for TouchPAD TPD Series:

Advertisement

Quick Links

.
TPD/VPD Series Getting Started v.1.0.1
Copyright@ 2011 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com
TouchPAD
TPD/VPD Series HMI Devices
Programming Guide
Version: 1.0.5
Usage information for
TPD-280
TPD-280U
TPD-283
TPD-430
TPD-430-EU
VPD-130
VPD-130N
April 2012
I

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TouchPAD TPD Series and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA TouchPAD TPD Series

  • Page 1 TouchPAD TPD/VPD Series HMI Devices Programming Guide Version: 1.0.5 April 2012 Usage information for TPD-280 TPD-280U TPD-283 TPD-430 TPD-430-EU VPD-130 VPD-130N TPD/VPD Series Getting Started v.1.0.1 Copyright@ 2011 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 2 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year, beginning from the date of delivery to the original purchaser. Warning ICP DAS assumes no liability for any damage resulting from the use of this product.
  • Page 3: Table Of Contents

    Table of Contents Chapter 1. Introduction ............. 1 1.1 Hardware Specifications ..............2 1.2 Hardware Overview ................3 Chapter 2. Software Installation ..........7 2.1 Install the HMIWorks Software ............7 2.2 Create a New Project ................8 2.3 HMIWorks Working Environment ............10 2.4 Downloading Methods for TouchPAD ..........
  • Page 4 3.4.3 Device Setup (TouchPAD) ................... 60 3.4.4 Download the Project ..................62 3.5 Demo List ................... 64 Appendix A. Downloading Information ........65 Appendix B. Configuring the I/O Module ........66 Appendix C. Creating Your Own GUI .......... 71 Appendix D. Configuring and Programming the ISaGRAF PAC ..72 Appendix E.
  • Page 5: Chapter 1. Introduction

    Introduction Chapter 1. The TPD-280/280U/283/430/430-EU and VPD-130/130N devices are part of the TouchPAD series that includes a tiny touch HMI interface and are designed for building and home automation. The TouchPAD series is equipped with a high resolution TFT color touch screen and can be installed using a regular electrical wall-mount outlet.
  • Page 6: Hardware Specifications

    1.1 Hardware Specifications If you are interested in learning more about the hardware specifications for the various TouchPAD models, please refer to our website: www.icpdas.com.tw > Product > Solutions > HMI & Touch Monitor > TouchPAD http://www.icpdas.com.tw/product/solutions/hmi_touch_monitor/touchpad/touchpad_ selection.html TPD/VPD Series - Getting Started v.1.0.5 Page 2 Copyright@ 2012 ICP DAS CO., LTD.
  • Page 7: Hardware Overview

    1.2 Hardware Overview TPD Series TPD-280: Power/GND/RS-485 Rotary Switch (0 ~ 9) 0: Run Only 2.8” TFT LCD with Touch Panel 1: Update Only TPD-280U: 0: Run 1: Update OS 9: Update AP TPD/VPD Series - Getting Started v.1.0.5 Page 3 Copyright@ 2012 ICP DAS CO., LTD.
  • Page 8 TPD-283: Ethernet (PoE) Rotary Switch (0 ~ 9) 0: Run and Update 1: Force Update (When the program is damaged) 2: Run Only Reset TouchPAD Button Reset Button Open the Top Cover TPD/VPD Series - Getting Started v.1.0.5 Page 4 Copyright@ 2012 ICP DAS CO., LTD.
  • Page 9 TPD-430; TPD-430-EU: The difference between the TPD-430 and the TPD-430-EU is the size of the appearance, which is divided into U.S. gauge and European gauge. 4.3” TFT LCD with Touch Panel Reset Button (Left hand Side) Programmable LED Indicator Speaker TPD-430: TPD-430-EU: Rotary Switch (0 ~ 9)
  • Page 10 VPD Series VPD-130: VPD-130N: 3.5” TFT LCD with Touch Panel LED Indicator Rubber Keypad RS-485 RS-232 Data- Data+ TxD RxD GND Reset Button Power/GND Rotary Switch (0 ~ 9) 0: Run 1: Update OS 9: Update Program TPD/VPD Series - Getting Started v.1.0.5 Page 6 Copyright@ 2012 ICP DAS CO., LTD.
  • Page 11: Chapter 2. Software Installation

    Software Installation Chapter 2. First, install the HMIWorks development software on your PC. To download the latest version, visit the website at: http://ftp.icpdas.com/pub/cd/touchpad/setup/ 2.1 Install the HMIWorks Software Step 1: Double click the execution file to install the HMIWorks software. (This manual uses V2.01 beta5)...
  • Page 12: Create A New Project

    2.2 Create a New Project Step 1: After the HMIWorks software has been successfully installed, select [ Start ] > [ All Programs ] > [ ICPDAS ] > [ HMIWorks_Standard ] > [ HMIWorks Standard Edition ] to execute the software. (Note: If the Windows Security Warning dialog appears in Windows 7, please click “Unlock”.) Step 2: Select the “New Project”...
  • Page 13 Step 3: Select the TouchPAD model name (a), enter a project name (b) and it’s the location where the project should be saved (c), then select the display orientation (d) and the default programming type (e), and click “OK”. Enter a project name Select the TouchPAD model name Enter the location for...
  • Page 14: Hmiworks Working Environment

    2.3 HMIWorks Working Environment Function Menu HMI Design area Workspace / Properties Inspector Toolbox / Picture libraries Result section (output/errors) Status bar Toolbox: TPD/VPD Series - Getting Started v.1.0.5 Page 10 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 15: Downloading Methods For Touchpad

    2.4 Downloading Methods for TouchPAD TPD-280 (Applications are downloaded through RS-485.) I-7561, Power supply, USB/RS-485 Converter DP-665, 24V RS-485 VDC (+10 ~+30 VDC) (Data+, Data-) Ground Frame Ground Earth TPD-280 TPD-283 (Applications are downloaded through Ethernet.) PoE Switch NS-205PSE Power supply KA-52F-48 Power Ethernet...
  • Page 16 TPD-280U (Applications are downloaded through only.) I-7561, Power supply, USB/RS-485 Converter DP-665, 24V RS-485 VDC (+10 ~+30 VDC) (Data+, Data-) and Ground Frame Ground Earth TPD-280U TPD-430/TPD-430-EU (Applications are downloaded through only.) Power supply, I-7561, DP-665, 24V USB/RS-485 Converter VDC (+10 ~+30 VDC) RS-485 and Ground (Data+, Data-)
  • Page 17 VPD-130/VPD-130N (Applications are downloaded through only.) I-7561, Power supply, USB/RS-485 Converter DP-665, 24V RS-485 VDC (+10 ~+30 VDC) (Data+, Data-) and Ground Frame Ground Earth VPD-130/VPD-130N TPD/VPD Series - Getting Started v.1.0.5 Page 13 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 18: Chapter 3. Demo Programs

    Demo Programs Chapter 3. In this chapter, you will be detailed instructions in how to write simple demo programs in either the C or LD language. Before beginning programming, please ensure that both the hardware and the software are installed (Chapter 3.1 Demo 0 (Beep &...
  • Page 19: Hmi

    3.1.1 HMI Page Design Step 1: Create a new TPD-280 project based on the Ladder Designer (refer to Section for more details). Select the device Enter a project name Enter the default directory for saving the project Select the HMI display orientation Select the programming type...
  • Page 20 Step 3: In the same manner as the previous step, click on the “Label” icon and create a “Label” (text display) in the design area. “Label”, a Widget component, can be used for either text or control functions. However, the “Text” component can only be used for text display.
  • Page 21 the first tag and “count” for the second. c. Finally, we can see that the 2 tags created in the Workspace. Step 5: Configure the properties for the “BitButton” component. a. Select the “BitButton” component in the design area. b. Click the “Text” field in the Properties Inspector panel and enter the string “Click Me”. c.
  • Page 22 d. Click on the “TagName” property in the Inspector and there shows a little button “…”. Click on the “…” button. e. Select the tag you want. Here we select the tag, “beep_tag”, for the BitButton. f. Finally, we can see the tag we just choose. Step 6: Configure the properties for the “Label”...
  • Page 23 b. The following properties can be modified from the Properties Inspector area on the right hand side: Alignment: Sets the text alignment position in the display box of the “Label” component. FillColor: Sets the fill color for the display box of the “Label” component. Font: Sets the font for the text in the display box.
  • Page 24 d. Double-click on the function block to set the function to it. Here we set it the function, “increment”, of the category, “math”. e. Move the cursor to the function block of “inc” and then press the F7 button again to add a new function block to the right of it.
  • Page 25 h. Similarly, double-click on the neighborhood of the input parameter “in” as below figure to select variable “count”. i. Finally, the first rung is done. j. The first rung does the followings: if( beep_tag == 1 ) //that is, when the BitButton is pressed. Beep();...
  • Page 26 e. Set the value of the parameter “in2” of the function “GE” (>=) by double-clicking on the neighborhood of the parameter “in2”. f. To enter a constant to a parameter, click on the tab “Enter Constant” in the “Select variable” window. Here we enter 10. g.
  • Page 27 j. The second rung does the followings: if( count >= 10 ) count = 0; //set the count to zero Step 9: Save and Close (the Ladder). Step 10: Tune the scan time if necessary. a. Click the menu [HMI] > [Refresh Time (I/O Scan)] to set the scan time. b.
  • Page 28: Device Setup (Touchpad)

    3.1.2 Device Setup (TouchPAD) Step 1: Click the function menu [ Run ] > [ Setup Device (TouchPAD) ]. Step 2: From the dialog box, select the appropriate “COM” port number and click “OK”. In this example, we have set “COM3” of the PC to use I-7561 (convert USB to RS-485). The users should set the appropriate COM port for their PC.
  • Page 29: Download A Project

    3.1.3 Download a Project After completing the HMI page design stage, download the project to your TouchPAD device. Step 1: Turn the Rotary Switch on the back panel of the TPD-280 to “1”, and then reset the TouchPAD device. Refer to Section 1.2 Hardware Overview for more details.
  • Page 30: Demo 1 (Beep, Timer, Counter)

    3.2 Demo 1 (Beep, Timer, Counter) Demo 1 is programmed using the C language and implements a single button that will beep when clicked on and will increase the counter by one. Demo 1 also implements a second counter that will increase each second and then reset itself to zero when it reaches 100 seconds.
  • Page 31 Select the device Enter a project name Enter the default directory for saving the project Select the HMI display orientation Select the programming type Step 2: Create a “BitButton” (picture button). a. Switch to the “Toolbox” tab, as shown in the picture below. b.
  • Page 32 Step 3: In the same manner as the previous step, click on the “Label” icon and create a “Label” (text display) in the design area. “Label”, a Widget component, can be used for either text or control functions. However, the “Text” component can only be used for text display.
  • Page 33 Step 5: Configure the properties for the “BitButton” component. a. Select the “BitButton” component in the design area. b. Click the “Text” field in the Properties Inspector panel and enter the string “Click Me”. c. Click the “Font” field to change the font to a suitable style, size and color. Step 6: Edit the control codes for the “BitButton”...
  • Page 34 c. When finished, click “Save & Close” from the File menu. Declare the variables long cnt1=0; static char str1[32]; void BitButton4OnClick(tWidget *pWidget) hmi_Beep(); Beep function Convert the integer to a cnt1=cnt1+1; string in order to display if (cnt1>100) it on the Label. cnt1=0;...
  • Page 35 b. The following properties can be modified from the Properites Inspector area on the right hand side: Alignment: Sets the text alignment position in the display box of the “Label” component. FillColor: Sets the fill color for the display box of the “Label” component. Font: Sets the font for the text in the display box.
  • Page 36 Step 9: Edit the control codes for the “Timer” component. a. Double click the “Timer6” component in the design area to open the programming window. b. Edit the code in the programming window using the C language. (The User can copy the code from the picture below.) In this demo, the counter will increase by 1 each time the button is clicked until it reaches 100, and will then reset to 0 before beginning to accumulate again.
  • Page 37: Device Setup (Touchpad)

    3.2.2 Device Setup (TouchPAD) Step 1: Click the function menu [ Run ] > [ Setup Device (TouchPAD) ]. Step 2: From the dialog box, select the appropriate “COM” port number and click “OK”. In this example, we have set “COM3” of the PC to use the I-7561 (convert USB to RS-485). The users should set the appropriate COM port for their PC.
  • Page 38: Download A Project

    3.2.3 Download a Project After completing the HMI page design stage, download the project to your TouchPAD device. Step 1: Turn the Rotary Switch on the panel of the TPD-280 to “1”, and then reset the TouchPAD device. Refer to Section 1.2 Hardware Overview for more details.
  • Page 39 3.3 Demo 2 (Remote I/O: Light, Temperature, Communication Detector) Demo 2 is designed using the LD language and creates two HMI frames: Frame1: Light display/control (DI/DO) x 8, Temperature display (I-7018Z ch0) x 1 Communication detector (I-7055, I-7018Z) x 1 Frame switch x 1 Frame2: Scene picture x 1...
  • Page 40: Hmi Frame Design

    3.3.1 HMI Frame Design Step 1: Create a new TPD-280 project based on LD (refer to Section 2.2 for more details). Select the device Enter a project name Enter the default directory for saving the project Select the HMI display orientation Select the programming type Step 2: Set up the connection.
  • Page 41 provide a connection name or click the “Assign name” button to have a name assigned by the system. Step 3: Configure the I/O device tags. (This demo uses I-7055D, I-7018Z) a. Right click the “Device” item in the “Workspace” tab, then select the “New Device” option.
  • Page 42 e. Enter a device name or click the “Assign Device Name” button to have a name assigned by the system. f. Repeat the steps above to add details for the I-7018Z I/O module (Net ID = 2). Step 4: Create the light display/control. (This demo uses 8 DI/DOs) a.
  • Page 43 Step 5: Create the temperature display. (This demo uses I-7018Z ch0) To display the temperature value, you can use either the height or width values of the “Slider” component to display the image as a rectangle, or choose the “Label” component to display the value numerically.
  • Page 44 d. Select the “TagName” browse button to enter the “Select variable” window. Click “Scope” to set the I/O Tag (This demo uses I-7018Z AI ch0). e. Repeat the previous steps, and select the “Label” component from the “Toolbox” panel, draw a rectangle, edit its font and outline color properties, etc. in the “Properties Inspector”...
  • Page 45 b. Select “BitButton” from the “Widget (Ctrl+2)” panel in the Toolbox, then click and drag a rectangle in the “Frame1” window. c. Edit the properties for the button in the “Inspector” panel. Set the “Reference” field as “Frame2” and enter the label for the button in the “Text” field. Step 8: Create the Text components.
  • Page 46 Tips & Warnings Note: If the “TextAsImage” option is set to “True”, the TouchPAD can display text in the local language (such as traditional Chinese, or any other language supported by MS Windows). The “Text” and “BitButton” items converted from text and displayed in image mode, so they will take more memory space.
  • Page 47 Tips & Warnings a. Changing the “HiColor” property to “True” can improve the image resolution, but the file size will be increased at the same time. b. You can create a picture using “Microsoft Paint”. Use Select All (Ctrl+A), then Copy (Ctrl+C), and then Paste (Ctrl+V) the picture into the HMI frame.
  • Page 48 Step 11: Create the light displays. Refer to the procedure described in Step 4 and create two light displays, and then assign the tags “I_7055_1_DO0” and “I_7055_1_DO1” in the “TagName” field in the “Inspector” panel for each component. Step 12: Create a frame switch for Frame2. Refer to the procedure described in Step 7 and create a frame switch for Frame 2.
  • Page 49: Editing An Ld Program Using "Ladder Designer

    3.3.2 Editing an LD Program using “Ladder Designer” In this demo, we use the “Light Control” button (V1) to control two lights (DO0 and DO1 from the I-7055D module). Step 1: Open the “Ladder Designer” program. a. In the design window for Frame2, select the “Light Control” button. b.
  • Page 50 b. In the designer window, select the “Coil” item and then click the “F5” button or press “F5” on your keyboard to add a new Coil, as per the picture below. Normal Open Switch Coil Step 3: Assign the variables. a.
  • Page 51 b. Use a similar approach (except using the “S” on the keyboard instead of “P”) to switch the type of the Coils to “Set (S)”. “Positive” type “Set” type Step 5: Create a second contact. Using the same approach as the previous step, create another Contact with two Coils, but set the types to “Negative (N)”...
  • Page 52: Device Setup (Touchpad)

    3.3.3 Device Setup (TouchPAD) Select “Set up Device (TouchPAD)” option from the “Run” menu to set up the download interface. Refer to Section 3.2.2 for more details. Tips & Warnings The COM number used by your PC can be determined by accessing the “Device Manager”...
  • Page 53 b. Change the Refresh Time to an appropriate value. TPD/VPD Series - Getting Started v.1.0.5 Page 49 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 54: Demo

    3.4 Demo 3 (Multi HMI with ISaGRAF PAC: Light, Temperature, Communication Detector) Using Demo 2, we have described how to establish an I/O connection and create components, and introduced the HMI Ladder Designer. The following is a brief introduction to Demo 3. In Demo 3, two TPD-283 modules are linked to an ISaGRAF PAC (µPAC-7186EG, as a Modbus TCP Server) and are used to read/write to two I/O modules (M-7055D and M-7018Z) where the Modbus Tags are configured using an ISaGRAF program.
  • Page 55 PoE Ethernet Switch (NS-205PSE-24V) Power Ethernet Supply Power Supply (KA-52F-48, 48V) TPD-283 Modbus TCP Server 乙太網路供電 (µPAC-7186EG) Ethernet (PoE) IP: 192.168.1.204 Mask: 255.255.255.0 NET-ID: 1 RS-485 (Data+) Power RS-485 (Data-) K-Type wire Baud Rate: 19200 bps Checksum: Disabled M-7018Z-G/S (10-ch. Thermocouple Input Module with High Voltage Protection) M-7055D...
  • Page 56: Hmi Frame Design

    3.4.1 HMI Frame Design Step 1: Create a new TPD-283 project in the Ladder program. (Refer to Section 2.2 for more details) Use TPD-283 Step 2: Create a connection (TCP/IP). (Refer to the Step2 in Section 3.3.1 for more details) Enter the IP address of the device (controller) that is connected to the TouchPAD (This demo uses a µPAC-7186EG server).
  • Page 57 Step 3: Configure the I/O Tags. (Device: µPAC-7186EG, refer to Step 3 in Section 3.3.1 for more details) a. In the “Workspace” panel, right click on the “Device” item and select the “New Device” option. b. In the “Devices” dialog window, set “Device Series” option to “Modbus TCP” and set the “Connection”...
  • Page 58 Step 5: Create the light display/control. Follow the same procedure as that described in Step 4 of Section 3.3.1 in Demo 2 to create eight DI/DO lights. Step 6: Create the temperature display. (This demo uses AI0) Follow the same procedure as that described in Step 5 of Section 3.3.1 in Demo 2 to create a “Slider”...
  • Page 59 Tips & Warnings The M-7018Z for K-type thermocouple sensor only allows for a single decimal place, so in this case, the value 269 means 26.9 degrees Centigrade. If the decimal point needs to be displayed, refer to Appendix E for details of how to achieve this.
  • Page 60 panel in the Toolbox and then click and drag a rectangle in the Frame1 window. b. In the “Inspector” panel, set the “TagName” variable to “V1” and change the color and font items to the desired values. (Note: The Ladder program for this demo will be introduced in the next section.) Step 10: Create another Check Box for the “Saving Mode”...
  • Page 61: Using "Ladder Designer" To Edit An Ld Program

    3.4.2 Using “Ladder Designer” to edit an LD Program This section will introduce the Ladder program for the “All ON/OFF” and “Saving Mode” switches that were created in the previous section. Step 1: Open the “Ladder Designer” program. From the “HMI” menu, select the “Ladder Designer” option or press “F4” on your keyboard to open the “Ladder Designer”...
  • Page 62 either the “spacebar” or “P” on the keyboard to change the type for “V1” to “P” (Positive). Repeat the procedure to change the Coil types to “S” (Set). (Refer to Step 4 of Demo 2 in Section 3.3.2 for more details) f.
  • Page 63 TPD/VPD Series - Getting Started v.1.0.5 Page 59 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 64 3.4.3 Device Setup (TouchPAD) The project design is now finished and is ready to be downloaded to the TouchPAD. In Demo 3, there are two Web series TouchPAD (TPD-283) device that must be configured and have an IP assigned before downloading the project. The default settings for the TPD-283 are “IP = 192.168.255.1”, “Gateway = 192.168.0.1”...
  • Page 65 d. Use the MAC Address that is displayed on the back panel of the TPD-283 to identify the device module. Set up the device as the picture below: “Host IP Address” (PC): IP Address of the PC where HMIWorks is installed “Device IP Address”...
  • Page 66 execute the "Setup Device (TouchPAD)" procedure to search for TouchPAD again. e. Follow the same procedure that described above to set up the second TPD-283 device. For example: “Device IP Address” (middle): set to “192.168.1.203” and select “Static IP” “Device IP Address” (bottom): set to “192.168.1.205” 3.4.4 Download the Project The rotary switch should have been moved to the “1”...
  • Page 67 Tips & Warnings Note: The rotary switch of the TPD-283 should only be moved to the Mode 1 position when setting the IP Address for the first time or if the project download fails. In all other situations, please ensure that the switch is in the Mode 0 position and restart the device.
  • Page 68: Demo List

    3.5 Demo List We have introduced you four demos (The top four items in the table below) in the previous chapter. From now on, we will continually add demos in following table to help users understand the HMIWorks software for their first-time usage. Name Description Demo_00...
  • Page 69: Appendix A. Downloading Information

    Appendix A. Downloading Information This manual is only a brief introduction to the TouchPAD functions. Please visit the following websites for more detailed information about the TouchPAD series. User Manual: http://ftp.icpdas.com/pub/cd/touchpad/document/english/ Products Website: http://www.icpdas.com.tw/product/solutions/hmi_touch_monitor/touchpad/tpd-280.html http://www.icpdas.com.tw/product/solutions/hmi_touch_monitor/touchpad/tpd-430.html http://www.icpdas.com.tw/product/solutions/hmi_touch_monitor/touchpad/vpd-130.html Products Datasheets: http://ftp.icpdas.com/pub/cd/touchpad/document/english/data_sheet/tpd-280(u)_tpd-283( en).pdf http://ftp.icpdas.com/pub/cd/touchpad/document/english/data_sheet/tpd-430_tpd-430-eu( en).pdf http://ftp.icpdas.com/pub/cd/touchpad/document/english/data_sheet/vpd-130_vpd130n(en...
  • Page 70: Appendix B. Configuring The I/O Module

    Appendix B. Configuring the I/O Module This appendix describes how to use the DCON Utility to configure the Address, Net ID, Baud Rate and Data format for the I/O module. The DCON Utility and the user manual can be downloaded from the following website: ftp://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/dcon_utility/ Hardware Wiring I-7561 (USB/RS-485...
  • Page 71 I/O Configuration I-7055D: a. First, move the switch on the back of the I-7055D to “Init” mode, and reset the module. b. Run the “DCON Utility” from the icon on the desktop or from the Start menu: “Start” > “All Programs” > “ICPDAS” > “DCON_Utility” > “DCON_Utility”. c.
  • Page 72 e. Set the Address to 1, the Baud rate to 19200, and click the “Settings” button, and then the following message will be displayed. Click the “OK” button to continue. f. Switch the I-7055 to “Normal” mode and reset the module, then search for the module again to confirm the configuration.
  • Page 73 Tips & Warnings Note: The “T/C ?-type”, with the wire opening detection feature, cannot be selected when the channel is not being used. As shown in the picture below, if the field (background is yellow) of the “Channel Enable/Disable Setting” part shows “+9999.900”, it means that the “Input Range”...
  • Page 74 (Modbus RTU). Note: If you use HMIWorks v2.02 or later, please set the “Data Format” parameter to “2’s complement”. TPD/VPD Series - Getting Started v.1.0.5 Page 70 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 75: Appendix C. Creating Your Own Gui

    Appendix C. Creating Your Own GUI The HMIWorks Libraries provide many images and icons for integration into the GUI (Graphical User Interface), and users can also create their own custom GUIs. a. First, open an image file in MS “Paint”, then click the toolbox to select the entire image (or press Ctrl+A on the keyboard) and then choose the copy option from the “Edit”...
  • Page 76 Appendix D. Configuring and Programming the ISaGRAF This chapter introduces the ISaGRAF program and the ISaGRAF PAC used with the TouchPAD implemented in Demo 3 (Section 3.4). ISaGRAF PAC Configuration: The µPAC-7186EG settings used in Demo 3: COM2: Master Baud Rate: 19200 IP: 192.168.1.204 Mask: 255.255.255.0 Refer to the µPAC-7186EG getting started (Sections 3.7 and 3.8) for details of the...
  • Page 77 ISaGRAF Program Description: Reading 8 Booleans from the Modbus device: ID =1 Return: OK: True Read from Modbus 0 Fail: False Format: Bit Converting 1 Word (Signed 16-bit) to 16 Booleans: TPD/VPD Series - Getting Started v.1.0.5 Page 73 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 78 Writing 8 Booleans to the Modbus device: ID =1 Return: Read from OK: True Modbus 0 開始讀取 Fail: False Reading 10 Words (Signed 16-bit) from the Modbus device: ID =2 Return: OK: True Read from Modbus 0 Fail: False Format: Word TPD/VPD Series - Getting Started v.1.0.5 Page 74 Copyright@ 2012 ICP DAS CO., LTD.
  • Page 79: Appendix E. Displaying The Decimal Point

    Appendix E. Displaying the Decimal Point The numbers used in the “Ladder Designer” are displayed in integer format without decimal digit. In some case, you may need to calculate or display the decimal. This appendix introduces how to display the decimal point for the thermocouple input modules, I-7018Z (DCON protocol) and M-7018Z (Modbus protocol).
  • Page 80 M-7018Z Module Please refer to the product website for details of the temperature input range, and refer to Section 3.5 “Engineering Data Format Table” of the M-7018Z module manual for details of the maximum number of decimal digits allowed for each input type. The Modbus protocol uses 2 bytes to access the data value, so the range value is –32768 ~ +32767.
  • Page 81: Appendix F. Using Usb To Download A Program

    Appendix F. Using USB to Download a Program All the TPD-280U, TPD-430, TPD-430-EU, VPD-130, VPD-130N devices contain a USB Port. After completing the HMIWorks project, and without having to click the “Setup Device” option from the “Run” menu, the user only needs to download the program to the TouchPAD via the USB port.
  • Page 82 Tips & Warnings Note: If your PC has a different OS installed, you may need to use a different installation procedure. If the “Hardware Update Wizard” dialog box is not automatically displayed, please go to the “Device Manager” and right click on the appropriate device name and select “Update Driver…”...
  • Page 83 Step 3: Update Drivers Select “Install from a list…. (Advanced)” and click the “Next” button. Step 4: Select the install options Select “Search for the best driver…” and check the “include this location…” checkbox, then press the browse button to install the driver from the following location: C:\ICPDAS\HMIWorks_Standard\Tools\USB_Drivers Click the “Next”...
  • Page 84 Step 5: Completing installation Once the driver is successfully installed, the following screen will be displayed. Click the “Finish” button to complete the installation process. Download the Program via the USB Port After downloading the USB driver as described in the previous step, restart the TouchPAD and the following screen will be shown.
  • Page 85 When the TouchPAD screen shows that downloading is “100%” complete, turn the Rotary Switch to Mode “0” and restart the TouchPAD. The new program will be executed in “Run” mode. TPD/VPD Series - Getting Started v.1.0.5 Page 81 Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com...

Table of Contents