Page 1
TPC-651H/1251H Industrial Touch Panel Computers with Intel Atom Processors User Manual...
Page 2
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp. All other product names or trademarks are properties of their respective owners. This Manual Covers the Following Models • TPC-651H • TPC-1251H Part No.2003065102 3rd Edition Printed in Taiwan November 2011 TPC-651H/1251H User Manual...
Page 3
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.
Page 4
- 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-651H/1251H User Manual...
Page 5
Safety Instructions Read these safety instructions carefully. Keep this User's 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 clean- ing. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible.
Page 6
Advantech disclaims all responsibility for the accuracy of any statements contained herein. Caution! Danger of explosion if battery is incorrectly replaced. Replace only with the same or equivalent type recommended by the manufacturer. Dispose of used batteries according to the manufacturer's instructions. TPC-651H/1251H User Manual...
Chapter 1 General Information 1.1 Introduction The TPC-651H and TPC-1251H Touch Panel Computers are state-of-the- art Human Machine Interfaces featuring 5.7" and 12.1 displays with Intel Atom eMenlow XL processors and the following 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.
• Controller: RS-232 Interface • Lifespan: 1 million touches at single point 1.5 Power • Input Voltage: 18 - 32V (the fuse will become an open circuit if the input level exceeds 33V • Typical: 24V @0.93Amp TPC-651H/1251H User Manual...
1.6 I/O Ports Arrangement The arrangement of the I/O ports is shown in in Figure 1.1 and 1.2. Figure 1.1: TPC-651H - I/O Port Arrangement Figure 1.2: TPC-1251H - I/O Port Arrangement Chapter 1...
• Weight: TPC-651H - 1.43kg, TPC-1251H - 2.5kg • Dimensions (W x H x D): TPC-651H: 195 x 148 x 58 mm (7.68" x 5.83" x 2.28") TPC-1251H: 311 x 237 x 52.3 mm (12.24" x 9.33" x 2.06") • Cutout: TPC-651H: 189.1 x 142.1 mm...
Page 18
You can easily get TPC started by following the below steps. • Step 1: Unpack the TPC package. Check the packing list at the begin- ning of this manual to make sure all items have been included. Figure 2.1: Unpack the Package TPC-651H/1251H User Manual...
Page 19
• Step 2: Install a CompactFlash card containing Windows CE, embed- ded 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.
Page 20
After installing your system software, you will be able to set up the Ether- net, SVGA, and touchscreen functions. All drivers are stored in a CD- ROM disc entitled “TPC-651H or TPC-1251H” which can be found in your accessory box.
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-651H/1251H XPE provides EWF RAM RDG mode on system par- tition. All wirte to system partition will be redirected to RMA once this mode is enabled.
3.2 HORM 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.
Appendix A Serial Port Settings A.1 COM1/ COM2 Connector Definition COM 1 COM 2 RS-232 RS-422 RS-485 NDCD NDTR NDSR NRTS NCTS TPC-651H/1251H User Manual...
• Can be enabled and disabled by user's program. • Timer can be set from 1 to 255 seconds or 1 to 255 minutes. • Generates an interrupt or resets signal if the software fails to reset the timer after time-out. TPC-651H/1251H User Manual...
Page 33
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).
Page 34
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 TPC-651H/1251H User Manual...
B.3 Example Programs 1. Enable watchdog timer and set 10 sec. as timeout interval ;----------------------------------------------------------- Mov dx,2eh ; Unlock W83627HF Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h ; Select registers of watchdog timer Out dx,al Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- Dec dx ;...
Page 36
Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- Dec dx ; Enable the function of watchdog timer Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------- Dec dx ; Set minute as counting unit Mov al,0f5h TPC-651H/1251H User Manual...
Page 37
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.
Page 38
4. Enable watchdog timer to be reset by keyboard ;----------------------------------------------------------- Mov dx,2eh ; unlock W83627H Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h ; Select registers of watchdog timer Out dx,al Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- TPC-651H/1251H User Manual...
Page 39
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 ;-----------------------------------------------------------...
Page 40
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-651H/1251H User Manual...
This function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation. BOOL DeviceIoControl( HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped ); TPC-651H/1251H User Manual...
C.1.1 Parameters • hDevice [in] Handle to the device that is to perform the operation. Call the Cre- ateFile 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.
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. TPC-651H/1251H User Manual...
Page 45
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.
Page 46
// assign the WDT driver name wsprintf(szClassName, TEXT("WDT1:")); // Open the WDT driver m_hWDT = CreateFile(szClassName, GENERIC_READ GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if ( m_hWDT == INVALID_HANDLE_VALUE ) { DebugMsg(CString("WDT driver fail")); return; DWORD dwTemp; DWORD nIndex=2; TPC-651H/1251H User Manual...
Page 47
// 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. Sleep(8000);...
Need help?
Do you have a question about the TPC-651H and is the answer not in the manual?
Questions and answers