TPC-660G AMD LX800 Touch Panel Computer with 6.
Copyright The documentation and the software included with this product are copyrighted 2004 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 (1 year) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for one year 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.
Packing List Before setting up the system, check that the items listed below are included and in good condition. If any item does not accord with the table, please contact your dealer immediately. • 1 x TPC-660G-A1E • 8 x Panel mounting clampers • 8 x Panel mounting screws • 1 x 3-Pin power connector • 1 x TPC x86 Series support CD • 1 x CompactFlash to IDE adapter board Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's Manual for later reference. 3.
13. Never open the equipment. For safety reasons, the equipment should be opened only by qualified service personnel. 14. 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.
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...........................................................
Figure 4.11:Install Wizard - 1 ..................................... 25 Figure 4.12:Install Wizard - 2 ...................................... 26 Figure 4.13:Install Wizard - 3 ...................................... 26 Figure 4.14:Driver Installation Complete .................... 27 Chapter 5 Features in Windows XP Embedded........... 30 5.1 5.2 5.3 EWF ................................................................................ 30 HORM..................................................................
Figure E.2:Install Wizard - 1 ...................................... 60 Figure E.3:Install Wizard - 2 ....................................... 61 Figure E.4:Install Wizard - 3 ....................................... 61 E.2 Uninstall the Driver......................................................... 62 E.3 Touchscreen Calibration ................................................. 63 Figure E.5:Uninstall -1 ................................................ 62 Figure E.6:Uninstall -2 .......................
TPC-660G User Manual x
CHAPTER 1 2 General Information This chapter gives background information on TPC-660G..
Chapter 1 General Information 1.1 Introduction The TPC-660G touch panel computer is a state-of-the-art HMI (Human Machine Interface). This operator interface with a 6.4” display is an x86based 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: GeodeLink Control Processor LX800 500MHz • BIOS: Award 512KB flash memory • South Bridge: GeodeLink Control Processor CS5536 • VGA: GeodeLink Control Processor LX800 500MHz • Ethernet: Realtek RTL8100BL; IEEE 802.3u protocol compatible • Watchdog Timer: W83627 watchdog timer; 1.6 second timeout period • IDE: 1 EIDE channel supports one CompactFlash socket onboard (Master) and one IDE interface harddrive (Slave) 1.2.
1.3 LCD Specifications • Display Type: TFT color LCD • Size (diagonal): 6.4” • Maximum Resolution: 640 x 480 (VGA) • Maximum Colors: 256,000 • Pixel Pitch (W x H, mm): 0.203 x 0.203 • Viewing Angle: 90° • Luminance (cd/m² ): 150 • Contrast Ratio: 180 • Operating Temperature: 0 ~ 50° C (32 ~ 122° F) (Ambient) • Backlight: 1 CCFL • Backlight Life Time: 20,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 Mg-AL front bezel. Make sure the waterproof gasket is in position before installing TPC-660G into the panel opening. 2. Install the TPC-660G 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.
Figure 1.2: Panel Mounting 1.8 Exploded Diagram Figure 1.
1.9 Dimensions and Cutout • Weight: 0.8 kg • Dimensions: 195 x 148 x 44.5 mm (W x H x D) • Cutout: 188 x 141 mm (suggested) Figure 1.
TPC-660G User Manual 8
CHAPTER 2 2 System Setup This chapter provides a brief explanation for operating TPC-660G.
Chapter 2 System Setup You can quickly get up and running by following the step-by-step instructions below. 1. Unpack the TPC-660G package. Please check the packing list at the beginning of this manual to make sure every item is there. Figure 2.1: Unpack the Package 2. Install a CompactFlash card containing Windows CE, embedded Windows XP or another operating system. Figure 2.
3. Connect the power connector to the 24 VDC power lines. The power lines can either be from some power adapter or an in-house power source. Figure 2.3: Power Connector and Power Lines Figure 2.4: Pin Assignment on the Power Receptor Warning The system may be damaged when the power is turned on if the power source is not connected to the correct pins.
4. Plug the power lines into the system power receptor. Figure 2.5: Plugging in the Power Line 5. Turn on the System Figure 2.
Note: When turning on the system, the bootup screen before entering any operating system is shift to the right side as the photo below. This is due to the BIOS limitation and appears if the application is running in console mode. The display is normal after entering Windows XP, Windows XP embedded and Windows CE system. Figure 2.7: Bootup Screen 6. Calibrate the touchscreen. The detailed procedure is described in the appendix.
TPC-660G User Manual 14
CHAPTER 3 2 System Engine
Chapter 3 System Engine Table 3.1: Mainboard Connectors & Jumper Settings Label Function Description CN1 LCD POWER LCD INVERTER Connector CN2 CF CompactFlash socket CN3 IDE Internal IDE 44pin (2mm) connector CN4 USB1 Two USB Type-A Female to on panel. CN7 USB2 Two USB Type-A Female to on panel. CN5 ETHERNET RJ45 LAN PORT CN6 PS2 Standard Mini-DIN 6-pin support K/B and Mouse on panel.
Figure 3.1: Main Board Connectors - 1 Figure 3.
TPC-660G User Manual 18
CHAPTER 4 2 Software Configuration Sections include: • VGA Driver Installation • Advantech COM Installation • Entertainment Encryption/ Decryption Driver Installation
Chapter 4 Software Configuration A support CD-ROM for TPC-660G is available and along with the product. There are related utilities and drivers of TPC-660G for Windows XP. Please insert the support CD-ROM into your CD-ROM driver and install the VGA graphics driver, Advantech com driver, Touchscreen driver and WDM driver sequentially. Touchscreen installation is described in the appendix. 4.1 VGA Driver Installation Please follow the steps to install VGA driver.
Figure 4.2: Update Driver Step 3: Then follow the update wizard processures. Figure 4.
Figure 4.4: Update Wizard-2 Figure 4.
Figure 4.6: Update Wizard-4 Figure 4.
Figure 4.8: Update Wizard-6 Step 4: After you successfully update the driver, you can see the VGA successfully installed from the device manager. Figure 4.
4.2 Entertainment Encryption/Decryption Driver Step 1: Insert the CD-ROM and go to “Device Manager”. Click “Entertainment Encryption/ Decryption Controller” Figure 4.10: Device Manager Step 2: Following the install shield wizard to finish the setup. Figure 4.
Figure 4.12: Install Wizard - 2 Figure 4.
Step 4: The driver is successfully installed. You can check via “Device Manager” as the below. Figure 4.
TPC-660G User Manual 28
CHAPTER 5 2 Features in Windows XP Embedded Sections include: • EWF • HORM • Advantech Utilities
Chapter 5 Features in Windows XP Embedded TPC-660G supports the embedded Windows platform. This section outlines the important features (EWF and HORM), that are provided in Windows XP embedded. 5.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.
5.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.
5.3.1 Version Information Start menu-> All Programs -> Advantech This states the current XPE runtime information including hardware platform, version, build number, release date, XPE QFEs installed in component database and XP Pro Patches you installed manually. 5.3.2 OSLock and OSUnLock The two utilities assist users to enable or disable EWF. Please go to Start Menu-> All Programs-> Advantech. The default setting of EWF is disabled.
A APPENDIX 2 Serial Port Settings
Appendix A Serial Port Settings There are two serial ports, COM1 and COM2, on TPC-660G. The serial port, COM1, supports standard RS-232 and the serial port COM2 on the TPC-660G is adjustable. It can be set to RS-232, RS-422 or RS-485. This port is designed with auto data flow control capability. In other word, the TPC-660G can automatically detect the data flow direction at this port when the two wired RS-485 communication is activated. Please refer the below section to adjust the COM2. A.
PIN RS-232 RS-422 RS-485 1 NDCD TX- D- 2 NRX TX+ D+ 3 NTX RX+ 4 NDTR RX- 5 GND GND 6 NDSR 7 NRTS 8 NCTS 9 NRI GND A.
A.3 Baud Rate Setting (SW3) Baud Rate 1 2 3 4 5 6 7 8 1200 bps X 0 0 0 0 0 0 0 2400 bps 0 X 0 0 0 0 0 0 4800 bps 0 0 X 0 0 0 0 0 * 9600 bps 0 0 0 X 0 0 0 0 19.2 Kbps 0 0 0 0 X 0 0 0 38.4 Kbps 0 0 0 0 0 X 0 0 57.6 Kbps 0 0 0 0 0 0 X 0 115.
B APPENDIX 2 Watchdog Timer Programming
Appendix B Watchdog Timer Programming B.1 Overview The TPC-660G 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). Figure B.
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-660G User Manual 46
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-660G. You can access it through the WIN32 API. TPC-660G 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-660G User Manual 54
D APPENDIX 2 Accessory Kit Assembly Procedure This appendix shows how to connect to a CD-ROM via the CompactFlash slot.
Appendix D Accessory Kit Assembly Procedure D.1 CompactFlash to IDE Transfer Kit Please follow this assembly procedure to use the CompactFlash slot to connect with a CD-ROM drive. 1. Connect the IDE cable to the adapter board. Figure D.1: Adapter Board and IDE Cable Figure D.
Note 2. Pin 1 is marked red Insert the adapter board into the CompactFlash slot. Figure D.3: CompactFlash Slot Figure D.4: Insert the Adapter Board into the CF slot Figure D.
Connect the CD-ROM to the adapter board via the IDE cable and then connect the external power line to the CD-ROM. Figure D.6: Connect the CD-ROM via the IDE Cable Figure D.
APPENDIX 2 E Touchscreen Installation & Configuration This appendix demonstrates how to install the touchscreen and set the configuration on TPC-660G. This section uses Windows XP as an example.
Appendix E Touchscreen Installation & Configuration E.1 Driver Installation Please insert the x86 TPC series support CD and go to the driver folder: (TPC-660G\Driver\USB touchscreen). Click setup.exe Figure E.1: Setup.exe The screen displays the installation wizard for the PenMount USB software. Click “Next”. Follow the installation wizard step by step . Figure E.
Figure E.3: Install Wizard - 2 Figure E.
E.2 Uninstall the Driver Please go to Settings and then select Control Panel. Please click Add/ Remove Programs. Figure E.5: Uninstall -1 Select PenMount USB. Click Remove button. Then, select “Yes” to remove the PenMountUSB driver and reboot the system .. Figure E.
E.3 Touchscreen Calibration The “PM”, the icon of the PenMount Control Panel, is in the menu bar after the touchscreen installation. Please click the icon “PM” to call PenMount Control Panel. It contains six functions: Calibrate, Draw, Option, and About. About shows the driver version. Calibrate Two ways to calibrate the touchscreen include “Standard Calibration” and “Advanced Calibration”. Standard Calibration is to adjust most touchscreens. Figure E.
Figure E.8: Standard Calibration -2 Figure E.
Note Touch the red squares in sequence. The calibration is completed after the fifth touch red point is calibrated. Press “ESC” to skip. Advanced Calibration is for the aged touchscreens by using 4, 9, 16 or 25 points to calibrate touch panel. Figure E.
Figure E.11: Advanced Calibration -2 Figure E.
Note Plot Calibration Data enabled provides the blue lines to show linearity before calibration and black lines to show linearity after calibration when you finished the advanced calibration. Draw This is to test the touchscreen operation. Its display shows touch location. Figure E.13: Draw Click “menu” and then click “clear screen” to clear the drawing.
Figure E.14: Clear Screen Option This option is to set the operation mode and beep sounds if enabled. The operation mode, stream mode and point mode, is to enable/ disable the mouse’s ability to drag on-screen icons. Stream mode lets the mouse function as normal and dragging onscreen. Point mode is only let the mouse a click function. The dragging onscreen is disabled. Users can turn on / off the beep sound by clicking the “enable beep sound”. Figure E.
APPENDIX 2 F Fuse Specifications
Appendix F Fuse Specifications F.1 Fuse Specifications Rating: 250 V AC, 3.15 A Size: 5 x 20 mm Note For your protection, the fuse is set to break if the input voltage exceeds 33 V DC. F.2 Fuse Replacement Step 1: Remove the fuse cover Step 2: Replace the damaged fuse with a new one Step 3: Place the fuse cover back into position. Figure F.1: Fuse Replacement Warning Do NOT replace the fuse unless it is damaged. Do NOT replace the fuse with a different rated fuse.