TPC-30/32 Series Intel PXA270 Touch Panel Computer with 3.
Copyright The documentation and the software included with this product are copyrighted 2008 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.
CE This product has passed the CE test for environmental specifications. FCC Class A This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
12. Never open the equipment. For safety reasons, the equipment should be opened only by qualified service personnel. 13. If one of the following situations arises, get the equipment checked by service personnel: a. The power cord or plug is damaged. b. Liquid has penetrated into the equipment. c. The equipment has been exposed to moisture. d. The equipment does not work well, or you cannot get it to work according to the user's manual. e. The equipment has been dropped and damaged. f.
Wichtige Sicherheishinweise 1. Bitte lesen sie Sich diese Hinweise sorgfältig durch. 2. Heben Sie diese Anleitung für den späteren Gebrauch auf. 3. 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. 4. Die NetzanschluBsteckdose soll nahe dem Gerät angebracht und leicht zugänglich sein. 5. Das Gerät ist vor Feuchtigkeit zu schützen. 6.
Technical Support and Assistance Step 1. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Step 2. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
TPC-30/32 Series User Manual viii
Contents Chapter Chapter 1 General Information ....................................... 2 1.1 1.2 Introduction ....................................................................... 2 Specifications .................................................................... 2 1.3 1.4 1.5 1.6 LCD Specifications ........................................................... 4 Touchscreen Specifications............................................... 4 Power...........................................................
4.1.3 4.1.4 4.2 Networking...................................................................... 30 4.2.1 4.2.2 4.3 Figure 4.9:Reboot Machine ......................................... 23 Figure 4.10:Registry Saving Success ........................... 24 Figure 4.11:Registry Editor ......................................... 24 Advantech Tools .......................................................... 25 Figure 4.12:Advantech Tools ...................................... 25 Figure 4.
A.2.4 A.2.5 A.2.6 A.3 IOCTL_WDT_GETTIMEOUT: .................................. 47 IOCTL_WDT_SETTIMEOUT: .................................. 47 IOCTL_WDT_REBOOT: ........................................... 47 Examples ......................................................................... 48 Appendix B Fuse Specifications ........................................ 52 B.1 Fuse Specifications.......................................................... 52 Appendix C Pin Assignments ..........................
TPC-30/32 Series User Manual xii
CHAPTER 1 2 General Information This chapter gives background information for the TPC-30/32 series.
Chapter 1 General Information 1.1 Introduction The TPC-30/32 series of touch panel computers consist of state-of-the-art HMI (Human Machine Interfaces). The 3.5"operator interface combined with a RISC-based 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.
1.2.2 I/O Ports • 1 serial port: RS-232 or RS-485 for TPC-30 (default as RS-232) CAN-Bus for TPC-32 (RS-232 for debug mode support) • 1 RJ-45 Ethernet port (LAN will crash when speed mode is changed) • 1 USB host port compliant with USB 1.1 1.2.3 Storage TPC-30/32 panel computers provide two methods for storage. One is the on-board 32 MB NAND flash and the other one is an SD card. 1.2.
1.3 LCD Specifications TPC-30/32 Display Type TFT LCD Size (diagonal) 3.5” Maximum Resolution 320 x 240 (QVGA) Maximum Colors 64K Pixel Pitch (W x H) 0.073 x 0.219 mm Viewing Angle 120° (H) x 110° (V) Luminance (cd / m2) 400 Contrast Ratio 300 Operating Temperature -20 ~ 70° C (Ambient) Backlight LED Backlight MTBF 30,000 hours 1.
1.6 I/O Ports Arrangement TPC-30/32 panel computers provide 1 serial port, 1 Ethernet LAN port and 1 USB port. Figure 1.1: I/O Ports Arrangement 1.7 Panel Mounting There is an adhesive waterproof gasket on the front bezel. Make sure the waterproof gasket is in position before installing a TPC-30/32 panel computer into the panel opening. 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.
1.8 Dimensions and Cutout • Weight: 0.5 Kg • Dimensions (WxHxD): 121 x 85.5 x 26.5 mm (4.76" x 3.37" x 1.75") • Cutout: 115 x 79.5mm Figure 1.
CHAPTER 2 2 System Setup This chapter provides a brief explanation for operating the TPC-30/32.
Chapter 2 System Setup You can quickly get up and running by following the step-by-step instructions below. 1. Open the package. Please check the packing list at the beginning of this manual to make sure every item is there. 2. Connect the power connector to the 8~28 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.
Warning 3. The system may be damaged when the power is turned on if the power source is not connected to the correct pins. Plug the power lines into the system power receptor. Thus the system will turn on. Figure 2.3: Power Line into the Power Receptor 4. Turn on the System 5. Calibrate the touchscreen.
TPC-30/32 Series User Manual 10
CHAPTER 3 2 System Tuning Sections include: • LCD Contrast Tuning • Touchscreen Calibration • Buzzer Setting
Chapter 3 System Tuning 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. Please 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.
3.2 Touchscreen Calibration You can calibrate the touchscreen through “Start” ‡ “Setting” ‡ “Control Panel” ‡ “Stylus” as shown in the Figure below. 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. DoubleTap is used to record the time period between the two taps when doubletapping in Windows CE. Calibration is for users to calibrate the touch screen. Figure 3.
Figure 3.5: Touchscreen Calibration 3.3 Buzzer Setting TPC-30/32 panel computers provide a buzzer setting in Windows CE. This function enables a beep when users use the touch screen. To enable/ disable this functionality, open “Start” ‡ “Setting” ‡ “Control Panel” ‡ “Volume & Sounds” as shown in Figure 3.6. Figure 3.6: Volume & Sounds Setttings 1 As shown in Figure 3.7, you can enable/disable this functionality. Figure 3.
15 Chapter 3
TPC-30/32 Series User Manual 16
CHAPTER 4 2 Windows CE Sections include: • TPC Utilities • Networking • Application Program Development
Chapter 4 Windows CE The TPC-30/32 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.
4.1 TPC Utilities There are several utilities built into Windows CE in the TPC series. 4.1.1 Soft-Keyboard The TPC-30/32 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. Figure 4.2: Soft-Keyboard 4.1.
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.
You can get more detailed IP information through “Advanced Network”. The information contains the default gateway, DHCP server, WINS and DNS server address as shown in Figure 4.6 below. 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.
Only when you select a time span and enable the watchdog, will the response time be effective. When the watchdog is enabled and the "Test" button is clicked, the NO resetting signal will be periodically sent to the watchdog hardware onboard. The watchdog will suppose the machine to be deadlocked and REBOOT it after the watchdog response time. If the machine reboots as expected after the watchdog response time, the watchdog is proved to be working properly.
Reboot: You can reboot TPC-30/32 panel computers by clicking the “Reboot” button. Once this button is clicked, the dialog below will be displayed. Figure 4.9: Reboot Machine There are two additional ways to reboot the system, clicking a small machine icon on the status bar and executing a command, reboot.exe, through a command line program. Registry: You can click the “Save” button to save the registry to a solid state disk, and click the “View” button to view, edit, create, or delete registry information.
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.1.3 Advantech Tools There are several useful tools in the Advantech program. Please go to “Start” ‡ “Programs” ‡ “Advantech” to run the tools as shown in Figure 4.12. The tools include “ActiveSync”, “Registry Editor”, “Registry Saver”, “Remote Display Application”, “NotepadPlus”, “System Font Setting” and “TPC Version Information”. Figure 4.12: Advantech Tools ActiveSync This program synchronizes data and monitors the connection between TPC-30/32 panel computers and their host computer.
Remote Display Application Remote Display Application displays a Windows CE device screen on a remote desktop. It works with the Windows CE Remote Display Host application. Because the connection is through the network, the network function of the host machine and panel computer must work properly. Via the Remote Display Application you can see the display of the panel computer and control it from a host machine. Remote Display Host application (cerhost.
Figure 4.14: Remote Display Application Figure 4.15: Connect Once the connection is successfully established, you can see the display of the panel computer and control it from the host machine as shown in Figure 4.16.
Figure 4.16: Remote Display Host Application NotepadPlus NotepadPlus is a text editor as shown in Figure 4.17. Figure 4.17: NotepadPlus TPC Configurator TPC Configurator is an integrated utility to configure the basic settings of the panel computer. Please refer to section 4.1.2.
TPC Version Information shows the version information of the operation system in the TPC-30/32 as shown in Figure 4.18. Figure 4.18: TPC Version Information 4.1.4 Other Utilities There are other utilities provided in the panel computer. These utilities are command-line executed programs that do not have a graphical user interface. Please type the command names shown below in the command-line. Bright.exe [Level]: Sets the brightness level of the display. The parameter is from 1 to 10. Buzzer.
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.exe on” to turn on and “Screen.exe off” to turn off the display. Iesample.exe [-n] [-f] [ip address/ folder name]: Open the Internet Explorer. Use "Iesample.exe -n" to close the scroll bar. Use "Iesamples.exe -f" to active the full screen.
2. 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. Figure 4.20: Selected Connection 3. Select the “IP Address” tab. Figure 4.
4. Select the “Name Server” tab. Figure 4.22: Setting 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.
4.2.2 Network via Serial Port This section introduces how to setup the connection between the TPC series and a host PC via Microsoft ActiveSync. 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. Connect the host computer and TPC with a null modem cable (included in the package). Make sure the connection is solid on both RS-232 Serial ports.
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.25: PC Connection Properties Please check the COM box and select your desired port from the list. Figure 4.26: Change Connection Press the 'enter' symbol from the keyboard to confirm the change.
Figure 4.27: Change Connection You can find the change is active. The connection is via serial1 - COM1. Figure 4.
Setting the Communication Environment of the Host Double click the icon ActiveSync on your host computer. Figure 4.29: Microsoft ActiveSync Select “File”->”Connection Settings” Figure 4.
Configure the connection setting. Figure 4.31: Configure Connection Setting A window will pop up after you press “Get Connected”. Figure 4.
Please run “repllog.exe” on the TPC. Figure 4.33: 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.34: 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.
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. Figure 4.36: Explore the TPC 4.3 Application Program Development 4.3.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.
Note If you choose to install the Common files or Microsoft eMbedded Visual C++ 4.0 on a partition other than the system partition, the figure representing the amount of space required reflects only the amount of space for files being installed on that non-system partition. It does not reflect the total amount of space required to install the entire product. This is because some files must be installed on the system partition, regardless of where other files are installed. 4.3.
Figure 4.37: Starting a New Project Note The selected CPU type must be Win32 (WCE ARM V4) or Win32 (WCE ARMV4I). Select “ADVTPC” in the main window of embedded Visual C++. Figure 4.
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.
A APPENDIX 2 Watchdog Timer Programming
Appendix A Watchdog Timer Programming There is a built-in watchdog timer in the TPC-30/32 series. You can access it through the WIN32 API. TPC-30/32 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 DeviceIOControl functions to enable/disable Watchdog timer.
• lpInBuffer [in] Long pointer to a buffer that contains the data required to perform the operation. This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not require input data. • nInBufferSize [in] Size, in bytes, of the buffer pointed to by lpInBuffer. • lpOutBuffer [out] Long pointer to a buffer that receives the operation’s output data. This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not produce output data.
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. By default, if the Watchdog timer is enabled, the WDT driver will automatically trigger itself after the specified period and your application does not need to trigger the Watchdog timer in this situation. lpInBuffer : unused. nInBufferSize: unused. lpOutBuffer: unused. nOutBufferSize: unused. A.2.
A.2.4 IOCTL_WDT_GETTIMEOUT: Gets the Watchdog time setting. lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: 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. nOutBufferSize: unused. A.2.5 IOCTL_WDT_SETTIMEOUT: Sets the Watchdog time setting. lpInBuffer : The DWORD pointer to your Watchdog time setting.
A.
DWORD dwTemp; DWORD nIndex=2; // Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
TPC-30/32 Series User Manual 50
B APPENDIX 2 Fuse Specifications
Appendix B Fuse Specifications B.1 Fuse Specifications Rating: 125 VAC, 5A Note The fuse is set to break if the input voltage exceeds 28 VDC.
C APPENDIX 2 Pin Assignments
Appendix 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.
C.3 CAN-Bus Pin Assignments Pin No.
TPC-30/32 Series User Manual 56
D APPENDIX 2 Visual Settings
Appendix D Visual Settings There are two powerful and friendly utilities included to extend the visual capabilities of TPC-30/32. The two utilities are used to set the font size and rotate the screen. D.1 Font Setting Please go to start->programs->advantech->system font setting. Figure D.1: Font Setting TPC-30/32 provides two font settings – normal and small. Figure D.
Figure D.3: Change Font Setting Figure D.
D.2 Screen Rotation Please go to start->setting->control panel-> screen rotation as below. Figure D.5: Screen Rotation Please select how you want the view display. Figure D.
This screen is rotated 90 degrees in the example. Figure D.7: 90 Degrees Rotation Figure D.
TPC-30/32 Series User Manual 62
APPENDIX 2 E TPC-30T Update Guide
Appendix E TPC-30T Update Guide E.1 Updating Image & Bootloader To update the image & bootloader for the TPC-30T, follow this guide: There are three items are needed for image and bootloader update. To complete this, you’ll need to copy them onto an SD card. 1. Plug an SD card into the SD slot. 2. Run SD_Image_Update 2.0 utility. Select “Both” items then click “Update” item.
Updating will take around 3 minutes. 3. After a successful update, the system will reboot and become black. 4. The system is initializing and will take around 3 minutes. 5. After initial success, the new image will be implemented. You can check the image version under Version Information.
6. The Boot Loader version can be checked at system power on stage.
APPENDIX 2 F COM Port Settings
Appendix F COM Port Settings The serial port on the TPC-30T is adjustable. It can be set to RS-232, RS485 or CAN-Bus.