TPC-1250H 12.
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 when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information. 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.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's Manual for later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. 5. Keep this equipment away from humidity. 6. Put this equipment on a reliable surface during installation.
20° C (-4° F) OR ABOVE 60° C (140° F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A CONTROLLED ENVIRONMENT. 16. CAUTION: DANGER OF EXPLOSION IF BATTERY IS INCORRECTLY REPLACED. REPLACE ONLY WITH THE SAME OR EQUIVALENT TYPE RECOMMENDED BY THE MANUFACTURER, DISCARD USED BATTERIES ACCORDING TO THE MANUFACTURER'S INSTRUCTIONS. The sound pressure level at the operator's position according to IEC 7041:1982 is no more than 70 dB (A).
Contents Chapter Chapter 1 General Information ....................................... 2 1.1 1.2 Introduction ....................................................................... 2 Specifications .................................................................... 3 1.3 1.4 1.5 1.6 LCD Specifications ........................................................... 4 Touchscreen Specifications............................................... 4 Power...........................................................
C.3 Examples .........................................................................
CHAPTER 1 2 General Information This chapter gives background information on TPC-1250H.
Chapter 1 General Information 1.1 Introduction The TPC-1250H touch panel computer is a state-of-the-art HMI (Human Machine Interface). This operator interface with a 12.1” display is an x86-based platform with these key features: • Fanless By using a low-power processor, the system does not have to rely on fans, which often are unreliable and causes dust to circulate inside the equipment. • Bright Display The TFT LCD display suits industrial demands for clear interfaces.
1.2 Specifications 1.2.1 System Kernel • CPU: Intel AtomTM N270, 1.6 GHz with 512 L2 cache • BIOS: Award 8 Mbit flash BIOS • System Chipset: Intel 945GSE + Intel ICH7M • VGA: Integrated in Intel 945GSE • Ethernet: Full compliance with IEEE 802.3, 1000Base-T 100Base-T and 10 Base-T specifications. • Watchdog Timer: W83627 watchdog timer; 1.6 second timeout period 1.2.2 I/O Ports • 2 serial ports: RS-232 (COM1, COM2) • 1 RJ-45 Ethernet port • 2 USB 2.0 Ports: compliant with USB 1.0 and 1.1. 1.2.
1.3 LCD Specifications • Display Type: TFT color LCD • Size (diagonal): 12.1” • Maximum Resolution: 800 x 600 (SVGA) • Maximum Colors: 262k • Pixel Pitch (W x H, mm): 0.3075 x 0.3075 • Viewing Angle: 160/140 (H/V°) • Luminance (cd/m² ): 450 • Contrast Ratio: 700:1 • Operating Temperature: -30 ~ 85° C • Backlight: LED • Backlight Life Time: 50,000 hours Note There might be several bright or dark pixels on the LCD. This phenomenon is normal in today’s LCD manufacturing. 1.
1.6 I/O Ports Arrangement The arrangement of the I/O ports is shown in Figure 1.1. Figure 1.1: I/O Port Arrangement 1.7 Panel Mounting 1. There is an adhesive waterproof gasket on the AL front bezel. Make sure the waterproof gasket is in position before installing TPC-1250H into the panel opening. 2. Install the TPC-1250H into the panel opening. 3. Find the eight clampers and eight long screws in the accessory pack. Hook the clampers to the holes around the four sides of the bezel.
1.8 Dimensions and Cutout • Weight: 4.1 kg (without HDD) • Dimensions: 311 x 237 x 52.3 mm (W x H x D) • Cutout: 302 x 228 mm (suggested) 311 247.2 186.3 237 3 53.2 301.5 227.5 Figure 1.
CHAPTER 2 2 System Setup This chapter provides a brief explanation for operating TPC-1250H.
Chapter 2 System Setup You can easily get TPC-1250H started by following the below steps. • Step 1: Unpack the TPC-1250H package. Check the packing list at the beginning of this manual to make sure all items have been included. Figure 2.
• Step 2: Install a CompactFlash card containing Windows CE, embedded Windows XP or another operating system. Figure 2.2: Install CompactFlash Memory Card Warning It is suggested to turn OFF system power as you plug in or pull out the memory card, even though the CompactFlash memory is hot swappable. • Step 3: Connect the power connector to the 24 VDC power lines. The power lines can either be of some power adapter or in-house power source. Figure 2.3: Power Connector and Power Lines Figure 2.
• Step 4: Plug the power lines into the system power receptor. • Step 5: Push the power button to power on the system (figure 2.4). • Step 6: Calibrate the touchscreen (click "PM" in the bottom corner). Note: If you want to install the touchscreen driver & use the touchscreen utility, please refer the user manual which is "PenMount 6000 Installation Guide" in the CD-ROM. Installing the Drivers After installing your system software, you will be able to set up the Ethernet, SVGA, and touchscreen functions.
CHAPTER 3 2 Features in Windows XP Embedded Sections include: • EWF • HORM • Advantech Utilities
Chapter 3 Features in Windows XP Embedded TPC-1250H supports the embedded Windows platform. This section outlines the important features (EWF and HORM), that are provided in Windows XP embedded. 3.1 EWF EWF stands for Enhanced Write Filter. It provides an upper filter in the storage device driver stack that redirects disk write operations to volatile (RAM) or non-volatile (disk) storage. EWF protects a volume from write access. The benefits are as the following.
3.2 HORM HORM stands for Hibernate Once Resume Many. In HORM environment, a single hibernation file is used to boot the system repeatedly. To set a HORM environment, please follow the steps below. Please make sure EWF is disabled. You can run OSUnLock to disable EWF. Enable hibernation support: Run ‘power options’ in control panel, and then select ‘Enable Hibernation’ in hibernation pane. Enable EWF: Run OSLock, and then system reboot automatically.
TPC-1250H User Manual 14
A APPENDIX 2 Serial Port Settings
Appendix A Serial Port Settings A.
B APPENDIX 2 Watchdog Timer Programming
Appendix B Watchdog Timer Programming B.1 Overview The TPC-1250H watchdog timer can be used to monitor system software operation and take corrective action if the software fails to function after the programmed period. This section describes the operation of the watchdog timer, and how to program it. The watchdog timer is built into the super I/O controller W83627HF. It provides the following functions for user programming: • Can be enabled and disabled by user's program.
B.2 Watchdog Timer Programming The I/O port address of the watchdog timer is 2E(hex) and 2F(hex), 2E (hex) is the address port. 2F(hex) is the data port. You must first assign the address of register by writing address value into address port 2E(hex), then write/read data to/from the assigned register through data port 2F (hex).
Table B.1: Watchdog Timer Registers Address of register (2E) Attribute Description Read/Write Value (2F) and description 87 (hex) ----- Write this address to I/O address port 2E (hex) twice to unlock the W83627HF 07 (hex) write Write 08 (hex) to select register of watchdog timer. 30 (hex) write Write 01 (hex) to enable the function of the watchdog timer. Disabled is set as default. F5 (hex) write Set seconds or minutes as units for the timer. Write 0 to bit 3: set second as counting unit.
B.3 Example Programs 1. Enable watchdog timer and set 10 sec.
Out dx,al Inc dx Mov al,10 Out dx,al ;----------------------------------------------------------Dec dx ; lock W83627HF Mov al,0aah Out dx,al 2.
Out dx,al Inc dx In al,dx Or al,08h Out dx,al ;----------------------------------------------------------Dec dx ; Set timeout interval as 5 minutes and start counting Mov al,0f6h Out dx,al Inc dx Mov al,5 Out dx,al ;----------------------------------------------------------Dec dx ; lock W83627HF Mov al,0aah Out dx,al 3.
Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------Dec dx ; Enable watchdog timer to be reset by mouse Mov al,0f7h Out dx,al Inc dx In al,dx Or al,80h Out dx,al ;----------------------------------------------------------Dec dx ; lock W83627HF Mov al,0aah Out dx,al 4.
Dec dx ; Enable the function of watchdog timer Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------Dec dx ; Enable watchdog timer to be strobed reset by keyboard Mov al,0f7h Out dx,al Inc dx In al,dx Or al,40h Out dx,al ;----------------------------------------------------------Dec dx ; lock W83627HF Mov al,0aah Out dx,al 5.
;----------------------------------------------------------Dec dx ; Enable the function of watchdog timer Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------Dec dx ; Generate a time-out signal Mov al,0f7h Out dx,al ;Write 1 to bit 5 of F7 register Inc dx In al,dx Or al,20h Out dx,al ;----------------------------------------------------------Dec dx ; lock W83627HF Mov al,0aah Out dx,al TPC-1250H User Manual 26
C APPENDIX 2 Watchdog Timer Programming on WinCE
Appendix C Watchdog Timer Programming on WinCE There is a built-in watchdog timer in Windows CE 4.2 for TPC-1250H. You can access it through the WIN32 API. TPC-1250H provides 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 the watchdog timer.
C.1.1 Parameters • hDevice [in] Handle to the device that is to perform the operation. Call the CreateFile function to obtain a device handle. • dwIoControlCode [in] Specifies the control code for the operation. This value identifies the specific operation to be performed and the type of device on which the operation is to be performed. No specific values are defined for the dwIoControlCode parameter. However, the writer of a custom device driver can define IOCTL_XXXX control codes, per the CTL_CODE macro.
C.2 How to Use the Control Code There are 6 control codes for the operation codes in the WDT driver. C.2.1 IOCTL _WDT_ENABLE: Enables the watchdog timer of 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. lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: unused. nOutBufferSize: unused. C.2.
C.2.4 IOCTL_WDT_GETTIMEOUT: Gets the Watchdog time setting. lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: The DWORD points 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, 5 means 45 seconds and 6 means 60 seconds. The default setting is 5 seconds. nOutBufferSize: unused. C.2.5 IOCTL_WDT_SETTIMEOUT: Sets the watchdog time setting.
C.
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds. DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &nIndex, sizeof(nIndex), NULL, 0, &dwTemp, NULL); // Enable the Watchdog timer DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL, 0, &dwTemp, NULL); While (1) { // do your job here.
TPC-1250H User Manual 34