User Manual TPC-31/61 3.5"/ 5.
Copyright The documentation and the software included with this product are copyrighted 2012 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation.
Technical Support and Assistance 1. 2. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
Safety Instructions 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Read these safety instructions carefully. Keep this User Manual for later reference. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. Keep this equipment away from humidity. Put this equipment on a reliable surface during installation.
Wichtige Sicherheishinweise 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Bitte lesen sie Sich diese Hinweise sorgfältig durch. Heben Sie diese Anleitung für den späteren Gebrauch auf. Vor jedem Reinigen ist das Gerät vom Stromnetz zu trennen. Verwenden Sie Keine Flüssig-oder Aerosolreiniger. Am besten dient ein angefeuchtetes Tuch zur Reinigung. Die NetzanschluBsteckdose soll nahe dem Gerät angebracht und leicht zugänglich sein. Das Gerät ist vor Feuchtigkeit zu schützen.
Contents Chapter 1 General Information ............................1 1.1 1.2 Introduction ............................................................................................... 2 Specifications ............................................................................................ 2 1.2.1 System Kernel............................................................................... 2 1.2.2 I/O Ports........................................................................................ 2 1.
4.3 4.4 Figure 4.8 Misc Page................................................................. 22 Figure 4.9 Reboot Machine ....................................................... 22 Figure 4.10Registry Saving Success.......................................... 23 Figure 4.11Registry Editor.......................................................... 23 4.2.3 Advantech Tools ......................................................................... 24 Figure 4.12Advantech Tools...................................
Appendix D Visual Settings ...................................49 D.1 Font Setting............................................................................................. 50 Figure D.1 Font Setting .............................................................. 50 Figure D.2 Small Font Setting .................................................... 50 Figure D.3 Change Font Setting................................................. 51 Figure D.4 Small Font Display...........................................
TPC-31/61 User Manual x
Chapter 1 1 General Information This chapter gives background information for the TPC-31/61 series.
1.1 Introduction The TPC-31/61 series of touch panel computers consist of state-of-the-art HMI (Human Machine Interfaces). The 3.5"/5.7” operator interface combined with a RISCbased computing platform offers these key features: Bright Display:The high-brightness LCD display provides a clear interface. Fanless: By using a low power processor, the system does not have to rely on fans, which often are unreliable, and attracts dust.
Safety FCC Class A, CE, BSMI, UL certified The front bezel is compliant with NEMA 4/ IP65 1.2.5 LCD Specifications TPC-31/61 Display Type TFT LCD Size (diagonal) 3.5”/5.7” Maximum Resolution 320 x 240 (QVGA) Maximum Colors 64K Viewing Angle 120/110; 160/140 Luminance (cd / m2) 450/800 Contrast Ratio 300:1 / 800:1 Backlight LED Backlight MTBF 30000 / 50000hrs 1.2.
1.2.8 I/O Ports Arrangement TPC-31T provides 1 serial port, 1 Ethernet LAN port and 1 USB port. While TPC-61T provides 3 serial ports, 1 Ethernet LAN, 2 USB port(1xHost, 1xClient). Figure 1.1 TPC-31T I/O Ports Arrangement Figure 1.
Figure 1.3 Panel Mounting 5 TPC-31/61 User Manual General Information There is an adhesive waterproof gasket on the front bezel. Make sure the waterproof gasket is in position before installing a TPC-31/61 panel computer into the panel opening. TPC-31T: 1. Install the panel computer into the panel opening. 2. Find the mount bracket, four short screws and four long screws in the accessory pack. Fix the mount bracket on the rear cover with four short screws and then fasten the long screws.
1.4 Dimensions and Cutout Weight: TPC-31T: 0.25 kg (0.55 lbs) TPC-61T: 0.8 kg (1.76 lb) Dimensions (WxHxD): TPC-31T: 120.79 x 85.5 x 26.5 mm (4.76" x 3.37" x 1.04") TPC-61T: 195 x 148 x 44.4 mm (7.68" x 5.83" x 1.75") Cutout: TPC-31T: 115 x 79.5 mm TPC-61T: 189 x 142 mm Figure 1.4 TPC-31T Dimensions and Cutout Figure 1.
Chapter 2 2 System Setup This chapter provides a brief explanation for operating the TPC31/61.
2.1 System Setup You can quickly get up and running by following the step-by-step instructions below. 1. Open the package. check the packing list at the beginning of this manual to make sure every item is there. 2. Connect the power connector to the 18~32 VDC power lines. The power lines can either be from some power adapter or an in-house power source. Figure 2.1 Power Connector and Power Lines Figure 2.
Figure 2.3 Power Line into the Power Receptor Turn on the System Calibrate the touchscreen. 9 TPC-31/61 User Manual System Setup 4. 5. Plug the power lines into the system power receptor. Thus the system will turn on. Chapter 2 3.
TPC-31/61 User Manual 10
Chapter 3 System Tuning Sections include: LCD Contrast Tuning Touchscreen Calibration Buzzer Setting 3
3.1 LCD Tuning The display settings let you control the backlight. Backlight provides a screen saving function. The backlight can be automatically turned off when the device is no longer used to lengthen the device life. Go to “Start” -> “Setting” -> “Control Panel” -> “Display” as shown in the Figure below. Figure 3.1 Display To set the time to automatically turn off, tick the check box “turn off backlight” and set the time to elapse by inputting a number in the edit box. Figure 3.
You can calibrate the touchscreen through “Start” -> “Setting” -> “Control Panel” -> “Stylus” as shown in the Figure below. System Tuning Figure 3.3 Style The window of the stylus properties will display after you click the stylus. There are two tabs in this screen: Double-Tap and Calibration. Double-Tap is used to record the time period between the two taps when double-tapping in Windows CE. Calibration is for users to calibrate the touch screen. Figure 3.4 Stylus Properties 13 Chapter 3 3.
Press “Calibration” and then click “Recalibrate” to calibrate the touch screen as shown below. A cross will appear on the screen in the order: center point, upper-left, lower-left, lower-right, and upper-right. Use the stylus to tap the center of the cross until the cross moves to next location. Figure 3.5 Touchscreen Calibration 3.3 Buzzer Setting TPC-31/61 panel computers provide a buzzer setting in Windows CE. This function enables a beep when users use the touch screen.
Chapter 3 System Tuning 15 TPC-31/61 User Manual
TPC-31/61 User Manual 16
Chapter 4 4 Windows CE Sections include: TPC Utilities Networking Application Program Development
4.1 Windows CE The TPC-31/61 operator interface terminals are designed for Windows CE. Windows CE is a compact operating system that occupies less storage space and use less system resources compared with other operating systems. By its modular nature, it is possible to choose the functions that are useful for a specific application. This not only reduced the system resources required, it also reduces start-up time.
There are several utilities built into Windows CE in the TPC series. 4.2.1 Soft-Keyboard The TPC-31/61 series also has a small-sized operator interface. Since it is not convenient to attach a keyboard to such a small device, a software keyboard is built into the standard Windows CE OS. Upon boot-up, a small keyboard icon will appear on the status bar. Tap this icon with the stylus to activate/hide this Soft-keyboard. Chapter 4 4.2 TPC Utilities Windows CE Figure 4.2 Soft-Keyboard 4.2.
General Page This page displays the basic system information. There are two main parts: system and memory. The system shows the OS image version and CPU type. The second part includes total capacity, usage and currently available capacity of the disk and the memory. Figure 4.4 General Network This page shows information about the active network adapter. You can select the network adapter from the combo box as shown in Figure 4.5.
Windows CE Figure 4.6 Advanced Network Watchdog Watchdog is a function to let the device automatically reset if a program does not respond in time. This prevents system crashes and hangs to stop your critical applications, as the watchdog will automatically restart the machine when required. Set the response time through the combo box as shown below. The timer is the period that the watchdog will wait for a response. Figure 4.
Misc There are several functions provided in the Misc page as shown in the figure below. Figure 4.8 Misc Page Startup Programs: You can easily set the startup programs without editing. The programs listed in the combo box will be automatically executed after the system has successfully booted. Click the “Add” button to insert a file to the startup. If you would like to remove the file from the startup or the combo box, please click “Delete”.
It is not allowed to backup and restore over different image versions. Figure 4.10 Registry Saving Success Figure 4.11 Registry Editor Web Server Root: Input the root path of the web server here. The root path will only be effective after the machine has been rebooted. FTP Server Root: Input the root path of the ftp server here. The root path will only be effective after the machine has been rebooted.
4.2.3 Advantech Tools There are several useful tools in the Advantech program. Go to “Start” -> “Programs” -> “Advantech” to run the tools as shown in Figure 4.12. The tools include “ActiveSync”, “Registry Editor”, “Registry Saver”, “DiagAnywhere”, “NotepadPlus”, “System Font Setting” and “TPC Version Information”. Figure 4.12 Advantech Tools ActiveSync This program synchronizes data and monitors the connection between TPC-31/61 panel computers and their host computer.
Chapter 4 NotepadPlus NotepadPlus is a text editor as shown in Figure 4.17. Windows CE Figure 4.13 NotepadPlus TPC Configurator TPC Configurator is an integrated utility to configure the basic settings of the panel computer. Refer to section 4.1.2. TPC Version Information TPC Version Information shows the version information of the operation system in the TPC-31/61 as shown in Figure 4.18. Figure 4.
4.2.4 Other Utilities There are other utilities provided in the panel computer. These utilities are commandline executed programs that do not have a graphical user interface. Type the command names shown below in the command-line. RegSave.exe [-s]: Saves registry settings. If you use “RegSave.exe -s”, no message box is displayed whether you are successful or fail. Reboot.exe: Saves the registry settings and reboots the panel computer. Screen.exe [on/off]: Turns the display on/off. Use “Screen.
A window that shows all available connections will pop up. Double click the icon that has the connection you want to configure. For example, double click DM9CE1 icon to configure. Windows CE Figure 4.16 Selected Connection 3. Select the “IP Address” tab. Figure 4.17 Setting IP Address 27 Chapter 4 2.
4. Select the “Name Server” tab. Figure 4.18 Settng Name Servers Note! 5. Do NOT click the Next button at this time. Press “Start” in of task bar of Windows and select “Run”. Execute “regsave” to save the registry settings to a storage card. Figure 4.
This section introduces how to setup the connection between the TPC series and a host PC via Microsoft ActiveSync. Setup the Communication Environment of TPC Configure COM1 on the TPC. Press “Start” in Windows and select “Setting -> “Control Panel” Click the icon “PC Connection” Figure 4.20 PC Connection 29 TPC-31/61 User Manual Windows CE ActiveSync Setting Procedure Insert the TPC CD into the CD-ROM of the host PC Install the TPC software development kit for eVC++. Install Microsoft ActiveSync.
Click 'change...' to select the COM port- serial 1. In this example, we use COM1 of TPC to connect with COM1 of the host. Figure 4.21 PC Connection Properties Check the COM box and select your desired port from the list. Figure 4.
You can find the change is active. The connection is via serial1 - COM1. Figure 4.24 COM1 Set Setting the Communication Environment of the Host Double click the icon ActiveSync on your host computer. Figure 4.25 Microsoft ActiveSync 31 TPC-31/61 User Manual Windows CE Figure 4.23 Change Connection Chapter 4 Press the 'enter' symbol on the keyboard to confirm the change.
Select “File” -> “Connection Settings” Figure 4.26 Select Connection Setting Configure the connection setting. Figure 4.
Chapter 4 A window will pop up after you press “Get Connected”. Windows CE Figure 4.28 Get Connected Run “repllog.exe” on the TPC. Figure 4.29 Run Repllog.exe on the TPC Press the “Next” button on your host computer. The message shown below will show on the TPC once the TPC and the host PC are connected.
Figure 4.30 Connection on the TPC A window will pop up as shown below on the host computer, once the TPC and the host PC are connected. Select “No” and then press “Next”. Figure 4.
Chapter 4 Select “Explore” in the Microsoft ActiveSync window, the window, Mobile Device, will pop up to display the file resources and information of TPC. For example, you could click the icon “My documents” to see the content of storage in TPC. Windows CE Figure 4.32 Explore the TPC 4.4 Application Program Development 4.4.1 System Requirements for Developers These are the requirements to run Microsoft eMbedded Visual C++ 4.0. A desktop computer with a Pentium II-class processor, 450 MHz or faster.
4.4.2 Building Windows CE Runtime Build the Windows CE runtime with the eMbedded Visual tools. This section demonstrates step by step how to develop a custom application. 1. Install Microsoft eMbedded Visual C++: The Microsoft eMbedded Visual C++ tool is a desktop development environment for creating applications and system components for Windows CE .NET-powered devices.
Chapter 4 Select “ADVTPC” in the main window of embedded Visual C++. Windows CE Figure 4.34 Selecting After you complete the configuration procedure, you can start to develop your application. Press “Build” to compile your program to a.exe file and download it to TPC. Figure 4.
TPC-31/61 User Manual 38
Appendix A Watchdog Timer Programming A
There is a built-in watchdog timer in the TPC-31/61 series. You can access it through the WIN32 API. TPC-31/61 panel computers provide a WDT driver to allow users to enable/disable the Watchdog timer. The driver name is “WDT1:”. Programmers must open this driver before using the resources. Then programmers can use Device IO Control functions to enable/disable Watchdog timer. The introduction below includes the Device IO Control, the definition of the parameter and an example. A.
lpOverlapped [in] Ignored; set to NULL. Return Values Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError. A.2 How to Use the Control Code There are 6 control codes for the operation codes in the WDT driver. A.2.1 IOCTL _WDT_ENABLE: Enables the Watchdog timer on your application.
A.2.5 IOCTL_WDT_SETTIMEOUT: Sets the Watchdog time setting. lpInBuffer : The DWORD pointer to your Watchdog time setting. The Watchdog time setting is just a number. 0 means 2 seconds, 1 means 5 seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds, others means 40 seconds. The default setting is 5 seconds. nInBufferSize:.unused. lpOutBuffer: unused. nOutBufferSize: unused. A.2.
} DWORD dwTemp; DWORD nIndex=2; // Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
TPC-31/61 User Manual 44
Appendix B B Fuse Specifications
B.1 Fuse Specifications Rating: 250 VAC, 1A Note! The fuse is set to break if the input voltage exceeds 32VDC.
Appendix C C Pin Assignments
C.1 RS-232 Pin Assignments Pin No. Description Pin 1 DCD Pin 2 Rx Pin 3 Tx Pin 4 DTR Pin 5 GND Pin 6 DSR Pin 7 RTS Pin 8 CTS Pin 9 RI C.2 RS-485 Pin Assignment Pin No.
Appendix D Visual Settings D
There are two powerful and friendly utilities included to extend the visual capabilities of TPC-31T/61T. The two utilities are used to set the font size and rotate the screen. D.1 Font Setting Go to start->programs->advantech->system font setting. Figure D.1 Font Setting TPC-31T/61T provides two font settings - normal and small. Figure D.
Appendix D Visual Settings Figure D.3 Change Font Setting Figure D.
D.2 Screen Rotation Go to start->setting->control panel-> screen rotation as below. Figure D.5 Screen Rotation Select how you want the view display. Figure D.
Appendix D Visual Settings This screen is rotated 90 degrees in the example. Figure D.7 90 Degrees Rotation Figure D.
TPC-31/61 User Manual 54
Appendix E E TPC-31T /61T Update Guide
E.1 Updating Image & Bootloader In order to update the image & bootloader for the TPC-31T/61T, please follow below guideline: Click "My device", you can see two HardDisk (external SD card & internal storage) inside. HardDisk2 (External SD Card) is the image file source while HardDisk (Internal Storage) is destination. There are three files needed for image and bootloader update (MLO, EBOOTST.nb0, NK.nbl). You need to copy them to an SD card before updating process. 1. Copy new "MLO" and "EBOOTSD.
After initial success, the new image will be implemented. You can check the image version under Version Information. Note! This update process is only for image version V3.03 B240.From next image version, TPC-31T/61T system will check image status from external SD card and update latest image to bootloader automatically. 57 TPC-31/61 User Manual Appendix E TPC-31T /61T Update Guide 5.
6. The Boot Loader version can be checked at system power on stage.
Appendix F F Jumper & Dip Switch Setting List
F.1 TPC-31T Component construction F.1.1 EAMB-2201 Top side F.2 Jumper Setting DIP Switch SW6 RS-232 /RS485 Selection RS-485 Setting SW6.
TPC-61T Component construction Appendix F Jumper & Dip Switch Setting List F.3 F.3.1 EAMB-2200 Top side F.3.
F.4 Jumper Setting DIP Switch F.4.1 SW3 UART Controlled Function SW3 Description Default UART Controlled Function This switch is used to select UART Controlled Function PIN6:URAT Mode Selection ON UART Mode Selection SW3.
Appendix F Jumper & Dip Switch Setting List TPC-31/61 User Manual 63
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd.