
User Manual

The documentation and the software included with this product are copy- righted 2007 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 man- ual 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 reli- able. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties, which may result from its use.
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of
Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Part No. 2003107000 1st Edition
Printed in Taiwan March 2007
TPC-1070 User Manual ii
Copyright · Acknowledgements

Product Warranty (2 years)
Advantech warrants to you, the original purchaser, that each of its prod- ucts 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 instal- lation. Advantech assumes no liability under the terms of this warranty as a consequence of such events.
Because of Advantech’s high quality-control standards and rigorous test- ing, most of our customers never need to use our repair service. If an Advantech product is defective, it will be repaired or replaced at no charge during the warranty period. For out-of-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight. Please consult your dealer for more details.
If you think you have a defective product, follow these steps:

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.
Note: 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 environ- ment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Opera- tion of this equipment in a residential area is likely to cause harmful inter- ference in which case the user will be required to correct the interference at his own expense.
Technical Support and Assistance
where you can find the latest information about the product.
tomer service center for technical support if you need additional assistance. Please have the following information ready before you call: - Product name and serial number - Description of your peripheral attachments - Description of your software (operating system, version, appli- cation software, etc.) - A complete description of the problem - The exact wording of any error messages
TPC-1070 User Manual iv
Declaration of Conformity · FCC Class A

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. The equipment has obvious signs of breakage.
Safety Instructions



TPC-1070 User Manual xii

General Information
Sections include:

This chapter gives the background information about the TPC-1070.
The TPC-1070 touch panel computer is state-of-the-art HMI (Human Machine Interface). This 10.4” display operator interface 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 equip- ment.
Bright Display: The bright TFT LCD display suits industrial demands for clear interfaces.
Powerful Communication Capability: The TPC-1070 provides powerful IO interface for easily communicating with other devices. The IO interface includes serial ports, RS-485 port, parallel port, Ethernet and USB 2.0 support.
Embedded Windows Support: In addition to the OS support of Windows 2000 and Windows XP, Advantech offers platform support for Windows CE and XP embedded.
IDE: 2 EIDE channels support one IDE compact flash socket on board and one 44 pin (2mm) connector.

1.2.2 I/O Ports 3 serial ports: RS-232 (COM1, COM3) and RS-232/422/485 (COM4)
2 RJ-45 Ethernet port:
TPC-1070H-P1E, LAN 1(10/100BaseT); LAN 2(10/100/1000BaseT)
TPC-1070H-C1E, LAN 1(10/100BaseT); LAN 2(10/100BaseT)
1.2.3 Safety and Environment Safety
FCC Class A and CE certificated
The front bezel is compliant with NEMA 4
BSMI certificated · Environment · 3 Chapter 1

Display Type TFT color LCD
Size (diagonal) 10.4”
Maximum Resolution 800 x 600 (SVGA)
Pixel Pitch (W x H) 0.264 x 0.264 mm
Viewing Angle -70~70° (H), -60~50° (V); CR>=10
Luminance (cd / m2) 400
Operating Temperature -20~70° C (Ambient)
Backlight Life Time 50,000 hours
Maximum colors 260K · Contrast Ratio 500 · Backlight 2 CCFL

Base Glass Construction Tempered Glass
Resolution 1024 x 1024
Light Transmission 75% typical
Power Rating 3.3 to 5V
Durability 100 million touches
Input voltage: 18 ~ 32 Vdc (the fuse will be open circuit as input level exceeds 33Vdc)
Touchscreen Type Resistive · Controller RS232 Interface · 5 Chapter 1

The arrangement of the I/O ports is shown in Figure 1.1.




7 Chapter 1

Weight:: 3.5 Kg (without HDD)


System Setup

This chapter provides a brief explanation for operating the TPC-1070. It is easy to make the TPC-1070 start working with the below step-by-step.




“Start”Æ”Settings”Æ”Control Panel” as the figure 2.5. Then, click the tab “Stylus -> "Calibration" -> "Recalibrate” to calibrate by selecting the standard calibration or advanced calibration.
If your operating system is Windows CE, the details of the procedure are described in following section.
11 Chapter 2




System Engine

Main Board Connector and Jumper Setting List
Label Function Description CN5 LVDS LCD Internal 18bit LVDS LCD Connector CN6 LCD POWER LCD INVERTER Connector CN7 TOUCH Internal Touch screen Connector CN8 PCI-104 PCI-104 CN9 IDE Connector IDE connector for 40pin 2.5îinternal HDD CN10 PWR DC IN DC Power in Connector, HOUSING 5.08 MM 3P CN11 USB Two USB Type-A Female to on panel. CN12 PS/2 KB/MS PS/2 connector for KB/MS CN13 CF Compact-Flash socket COM4 COM1 Serial port:COM1 RS232 COM5 COM2 Serial port:COM2 RS232 COM6 COM3 Serial port:COM3 RS232/422/485 RJ4 LAN1 ICH4M+82562EZ 10/100 RJ5 LAN2 10/100 82551QM / GIGA 82541PI BH4 Battery Battery socket JP5 PCI-104 PWR Selection of PCI-104 Power JP6 CLEAR CMOS CLEAR CMOS J4 I2C I2C connector S4 COM4 MODE1 Setting COM4 RS232/422/485 mode S5 COM4 MODE2 Setting COM4 RS422 Master or Slave mode S6 IRQ selection IRQ selection for CAN circuit SP4 Buzzer Buzzer socket SW4 POWER SWITCH System Power Switch SW5 Address selection Address selection for CAN circuit


Software Configuration
Sections include:

A support CD-ROM for TPC-1070 is available and along with the prod- uct. There are related utilities and drivers for TPC-1070 included. Please install the Chipset INF driver, VGA graphics driver, LAN driver, audio
driver, Advantech.com driver, Touchscreen driver and Watchdog Timer (WDT) driver sequentially.
The following utilities and drivers are provided for TPC-1070. You can also find the updated utilities and drivers from the support website.
Available for the OS’s below:
Available for the OS’s below:
Available for the OS’s below:
\TPC-1070H\Driver\INF\Multilanguage (for Multilanguage)

Available for the OS’s below:
Available for the OS’s below:
Available for the OS’s below:
17 Chapter 4

A com port named COM3 or COM4 on TPC-1070 is Advantech Special com port. Please follow the steps below to install the driver.





19 Chapter 4





21 Chapter 4






23 Chapter 4






25 Chapter 4


In order to ensure reliable and fail-safe performance, TPC-1070 has a built-in Watchdog Timer to handle unexpected system failures. TPC- 1070 provides the drivers and a utility to activate and configure the timer for Windows2000/XP operating systems. The following is a brief intro- duction, using Windows2000 as an example, for the installation and con- figuration procedures.

4.3.1 Installing the TPC-1070 Watchdog Timer Driver Step 1: Insert the companion CD-ROM into your CD-ROM drive. Open the directory: \WDT\8362x\W2K_XP.

27 Chapter 4






29 Chapter 4






31 Chapter 4

4.3.2 How to Use the TPC-1070 Watchdog Timer Step 1: Open the Control Panel, click Watchdog Service Configuration.




33 Chapter 4



Windows XP Embedded
Sections include:

TPC-1070 is in support of embedded windows platform. This section is to state the important features, EWF and HORN, provided in windows XP embedded.
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.
Write-protect one or more partitions on your system.
Enable read-only media, such as CD-ROM or flash, to boot and run.
Prolong the lifespan of write-sensitive storage, such as CompactFlash.
TPC-1070 XPE provides EWF RAM RDG mode on system partition. All wirte to system partition will be redirected to RMA once this mode is enabled. This mode is manually enabled by customers after they finish all their changes on system such as installing their applications or adjust- ing system setting.
Advantech provides a pair of utilities to operate EWF, OSLock and OSUnLock. The setting is stated in the section later.
HORM stands for Hibernate Once Resume Many. In HORM environ- ment, 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 Hiberna- tion’ in hibernation pane.

Enable EWF: Run OSLock, and then system reboot automatically.
Open those software that customers want to directly use after system resume from hibernation.
HORM environment remains all along unless the following events occur:
Run EWF commit command (ewfmgr c: -commit) and then reboot sys- tem.
Select “Discard hibernation file” by clicking F8 when system is starting up
Also, HORM cannot fit your system if free space in C partition is not enough. The hibernation file required is dependent on the RAM size you use on the system. In other words, the hibernation file is 512MB that is the same as memory size used on TPC-1070H-P1E or TPC-1070H-C1E.
TPC-1070 provides the useful utilities for users to configure the HORM and EWF.
5.3.1 Version Information Start menu-> All Programs -> Advantech
This states the current XPE runtime information including hardware plat- form, version, build number, release date, XPE QFEs installed in compo- nent database and XP Pro Patches you installed manually.
37 Chapter 5

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 dis- abled. Users can protect C partition from any disk writing via OSLock that is to enable EWF RAM REG Mode. In this mode, any changes on C partition including modification on files or registry will be redirected to memory, thus these changes will be discarded in the next system startup.
To exit this environment is via OSUnLock. Please visit MSDN website for further information about EWF.
5.3.3 HORM This is to create HORM environment. Please go to Start Menu-> All Pro- grams-> Advantech. This utility firstly dismounts all local physical vol- umes that are not protected by EWF. It requires users to input the volume list.
Please follow the steps before running this utility to create full HORM environment.
Enable Hibernation via Power Options in Control Panel
Make sure that all volumes to be dismounted are not in use.

Serial Port Settings

1 NDCD
2 NRX
3 NTX
4 NDTR
5 GND
6 NDSR
7 NRTS
8 NCTS
9 NRI
A.2 COM4 Setting
The serial port COM4 on the TPC-1070 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-1070 can automatically detect the data flow direction at this port when the two wired RS-485 communication is activated.
Pin Signal


3 4 5 6 7 8 9 0 1 2
4 3 2 1 0 9 8 7 6 5 2 1
2 1 7 6 5 4 3 2 1 0 9 8
1 6 5 4 3 2 1 0 9 8 7 2

1 NDCD TX- D- 2 NRX TX+ D+ 3 NTX RX+ 4 NDTR RX- 5 GND 6 NDSR 7 NRTS 8 NCTS 9 NRI
41 Appendix A



Watchdog Timer on WinCE 5.0

There is a built-in Watchdog timer on Windows CE 5.0 for TPC-1070. You can access it through WIN32 API. TPC-1070 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 Watchdog timer. The introduction below includes the DeviceIOControl, the definition of the parameter and an example.
This function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.
Parameters:
hDevice [in] Handle to the device that is to perform the operation. Call the Create- File 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 dwIo- ControlCode parameter. However, the writer of a custom device driver can define IOCTL_XXXX control codes, per the CTL_CODE macro. These

control codes can then be advertised, and an application can use these control codes with DeviceIoControl to perform driverspecific functions.
lpInBuffer [in] Long pointer to a buffer that contains the data required to perform the operation. This parameter can be NULL if the dwIoControlCode parame- ter 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.
nOutBufferSize [in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
lpBytesReturned [out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuffer. The lpBytesReturned parameter cannot be NULL. Even when an operation produces no output data, and lpOutBuffer can be NULL, the DeviceIoControl function makes use of the variable pointed to bylpBytesReturned. After such an opera- tion, the value of the variable is without meaning.
lpOverlapped [in] Ignored; set to NULL.
Return Values Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
45 Appendix B

There are 6 control codes for the operation codes in the WDT driver.
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 trig- ger the Watchdog timer in this situation.
lpInBuffer : unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
Disables the Watchdog time on your application.
lpInBuffer : unsed.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
Triggers the Watchdog. If your application uses IOCTL_WDT_ENABLE to enable the Watchdog first and then sends IOCTL_WDT_REBOOT to the WDT driver, your application must trigger the Watchdog once during the Watchdog timer period. If your application has not triggered at the specified period, the device will reboot automatically.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.

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, 5 means 45 seconds and 6 means 60 seconds. The default setting is 5 sec- onds.
nOutBufferSize: unused.
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, 5 means 45 seconds and 6 means 60 seconds. The default setting is 5 sec- onds.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
If you want your application to trigger the Watchdog by itself, please use IOCTL_WDT_REBOOT to notify the WDT driver. Otherwise, the WDT will trigger itself automatically.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
47 Appendix B

#define WDT_CODE(ID) CTL_CODE(FILE_DEVICE_UNKNOWN,ID, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_WDT_ENABLE WDT_CODE (0x900)
// for compatibility reasons, you can define IOCTL as below:
// #define IOCTL_WDT_ENABLE 0x1001
// #define IOCTL_WDT_DISABLE 0x1002
// #define IOCTL_WDT_STROBE 0x1003
// #define IOCTL_WDT_GETTIMEOUT 0x1004
// #define IOCTL_WDT_SETTIMEOUT 0x1005
// #define IOCTL_WDT_REBOOT 0x1006
// assign the WDT driver name
wsprintf(szClassName, TEXT("WDT1:"));
// Open the WDT driver
m_hWDT = CreateFile(szClassName, GENERIC_READ
FILE_ATTRIBUTE_NORMAL, NULL);
if ( m_hWDT == INVALID_HANDLE_VALUE ) {

// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
sizeof(nIndex), NULL, 0, &dwTemp, NULL);
// Enable the Watchdog timer
DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL,
// do your job here.
NULL, 0, &dwTemp, NULL);
DeviceIoControl(m_hWDT, IOCTL_WDT_DISABLE, NULL, , NULL,



Watchdog Timer Programming

Programming
The TPC-1070 cards’ watchdog timer can be used to monitor system soft- ware 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:

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).

53 Chapter C

Address of register (2E)
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.
F6 (hex) write 0: stop timer [default]01~FF (hex): The amount of the count, in seconds or minutes, depends on the value set in register F5 (hex). This number decides how long the watchdog timer waits for strobe before gener- ating an interrupt or reset signal. Writing a new value to this register can reset the timer to count with the new value.
F7 (hex) rd/wr Bit 6: Write 1 to enable keyboard to reset the timer, 0 to disable.[default] Bit 5: Write 1 to generate a timeout signal immediately and automati- cally return to 0. [default=0] Bit 4: Read status of watchdog timer, 1 means timer is "time out".
AA (hex) Write this address to I/O port 2E (hex) to lock the watchdog timer.2
Attribute Description

Mov dx,2eh ; Unlock W83627HF
Mov al,07h ; Select registers of watchdog timer
Dec dx ; Enable the function of watchdog timer
Dec dx ; Set second as counting unit
Dec dx ; Set timeout interval as 10 seconds and start counting

Dec dx ; lock W83627HF
Mov dx,2eh ; unlock W83627H
Mov al,07h ; Select registers of watchdog timer
Dec dx ; Enable the function of watchdog timer
Dec dx ; Set minute as counting unit

Dec dx ; Set timeout interval as 5 minutes and start counting
Dec dx ; lock W83627HF
Mov dx,2eh ; unlock W83627H
Mov al,07h ; Select registers of watchdog timer
Dec dx ; Enable the function of watchdog timer

Dec dx ; Enable watchdog timer to be reset by mouse
Dec dx ; lock W83627HF
Mov dx,2eh ; unlock W83627H
Mov al,07h ; Select registers of watchdog timer

Dec dx ; Enable the function of watchdog timer
Dec dx ; Enable watchdog timer to be strobed reset by keyboard
Dec dx ; lock W83627HF
Mov dx,2eh ; unlock W83627H
Mov al,07h ; Select registers of watchdog timer

Dec dx ; Enable the function of watchdog timer
Dec dx ; Generate a time-out signal
Out dx,al ;Write 1 to bit 5 of F7 register
Dec dx ; lock W83627HF

Accessory Kit Assembly
This appendix shows how to connect to a CD-ROM via the CompactFlash slot.:

Please follow this assembly procedure to use the CompactFlash slot to connect with a CD-ROM drive.






63 Appendix D

Connect the CD-ROM to the adapter board via the IDE cable and then connect the external power line to the CD-ROM.


It is required to install the service pack if you want to install the USB 2.0 driver on Windows 2000/XP

HDD Kit Assembly

Please follow the assembly procedure to install the HDD into the system.




Touchscreen Installation & Configuration
This appedix demonstrates how to install the PenMount 9000 touchscreen and set the configuration on TPC- 1260H. This section uses Windows XP as an example.

Configuration
Please insert the x86 TPC series support CD and go to the Windows 2000-XP driver folder (TPC-1070\Driver\Touch Screen\Driver\Windows 2000-XP Driver V4.01). Click setup.exe

Figure F.1: Setup.exe The screen displays the installation wizard for the PenMount software. Click “Next”. Follow the installation wizard step by step.




69 Appendix F

Please go to Settings and then select Control Panel. Please click Add/ Remove Programs.

Select PenMount DMC9000 and DMC9100. Click Remove button.


Select “Yes” to remove the PenMount Windows 2000/SP driver and reboot the system.

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 Pen- Mount Control Panel. It contains six functions: Calibrate, Draw, Multiple Monitors, Option, and About. Multiple Monitors is for multiple displays only; however TPC-1070 only provides one touchscreen display. This function is not workable on TPC-1070. About is to show the driver ver- sion.
Two ways to calibrate the touch screen include “Standard Calibration” and “Advanced Calibration”. Standard Calibration is to adjust most touchscreens.
Calibrate · 71 Appendix F





Advanced Calibration is for the aged touchscreens by using 4, 9, 16 or 25 points to calibrate touch panel.
73 Appendix F





This is to test the touch screen operation. Its display shows touch loca- tion.
Draw · 75 Appendix F


Click “menu” and then click “clear screen” to clear the drawing.


This option is to set the operation mode and beep sounds if the beep sound is enabled. The operation mode, stream mode and point mode, is to enable/ disable the mouse’s ability to drag on-screen icons. Stream mode let the mouse functions as normal and dragging on-screen. Point mode is only let the mouse a click function. The dragging on-screen is disabled. Users can turn on / off the beep sound by clicking the “enable beep sound”.

Option · 77 Appendix F



Fuse Specifications


Do NOT replace the fuse with a different rating.
In dieser Anleitung genannte Seiten – Hersteller, Support und Downloads.
Besitzer und unser Team antworten in der Regel innerhalb eines Tages – und Ihre Frage hilft auch anderen weiter.
Stellen Sie die erste Frage — andere Nutzer oder unser Team antworten Ihnen.