ICPDAS TPD-280, VPD-130, TPD-283, VPD-130N, TPD-280U User Manual

...
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 1
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
TouchPAD
TPD/VPD Series HMI Device
Compact User Manual
Version 1.0.4
This compact user manual is the simplified version of the user manual. For details, refer to the user manual of the full version.
ICP DAS Co., Ltd.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 2
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Support
ICP DAS take your problem as ours.
If you have any problem, please feel free to contact us. You can count on us for quick response.
Email: service@icpdas.com Tel: 886-3-5973336
Also, the FTP site of ICP DAS has contents about TouchPAD which you may be interested in. We believe that those contents may be helpful to your work.
FTP: ftp://ftp.icpdas.com/pub/cd/touchpad/
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, not for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright @ 2011 by ICP DAS Co., Ltd. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their respective companies.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 3
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Content
1. General Specifications ........................................................................................ 4
1.1. TPD-28x Series ....................................................................................... 4
1.2. TPD-28xU Series .................................................................................... 5
1.3. TPD-43x Series ....................................................................................... 6
1.4. VPD-13x Series ....................................................................................... 7
2. Hardware .............................................................................................................. 8
2.1. Hardware Overview ................................................................................ 8
2.2. Dimension ................................................................................................. 9
2.3. Installation and Wirings ........................................................................ 10
3. Setup Device / Connect I/O ............................................................................. 11
3.1. Setup Devices ........................................................................................ 11
3.1.1. Setup TPD-280 ............................................................................ 12
3.1.2. Setup TPD-283 ............................................................................ 13
3.1.3. Setup Other Devices in TouchPAD Series .............................. 15
3.2. Connect to I/O Modules ....................................................................... 17
4. Development Tool, HMIWorks ......................................................................... 19
4.1. The Construction of HMIWorks ........................................................... 19
4.2. Ladder Designer .................................................................................... 20
4.2.1. Getting Started ............................................................................. 21
4.2.2. Introduction to Ladder Designer ............................................... 21
4.2.3. Operations of Ladder Designer ................................................. 23
4.2.4. Associate Tags with Tools .......................................................... 24
4.3. Frames and Tools .................................................................................. 25
4.4. Menus...................................................................................................... 27
5. Make a Simple Project...................................................................................... 28
5.1. Integrate TPD-280 with I/O .................................................................. 28
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 4
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
1. General Specifications
1.1. TPD-28x Series
Models
TPD-280
TPD-283
Image
CPU Module
CPU
Low-power 32-bit RISC CPU
Buzzer
Yes
Rotary Switch (0~9)
Yes
Communication Interface
Ethernet
-
RJ-45 x 1, 10/100 Base-TX
Serial Port
RS-485 (including Self-Tuner)
-
MMI (Main Machine Interface)
LCD
2.8” TFT (Resolution 240 x 320 x 16), bright pixels <= 3
Backlight Life
20,000 hours
Brightness
160 cd/m2
Touch Panel
Yes
Reset Button
Yes
Electrical
Power Input
+10 ~ 30 VDC
PoE (Power over Ethernet)
Consumption
1.2 W (50 mA @ 24 VDC)
IEEE 802.3af, Class 1
Mechanical
Dimensions (WxLxH)
76mm (W) x 119mm (L) x 31mm (H)
Installation
Wall Mount
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 5
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Environmental
Operating Temperature
-20 ~ +70 °C
Storage Temperature
-30 ~ +80 °C
Ambient Relative Humidity
10 ~ 90% RH, non-condensing
1.2. TPD-28xU Series
Models
TPD-280U
Image
CPU Module
CPU
Low-power 32-bit RISC CPU
Memory Expansion
16 MB SDRAM / 8 MB Flash
Real Time Clock (RTC)
Yes
Buzzer
Yes
Rotary Switch (0~9)
Yes
Communication Interface
Serial Port
RS-485 (including Self-Tuner)
USB 1.1 Client
Firmware updates only
MMI (Main Machine Interface)
LCD
2.8” TFT (Resolution 240 x 320 x 16), bright pixels <= 3
Backlight Life
20,000 hours
Brightness
160 cd/m2
Touch Panel
Yes
Reset Button
Yes
Electrical
Power Input
+10 ~ 30 VDC
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 6
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Consumption
1.2 W (50 mA @ 24 VDC)
Mechanical
Dimensions (WxLxH)
76mm (W) x 119mm (L) x 31mm (H)
Installation
Wall Mount
Environmental
Operating Temperature
-20 ~ +70 °C
Storage Temperature
-30 ~ +80 °C
Ambient Relative Humidity
10 ~ 90% RH, non-condensing
1.3. TPD-43x Series
We will provide 4.3 TouchPAD. They have not been released yet. Though they are close to the final version, the spec. may be changed.
Models
TPD-430
TPD-430-EU
Image
Coming soon ~
Coming soon ~
CPU Module
CPU
Low-power 32-bit RISC CPU
Memory Expansion
16 MB SDRAM / 8 MB Flash
Real Time Clock (RTC)
Yes
Speaker
Yes
Rotary Switch (0~9)
Yes
Communication Interface
Serial Port
RS-485 (including Self-Tuner)
USB 1.1 Client
Firmware updates only
MMI (Main Machine Interface)
LCD
4.3” TFT(Resolution 480 X 272 X 16)
, bright pixels <= 3
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 7
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Backlight Life
20,000 hours
Brightness
400 cd/m2
Touch Panel
Yes
LED Indicator
Yes
Audio
Earphone Out
Reset Button
Yes
Electrical
Power Input
+10 ~ 30 VDC
Consumption
2.5 W (104 mA @ 24 VDC)
Mechanical
Dimensions (WxLxH)
126mm(W) x 82mm(L) x 24mm(H)
126mm(W) x 92mm(L) x 29mm(H)
Installation
Wall Mount
(Suitable for the outlet box in
United States )
Wall Mount
(Suitable for the European 86mm
x 86mm outlet box)
Environmental
Operating Temperature
-20 ~ +70 °C
Storage Temperature
-30 ~ +80 °C
Ambient Relative Humidity
10 ~ 90% RH, non-condensing
1.4. VPD-13x Series
VPD series devices are designed for industrial applications.
Models
VPD-130
VPD-130N
Image
CPU Module
CPU
Low-power 32-bit RISC CPU
Memory Expansion
16 MB SDRAM / 8 MB Flash
Real Time Clock (RTC)
Yes
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 8
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Buzzer
Yes
Rotary Switch (0~9)
Yes
Communication Interface
Serial Port
RS-232/ RS-485, including Self-Tuner
USB 1.1 Client
Firmware updates only
MMI (Main Machine Interface)
LCD
3.5” TFT (Resolution 240 x 320 x 16), bright pixels <= 3
Backlight Life
20,000 hours
Brightness
270 cd/m2
Touch Panel
Yes
LED Indicator
Yes
-
Reset Button
Yes
Rubber Keypad
5 keys (Programmable)
-
Electrical
Power Input
+12 ~ 48 VDC
Consumption
2 W (83 mA @ 24 VDC)
Mechanical
Dimension
103 mm (W) x103 mm (L) x 53mm (H)
Ingress Protection
Front Panel: IP65
Installation
DIN-Rail Mount and Panel Mount
Environmental
Operating Temperature
-20 ~ +70 °C
Storage Temperature
-30 ~ +80 °C
Ambient Relative Humidity
10 ~ 90% RH, non-condensing
2. Hardware
2.1. Hardware Overview
TPD-280
TPD-283
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 9
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
TPD-280U
Where is the reset button?
2.2. Dimension
TPD-280, TPD-280U (unit: mm)
TPD-283 (unit: mm)
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 10
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
2.3. Installation and Wirings
Mount the hardware
As the figure shows, embedded into the wall
With External Wall Box, EWB-Txx series, on the wall
Connect to power and network
TPD-280
TPD-283
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 11
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
TPD-280U
** Note: either “Ethernet” or “PoE” uses the same general Ethernet cable. ** PoE, power over Ethernet, means that the Ethernet cable conveys not only
data but also power.
3. Setup Device / Connect I/O
First of all, you should install HMIWorks in your PC. HMIWorks is the development tools for TouchPAD programs.
3.1. Setup Devices
There are several kinds of devices (TouchPADs). Before downloading programs to TouchPAD, TouchPAD must be setup. We describe how to setup each kind of devices in the following sections.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 12
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
3.1.1. Setup TPD-280
Configuration mode:
In the back of the TPD-280, configuration modes can be found. Use the rotary switch to set the configuration mode.
No
Mode
Description
0
Run Only
This mode is used for running programs.
1
Update Only
This mode is used for updating programs.
In the Run menu of HMIWorks, Click Setup Device. Select the com port that connects to the TPD-280. Before downloading programs to the TouchPAD, be sure to setup the TouchPAD (TPD-280) to connect first.
Download programs to TPD-280
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 13
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
3.1.2. Setup TPD-283
Configuration mode:
In the back of the TPD-283, configuration modes can be found. Use the rotary switch to set the configuration mode.
No
Mode
Description
0
Run & Update
This is a special run mode which is used in the development phase. TouchPAD can be updated by remote side PC through Ethernet.
1
Force Update
While program run on the TouchPAD seriously crashes, use this mode to update program to TouchPAD.
2
Run Only
Simply run, TouchPAD cannot be updated in this mode.
Default IP settings of TPD-283: IP = 192.168.255.1; Type = Static. In the Run menu of HMIWorks, Click Setup Device.
For TPD-283, downloading programs update TPD-283’s IP settings.
Because IP settings of TPD-283 are parts of the program file. The flow chart of setup TPD-283:
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 14
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Search TouchPad …” first. Clicking on the searched TPD-283 shows the
Setup Ethernet Device window. Choose the IP type, DHCP or Static, for the new program and then press OK. Run Run to download the new program.
Note1: MAC address can be found in the back of TPD-283.
HMIWorks uses MAC to search TouchPAD.
Note2: Be sure to put TPD-283 and your PC in the same subnet.
What to do if download process hangs?
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 15
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
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.)
For details, refer to the user manual.
3.1.3. Setup Other Devices in TouchPAD Series
Configuration mode:
Except TPD-280 and TPD-283, other devices in TouchPAD series have the same information of configuration modes on their shells. Use rotary switch to select.
No
Mode
Description
0
Run
This mode is used to run the application. (There is only one application on a TouchPAD.)
1
Update OS
This mode is used to update operating system of TouchPAD.
9
Update AP
This mode is used to download applications to TouchPAD. (There is only one application on a TouchPAD.)
All devices in the TouchPAD series have USB ports, except TPD-280 and
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 16
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
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.
Install TouchPAD USB Driver
To install DFU (Device Firmware Update) driver allows user to download programs to TouchPAD via USB port. Follow these steps to install the driver: (These steps are written for TouchPAD which have USB ports, such as TPD-280U, TPD-283U, TPD-430, TPD-433, etc.)
1. Using USB cable to connect to the TouchPAD Device. Rotary Switch set to “9” and you can see the screen of update mode.
2. The Found New Hardware Wizard pops up thereafter, and select “No, not this time” and press Next”.
3. Select “Install from a list or specific location (Advanced)” and press “Next”.
4. Select “Include this location in the search”. Browse to the location of the
driver files and press Next. The default path for the driver is:
[HMIWorks_Install_Path]\Tools\USB_windows_drivers
5. Finally, the Device Firmware Upgrade driver is installed successfully.
Download programs through USB
Plug the USB cable and follow the flow to download a program to TouchPAD.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 17
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Rotary Switch set to 9
Start
End
Reset
Run Run (F9)
Reset
Rotary Switch set to 0
After resetting , the
following screen should
be seen.
Download the
program
by Run Run
In back of TouchPAD
In back of
TouchPAD
Refer to the user manual to update OS through USB and do calibration.
3.2. Connect to I/O Modules
We provide connection methods for three series of I/O modules, PET-7000, I-7000, and M-7000 and a general method for Modbus TCP I/O modules. All these I/O modules have the same model for connections in general. They need to first create a new connection first (in the Workspace) and secondly import the tags for the specified I/O module (while registering device) Press F3 to register device in the Devices window.
Item
Description
Device Series
Specify the series which the I/O module to connect belongs to. (For example, PET-7000, I-7000, Modbus TCP, etc.)
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 18
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Connection
Specify the connection methods, TCPIP or UART, to connect to the I/O module.
Device Name
Specify the name of the I/O module. Users can assign a name they want.
Modal Name
Specify the modal of the I/O module to connect.
Net ID
The specified ID of the I/O module in the network. *Possible range: 0 ~ 255.
*note: for PET-7000 series, the possible range of Net ID is 1 ~ 255.
Create the Connections and Import Tags, Take PET-7000 series for example. For more details, refer to the user manual.
PET-7000 series I/O by Select
Create the
connections
Create a new connection through protocol “TCPIP”. Here we set Connection Name as TestMTCP.
Import tags
Press F3 to register device. Choose “Device Series” as
“PET-7000”, choose “Connection” as “TestMTCP” which you created in the previous step and press “Search”.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 19
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Click the I/O module you want and then press “OK” to add
tags of the specified I/O module.
Assign the “Device Name”, press “OK” and then you can see
the I/O module is added to the Workspace.
4. Development Tool, HMIWorks
4.1. The Construction of HMIWorks
Click File menu, then click on New….
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 20
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Choose the target module, Orientation, and the Default Programming Type. Press OK and HMIWorks integrated design environment shows as below.
Menu bar
Frame Design Space
Results window (Output and Errors)
Workspace
and
Toolbox
Inspector
and
Libraries
Status bar
4.2. Ladder Designer
Click HMI menu to use this feature.
New Virtual Tag: defines your
own variables
Register Devices: uses devices
of ICP DAS on the networks
Ladder Designer: designs your
ladder logics
Users can manage their ladder design in the Workspace. Right-click on the item for its pop-up menu.
Note: for detail descriptions or some advanced features, such as user-defined function block, user-defined I/O, Modbus RTU devices, please refer to user manual.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 21
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
4.2.1. Getting Started
To use Ladder Designer,
run HMIWorks_Standard.exe first.
Then create a new
project.
4.2.2. Introduction to Ladder Designer
A Ladder Designer is a tool to implement the ladder logic according to users’ design. Press F4 to open Ladder Designer.
The briefings of the function bar:
Item
Description
Insert a contact in the left of the cursor
Insert a contact in the right of the cursor
Insert a contact which is parallel to the cursor
Insert a coil
Insert a function block in the left of the cursor
Insert a function block in the right of the cursor
Insert a function block which is parallel to the cursor
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 22
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Insert a Jump which is parallel to the cursor
The briefings of the contact type:
Item
Description
A normally-open contact
A normally-closed contact
A positive transition contact
when the state from OFF to ON, trigger one shot
A negative transition contact
when the state from ON to OFF, trigger one shot
The briefings of the coil type:
Item
Description
A normally-open coil
A normally-closed coil
A “Set” coil
once triggered, the coil remains ON until a reset
A “Reset” coil
once triggered, the coil remains OFF until a set
A positive transition coil
when the state from OFF to ON, trigger one shot
A negative transition coil
when the state from ON to OFF, trigger one shot
The briefings of function blocks (for details, refer to user manual)
Item
Description (C codes)
Group
Assign
if(en == 1) {
out = in; eno = 1; return;
default
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 23
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
} else {
eno = 0; return; }
4.2.3. Operations of Ladder Designer
4.2.3.1. New Virtual Tags (F2)
To use Ladder Designer, add tags (variabls) for Ladder Designer first. Press F2 (HMI New Virtual Tag) to add virtual tags, an “Edit variable window shows.
4.2.3.2. Operations Table
Press F4 to open Ladder Designer. For details, refer to the user manual.
Operation
Description
Insert a rung
Move the cursor (the highlighted area) to the empty place and then press F2 (or F3, F4, F6, F7, F8).
Delete a rung
Move the cursor to the starting point of the rung and then press “Delete” key.
Insert a contact /coil
Move the cursor to the position of contact /coil and then press F2 (or F3, F4, F5) to insert new one left (or right, parallel) to it.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 24
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
delete a contact /coil
Move the cursor to the contact / coil you want to delete. Then press the “delete” key.
Associate tags to contact /coil
Double-click on the contact/coil to evoke the “Select variable” window to associate tags to it.
Change types of contact /coil
Move the cursor to a contact /coil and then press the space bar to change the types.
Insert a function block
Move the cursor to the position of the function block and then press F6 (or F7, F8) to insert new one left (or right, parallel) to it.
delete a function block
Move the cursor to the function block you want to delete. Then press the “delete” key.
Associate tags to the variables of function blocks
Double-click on the position just beside the variable of the function block but not in it to evoke the “Select variable” window to associate tags to it.
Jump to another rung
Jump-from: move the cursor to the coil and press
F9.
Jump-to: Double click on the starting point of the
rung to add a label.
4.2.4. Associate Tags with Tools
Until now, we can use Slider, CheckBox, and Label to associate themselves with tags.
There are three methods to associate tools with tags. Every change of the tag in the Ladder Designer is updated to the tool in the run time after association.
1. The first method: simply drag and drop the tags in the Workspace to the frame design space. A CheckBox is created with the tag associated. Note: this feature is only supported for the Widget, CheckBox.
1
3. Drag and drop the
tag (the I/O channel) on
the frame design space.
1. Pick a icon to
represent the tag.
2. Select a tag.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 25
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
2. The second method: double click on the widget on the frame design space to
evoke the “Select variable
window. And then double click on the tag you want to associate with the widget.
3. The third method is click on
the “” button of the
TagName property in the inspector of the Widget to
evoke the “Select variable
window. Similar steps as above.
4.3. Frames and Tools
Note: for detail descriptions, refer to the user manual.
In the Toolbox, there are three kinds of tools, Drawings, Widgets and System componets.
Drawing:
1. Rectangle: draw a rectangle.
2. Ellipse: draw ellipse.
3. Text: put string (text) on screen.
4. Picture: load an image file on a frame.
5. Line: draw a line.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 26
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Widget:
1. TextPushButton: create a button.
2. Slider: show or decide the percentage.
3. BitButton: create an image button.
4. HotSpot: create a hot spot that can issue an OnClick event.
5. CheckBox: provide an alternative.
6. Label: provide a string that can be modified during run-time.
System:
1. Timer: periodically execute codes.
2. PaintBox: draw shapes in the run time.
3. ObjectList: maintain a list of library objects which can be used through
property “RefObject” of
TextPushButton and CheckBox.
There are two ways to put a tool on the frame design space. One is clicking on the frame design space to put the tool on it; the other is dragging a rectangle to shape the tool, such as Rectangle, Ellipse, Picture, etc.
Use Inspector to change the properties of frames and tools. Below is a table of properties which users are not able to intuitively understand.
Property
Tool
Description
OnCreate, OnClick, etc.
Frame, BitButton, HotSpot, etc.
Evoke the code-edited window for event handlers.
Text
Text
Show the string in the Text property on the tool, Text
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 27
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
TextAsImage
Text
Set to true to take effect the property Font
Picture
Picture
The Picture property is used to load a image for the tool, Picture
HiColor
Picture
Set to true for 16-bit color representation for loading image. Thus it can prevent not-smooth gradient phenomenon of the loading picture but costs more storage space.
Reference
TextPushButton, BitButton, HotSpot
Refer to the specified frame. That is, clicking the tool, such as BitButton, jumps to the specified frame.
Note: the priority of the property
“Reference” is higher than that of
“OnClick”.
Interval
Timer
The repeating period of the OnExecute event of the Timer
OnPaint
PaintBox
Paint shapes, such as rectangles, ellipses, etc, in the runtime according to the codes in the OnPaint event handler.
RefObject
TextPushButton, CheckBox
Reference to the ObjectList which is used to maintain the two images as two states of the TextPushButton and the CheckBox.
4.4. Menus
The menu bar:
All the menus can be accessed from menu bar or the popup menu. We provide menus for cascading, grouping, rotating, flipping, aligning, etc. Besides, right click on the frame design space for pop-up menu. Users can add pictures or group of drawing tools into the library in the pop-up menu.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 28
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
5. Make a Simple Project
5.1. Integrate TPD-280 with I/O
In this example, we use TPD-280 to control an I-7066, the relay output module of ICP DAS. First, put I-7066 in the same RS-485 network of TPD-280 and configure I-7066 with DCON Utility (baudrate, data bit, parity, stop bit, Net ID). Download DCON Utility to install and refer to the user manual.
ftp://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/dcon_utility/
1. Create a new project
Go to the menu: File New…, and select the Model, then specify the Project name, etc. Here we choose programming type as [2] Ladder Program.
To simplify explanation, omit the GUI design.
2. Design the Ladder Diagram
Press F3 key or click on “Register Devicesin the “HMI” menu to evoke the Devices” window to register I-7066.
Refer to section Connect to I/O Modules in the chapter 3 for details.
Then pick up the picture which represents the tag. Drag and drop the tag that is corresponding to the DO0 of I-7066. On the frame design space, the picture you just pick is now on the frame.
TouchPAD Compact User Manual, version 1.0.4. Last Revised: April 2011 Page: 29
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
3. Setup Device
Refer to Setup Devicesin the chapter 3 for details.
4. Compile and Download to Run
After connecting to TouchPAD, press F9 to run (or Run
Run). As the following figure shows, pressing the button changes the output of channel 0 of the I-7066.
Loading...