Copyright notice This document is copyrighted January, 1999 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements to 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.
Page 3
FCC Class B notes This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
Packing List Before you begin system installation, please make sure that the following materials have been shipped: • One PPC-57 with PCM-3866 all-in-one single board • Accessories: - One utility disk with BIOS and Ethernet utility programs - One utility disk with SVGA utility programs and drivers - One Y-type keyboard/mouse cable - One plug-in power terminal - One screw bag...
The sound pressure level at the operator's position according to IEC 704-1:1982 is equal to or less than 70 dB(A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
Page 6
- Wenn das Gerät deutliche Anzeichen eines Defektes aufweist. Der arbeitsplatzbezogene Schalldruckpegel nach DIN 45 635 Teil 1000 beträgt 70dB(A) oder weiger. DISCLAIMER: This set of instructions is provided according to IEC704-1. Advantech disclaims all responsibility for the accuracy of any statements contained therein.
Chapter 1 General Information ......... 1 Introduction ..............2 Specifications ..............3 General ................3 Standard SBC functions (PCM-3866) ......3 Ethernet interface ............3 SVGA/Flat panel interface (PCM-3866) ....... 4 Power supply ..............4 Environmental specifications ......... 4 Touchscreen (optional) ..........4 LCD Specifications ............
Page 8
Chapter 3 Maintenance ........... 27 LCD Display ............... 28 LCD Backlight ............29 Power Supply .............. 30 I/O Adapter ..............31 PCM-3866 All-in-one Board ........32 Chapter 4 The Engine of the PPC-57 (PCM-3866) . 33 Introduction ..............34 Jumpers and Connectors ........... 35 Locating Jumpers ............
Page 9
Chapter 5 Software Configuration ......55 Introduction ..............56 Utility Disk ..............56 How to Update BIOS ..........57 Ethernet Utility ............58 Ethernet software configuration ........59 Chapter 6 AMI Flash BIOS Setup ......61 System Test and Initialization ........62 System configuration verification ........
Page 10
Appendix A Programming the Watchdog Timer ... 83 Programming the Watchdog Timer ......84 Appendix B Touchscreen (Optional) ..... 87 Touchscreen Specifications ........88 Specifications ............... 88 Operating system requirements ........88 Appropriate applications ..........88 Installation ..............89 Executing INSTALL.COM .......... 89 Installing the touchscreen driver ........
General Information This chapter gives background information on the PPC-57. Sections include: • Introduction • Specifications • LCD Specifications • I/O Arrangement • Total Solution • Dimensions • Mounting...
1.1 Introduction The PPC-57 panel PC meets all of the requirements necessary to serve as an industrial operator interface. This panel PC provides an all-in-one 386 PC board with 5.7" STN color or mono LCD display, on-board VGA, two COM ports (one RS-232, one RS-232/422/485), one removable Compact Flash adapter, an external 16-bit PC/104 expansion slot, and optional touchscreen.
1.2 Specifications General • Construction: Plastic molding with an optional PC/104 metal cover • Dimensions (W x H x D): 197.5 x 142.8 x 63.4 mm (7.76" x 5.61" x 2.49") • Weight: 1.5 kg (3.3 lbs) Standard SBC functions (PCM-3866) •...
SVGA/Flat panel interface (PCM-3866) • Chipset: C&T 65545 • Display memory: 512 KB DRAM • Hardware Windows acceleration: 32-bit graphics engine. Hardware line drawing and 64 x 64 x 2 hardware cursor • Resolution: Panel resolution up to 640 x 480 @ 256 colors Note: The resolution and hardware Windows acceleration of the SVGA/flat panel interface is partially dependent on the resolution of the flat panel.
1.4 I/O Arrangement The I/O arrangement of the PPC-57 is shown below: a. IDE connector f. Ethernet port b. PC/104 slot g. Parallel port c. PS/2 keyboard and h. 24 V input connector mouse connector & chassis GND d. Serial COM2 port i.
1.6 Dimensions The PPC-57 can be placed on a shelf or a table, or mounted into a panel. Cutout panel dimensions are as follows: PPC-57 User's Manual...
1.7 Mounting If you decide to panel mount your PPC-57, four brackets are included. Each bracket has one screw that fits in the keyhole slot on the panel PC. Chapter 1 General Information...
System Setup This chapter explains how to set up the PPC-57's hardware. Sections include: • General • Initial Setup • Removing the Front or Rear Panel • Installing Memory (DRAM) • Installing a Compact Flash Adapter and 2.5" HDD • Installing the Power Terminal and Power Adapter •...
2.1 General The PPC-57 PC-based system can monitor and sample the data of several traditional PLC controllers simultaneously. It is able to take full advantage of a wide range of available software pro- grams, and upgrading can be achieved quickly and easily with the use of various optional modules.
2.2 Initial Setup Initial setup requires installation of the DRAM, Compact Flash memory (or 2.5" HDD), power terminal, and 24 V power adapter. A touchscreen or a PC/104 module can be added as options. This and the following sections describe how to complete the initial assembly, as well as how to install the touchscreen and PC/104 module upgrades.
Installing a PS/2 mouse driver This section is for customers who buy a PPC-57 without the touchscreen option. If you have purchased a PPC-57 with a touchscreen, the PS/2 mouse driver is installed when you set up the touchscreen driver (see Appendix B). There is an execution file named INSTALL.COM in the root directory of the system utility software disk.
Note: The touchscreen driver or PS/2 mouse driver cannot be simultaneously installed with a serial/COM port mouse driver. 2.3 Removing the Front or Rear Panel You only need to remove the front panel of your PPC-57 to replace your LCD or backlight. To remove the front panel, first verify that all power sources to the PPC-57 have been disconnect- ed.
Page 26
You need only remove the rear panel to replace the DRAM, power supply, I/O adapter, and certain other components. To remove the rear panel, first verify that all power sources to the PPC-57 have been disconnected. Then remove the six screws on the rear panel and pull it away from the PPC-57.
2.4 Installing Memory (DRAM) The PPC-57 provides one 72-pin SIMM (single in-line memory module) socket for installation of a single DRAM module (with 1 MB, 4 MB, or 16 MB DRAM). To install DRAM modules, follow these steps: 1. Verify that all power sources to the PPC-57 have been discon- nected.
2.5 Installing a Compact Flash Adapter and 2.5" HDD Installing a Compact Flash adapter 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Plug the Compact Flash adapter into the IDE-compatible slot as shown in the picture below. 3.
Installing a 2.5" HDD 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Connect a cable from the HDD to the IDE-compatible slot on the PPC-57 (CN3). Make sure that pin 1 on the cable corre- sponds to pin 1 on the HDD.
2.6 Installing the Power Terminal and Power Adapter The power terminal supplied with the PPC-57 is plugged into its 24 V connector socket located beneath the PPC-57. To connect the power adapter: 1. Verify that all power sources to the PPC-57 have been discon- nected.
2.7 Installing a PC/104 Module The PPC-57's PC/104 connector give you the flexibility to attach PC/104 expansion modules. These modules perform the same functions as traditional plug-in expansion cards. Using these modules save space and valuable slots. To install a PC/104 module: 1.
2.8 Installing a Touchscreen A touchscreen should be installed only by a qualified technician. The steps to install a touchscreen are as follows: 1. Verify that all power sources to the PPC-57 have been discon- nected, and disconnect the touchscreen cable. 2.
Page 34
Installing a touchscreen PPC-57 User's Manual...
3.1 LCD Display The LCD display should only rarely need replacing in the normal working life of a PPC-57. To replace the LCD display: 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Open the front panel. (See Section 2.3.) 3.
3.2 LCD Backlight To replace the backlight: 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Open the front panel. (See Section 2.3.) 3. Remove the LCD from the steel chassis. 4. Disconnect the cables from the LCD and the LCD inverter. 5.
3.3 Power Supply To repair or replace the power supply: 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Open the rear cover. (See Section 2.3.) 3. Remove the four screws attaching the power supply to the CPU board.
3.4 I/O Adapter To replace or service the I/O adapter, follow these steps: 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Remove the rear cover. (See Section 2.3.) 3. Remove the screw which attaches the I/O adapter to the CPU board (PCM-3866).
3.5 PCM-3866 All-in-one Board To replace or service the PCM-3866: 1. Verify that all power sources to the PPC-57 have been discon- nected. 2. Remove the rear cover. (See Section 2.3.) 3. Remove the power supply, touchscreen control board, I/O adapter, and other attachments.
The Engine of the PPC-57 (PCM-3866) This chapter tells how to set up the engine of the PPC-57. It contains instructions on jumpers, and on connecting peripherals, switches, and indicators. Sections include: • Introduction • Jumpers and Connectors • Locating Jumpers •...
4.1 Introduction The PCM-3866 in the PPC-57 is specially designed to be an ultra-compact all-in-one SBC which incorporates a PC/104 connector into its design, accommodating easy expansion to meet your application needs. The board uses a newly-developed 386SX embedded microcon- troller (ALi's M6117C).
4.2 Jumpers and Connectors Connectors on the board link it to external devices such as hard disk drives or a keyboard. In addition, the board has a number of jumpers that allow you to configure your system to suit your application.
4.4 Locating Connectors I/O connector Flat panel display (CN2) connector (CN4) 10Base-T Ethernet connector (CN5) Touchscreen connector (CN7) SIMM Main power connector (JP1) ISA extension IDE hard disk connector (CN1) connector (CN3) Chapter 4 The Engine of the PPC-57 (PCM-3866)
4.5 Setting Jumpers You may configure your card to match the needs of your applica- tion by setting jumpers. A jumper is the simplest kind of electrical switch. It consists of two metal pins and a small metal clip (often protected by a plastic cover) that slides over the pins to connect them.
Warning! Always completely disconnect the power cord from your board whenever you are working on it. Do not make connections while the power is on, because sensitive electronic components can be damaged by a sudden rush of power. Caution! Always ground yourself to remove any static charge before touching the board.
4.6 Connector Pin Assignments IDE hard drive connector (CN3) PCM-3866 IDE hard drive connector Pin Signal Pin Signal IDE RESET* DATA 7 DATA 8 DATA 6 DATA 9 DATA 5 DATA 10 DATA 4 DATA 11 DATA 3 DATA 12 DATA 2 DATA 13 DATA 1...
Connecting drives is done in a daisy-chain fashion and requires a 1 x 44-pin to 2 x 44-pin flat-cable connector. Wire number 1 on the cable is red or blue, and the other wires are gray. 1. Connect one end of the cable to CN3. Make sure that the red (or blue) wire corresponds to pin 1 on the connector, which is labeled on the board (on the right side).
10Base-T Ethernet connector (CN5) PCM-3866 10Base-T Ethernet connector Signal The PCM-3866 is equipped with a high performance 16-bit Ethernet interface which is fully compliant with IEEE 802.3 10 Mbps CSMA/CD standards. It is supported by all major network operating systems and is 100% Novell NE2000 compatible. Configuration of the Ethernet is very easy and can be done via the RSET8019.EXE program included on the utility disk.
PCM-3866 Ethernet settings IRQ option I/O address range Jumperless 2,3,4,5,10, 11,12,15 200-300H configuration Default settings: IRQ=11, I/O Address=300H Note: You can select an IRQ from the options shown above, but make sure your selection does not conflict with other I/O devices. Main power connector (JP1) PCM-3866 main power connector Signal...
Flat panel display connector (CN4) PCM-3866 flat panel display connector Signal SHFCLK ENAVEE VEESAFE CN4 consists of a 15-pin header. Power supplies (+12 V) present on JP1 depend on the supply connected to the board. The PCM-3866 provides a bias control signal on JP1 which can be used to control the LCD bias voltage.
4.7 I/O Connector Pin Assignments COM1 RS-232 serial port (CN1) PCM-3866-I/0 1 COM1 RS-232 serial port Signal Chapter 4 The Engine of the PPC-57 (PCM-3866)
COM2 RS-232/422/485 serial port (CN2) PCM-3866-I/O 1 COM2 RS-232/422/485 serial port RS-232 RS-422 RS-485 Signal Signal Signal TxD- TxD- (Data-) RxD- RxD- (Data-) TxD+ TxD+ (Data+) RxD+ RxD+ (Data+) In a typical RS-485 application, the host device requests data from a slave module that listens for the response.
Software Configuration This chapter shows you how to configure the card to match your application requirements. AMI System BIOS is covered in Chapter 6. Sections include: • Introduction • Utility Disk • How to Update BIOS • Ethernet Utility...
5.1 Introduction The PCM-3866 system BIOS and custom drivers are located in a 128 KB, 32-pin Flash ROM device, designated U5. A single Flash chip holds the system BIOS and VGA BIOS. The display type can be configured via software. This method minimizes the number of chips and eases configuration.
ETHERNET.EXE This is a compressed file containing ethernet drivers and the utility for the Realtek 8019AS chip (see page 58). 5.3 How to Update BIOS You can program your on-board BIOS as follows: 1. Apply power to the PCM-3866 with a color STN display attached.
5.4 Ethernet Utility The PPC-57 Ethernet driver utility disk (ETHERNET.EXE) contains files required for installing and setting up the Ethernet controller. Copy ETHERNET.EXE to a selected drive. You can extract the file by typing: ETHERNET-Y. ROOT 8019AS.CFG DIR.DOC README.DOC RELEASE.DOC PG8019.EXE RSET8019.EXE RSET8019.EXE...
PG8019.EXE The PPC-57 is set at the factory by using this program. Upon receipt of the PPC-57, you should use RSET8019.EXE to config- ure your system for the working environment. If by chance the Ethernet EEPROM is corrupted, the PG8019.EXE program allows you to configure the card.
Page 70
3. All the available options for the Ethernet interface will be displayed. Highlight the option to be changed using the Up and Down keys. To change a selected item, press <Enter>, whereupon a screen will appear with the available options. Highlight your option and press <Enter>.
AMI Flash BIOS Setup This chapter describes how to set BIOS configuration data. Since the PPC-57's LCD display is only one quarter the size of a normal VGA display, the messages that appear on your screen will be only one quarter of the messages that appear in this manual.
6.1 System Test and Initialization These routines test and initialize board hardware. If the routines encounter an error, you will either hear a few short beeps or see an error message on the screen. There are two kinds of errors: fatal and non-fatal.
6.2 AMI BIOS setup Setup program initial screen AMI's Flash BIOS has a built-in setup program that allows users to modify the basic system configuration. This type of information is stored in battery-backup CMOS RAM, so that it retains the setup information when the power is turned off.
Standard CMOS setup When you choose the STANDARD CMOS SETUP option from the INITIAL SETUP SCREEN menu, the screen shown below is displayed. This standard Setup Menu allows users to configure system components such as date, time, hard disk drive and floppy drive.
Advanced CMOS setup By choosing the ADVANCED CMOS SETUP option from the INITIAL SETUP SCREEN menu, the screen below is displayed. This sample screen contains the manufacturer's default values for the PCM-3866. Advanced BIOS setup screen Chapter 6 AMI Flash BIOS Setup...
Peripheral setup By choosing the INTEGRATED PERIPHERALS option from the INITAL SETUP SCREEN menu, the screen below is displayed. This sample screen contains the manufacturer's default values for the PCM-3866. PPC-57 User's Manual...
Auto configuration with optimal settings This option allows the user to load optimal settings. It loads the default system values directly from ROM. If the stored record created by the setup program becomes corrupted (and therefore unusable), these defaults will load automatically when you turn on the PPC-57.
Save settings and exit If you select this option and press <Enter>, the values entered in the setup utilities will be recorded in the chipset's CMOS memory. The microprocessor will check this every time you turn your system on and compare this to what it finds as it checks the system.
SVGA Setup The PPC-57 features an on-board flat panel/VGA interface. This chapter provides instructions for installing and operating the software drivers on the display driver diskette included in your package. When reading this chapter, remember that the PPC-57's screen is only one quarter the size of a typical VGA display.
7.1 Sleep Mode The utility diskette contains two files that support sleep mode. Simply type the file name at the DOS prompt: ON.COM switches to normal display mode OFF.COM switches to sleep mode PPC-57 User's Manual...
7.2 Software Support The drivers support the following applications using the file names and resolutions listed: Application File Name Resolution Colors Windows 3.1 LINEAR4.DRV 640 x 480 800 x 600 1024 x 768 LINEAR8.DRV 640 x 480 800 x 600 1024 x 768 LINEAR16.DRV 640 x 480...
7.3 Driver Installation Necessary prerequisites The instructions in this manual assume that you understand elementary concepts of MS-DOS and the IBM personal computer. Before you attempt to install any driver or utility you should know how to copy files from a floppy disk to a directory on the hard disk, understand the MS-DOS directory structure, and know how to format a floppy disk.
Windows These drivers are designed to work with Microsoft Windows 3.1. You may install these drivers through Windows or in DOS. Step 1: Install Windows as you normally would for a VGA display. Run Windows to make sure that it is working correctly. Step 2: Place the display driver diskette in drive A.
Page 84
Step 1: Install Windows as you normally would for a VGA display. Run Windows to make sure that it is working correctly. Then exit Windows. Step 2: Place the display driver diskette in drive A. Type A: <ENTER> to make this the default drive. Type SETUP <ENTER> to run the driver SETUP program.
Special panning drivers are provided to allow high-resolution modes to be displayed on a flat panel or CRT. These drivers will show a section of a larger screen and will automatically pan, or scroll, the screen horizontally and vertically when the mouse reaches the edge of the display.
Page 86
Step 2: Go to the AutoCAD directory where the new drivers were installed and run the driver installation program by typing ACAD12 -r <ENTER>. This program will configure your AutoCAD R12 to use the new display drivers. Select TurboDLD Classic. Select Configure Video Display.
If your previously installed driver is not TurboDLD, you will have to reconfigure the RENDER command the first time you use it. Lotus 1-2-3 and Lotus Symphony These drivers are designed to work with Lotus 1-2-3 versions 2.0, 2.01 and 2.2, and with Lotus Symphony versions 1.0 and 1.1. Step 1: Place the display driver diskette into drive A.
Step 4: After the selection of the appropriate VGA display driver, you will need to exit this menu and return to the Main Lotus Installation Menu. Do this by selecting Return To Menu. Step 5: At the Main Lotus Installation Menu, select Save Changes. Step 6: At this point, the Installation Menu will prompt you for the name of your new Lotus configuration file.
Step 1: Place the display driver diskette into drive A. Make A the default drive by typing A: <ENTER>. Run the SETUP program by typing SETUP <ENTER>. Press any key to display a list of sup- ported applications. Use the arrow keys to select VESA Driver Version 1.2 and press <ENTER>.
Step 2: Place the display driver diskette into drive A. Make A the default drive by typing A: <ENTER>. Run the SETUP program by typing SETUP <ENTER>. Press any key to display a list of sup- ported applications. Use the arrow keys to select Word and press <ENTER>.
Page 91
Step 2: Start WordPerfect, and press <SHIFT>+<F1> to enter the setup menu. Select D for Display and G for Graphics Screen Type, and then choose the desired Chips VGA resolution. Follow these instructions to configure WordPerfect 5.0 for 132 column text mode: Step 1: To use the SETCOL program to set 132 columns and 25 rows, type the following command: SETCOL 132, 25 <ENTER>...
Programming the Watchdog Timer The PPC-57 is equipped with a watchdog timer that resets the CPU if processing comes to a standstill for whatever reason. This feature ensures system reliability in industrial stand-alone or unmanned environments.
A.1 Programming the Watchdog Timer To enable the watchdog timer, you must write a program which writes I/O port address 443 (hex) at regular intervals. The output data is a timer value. You can write from 01(hex) to 3E(hex), and the related timer is 1 sec.
Page 95
After data entry, your program must refresh the watchdog timer by rewriting I/O port 443 (hex) while simultaneously setting it. When you want to disable the watchdog timer, your program should read I/O port 443 (hex). The following example shows how you might program the watchdog timer in BASIC: Watchdog timer example program OUT &H443, data REM Start and restart the...
B.1 Touchscreen Specifications The touchscreen is a 4-wire analog resistive type. It is constructed of one glass sheet overlayed with two layers of PET. The PET layers are coated with ITO and are separated by printed spacers. The touchscreen is designed to be activated by the pressure of any stylus.
B.2 Installation You can find the executable file named INSTALL.COM in the root directory of the system utility software disk. Run INSTALL.COM to completely install the system software to your hard disk drive. Executing INSTALL.COM The command prompt is INSTALL<Sd><Td> [Enter]. The symbol <Sd>...
B.3 Running the Setup Program 1. Go to the root directory of ATS. 2. Key in S [Enter] (or ATSDOSCP). Operation keys 1. Use the [↑] and [↓] keys to move the cursor up or down to the desired function. 2.
Page 101
Calibration settings Location file number VGA mode resolution VGA #0D 320 x 200 (40 x 75) VGA #0E 640 x 200 (80 x 25) VGA #0F 640 x 350 (80 x 25) VGA #10 640 x 350 (80 x 25) VGA #11 640 x 480 (80 x 30) VGA #12...
B.4 Removing the Touchscreen Driver 1. Go to the root directory to ATS. 2. Type M [Enter] or ATSMOUSE to finish the removal. File name: ATSMOUSE.API Description: A user's application program that can perform the same functions as the driver via Int 33h. The driver will perform some functions according to data in the AX register.
B.5 Touchscreen Driver Application Interface (API) The device driver supports some functions compatible with the mouse driver, as listed below: Compatible functions supported by the device driver Description 0000h Install flag and reset 0001h Show cursor 0002h Hide cursor 0003h Get position and button status 0004h Set cursor position...
Page 104
Function: Get touchscreen device driver information Input: AX = 8000h Output: AX = "AT" identification code BL = 4, Type: PS/2 BH = interrupt request number IRQ CX = Interrupt vector number DX = device driver version e.g. 0864h=8.64 Function: Get touchscreen position and status Input: AX = 8002H Output: BL = button status: BIT-0 left button status, 0: release, 1:...
Page 105
Output: AX = 0, execute OK AX = 1, execute fail Example: When BX = 1, it is set for fictitious button mode DL (fictitious button mode) = 1: Stream mode = 2: Lift off mode = 3: Touch down mode = 4: Drag drop mode When BX = 2, set calibration address DL (calibration address)
Page 106
Function: Get touchscreen parameter function table address Input: AX = 8006H Output: AX = 0 ES: BX = address of parameter table (segment = offset) Illustration: When the system starts, the T/S driver will load ATSMOUSE.INI into the parameter table area to support the obtaining of video mode addresses for switching to any one video mode automatical- Parameter format Fictitious button mode : 1 byte...
Page 107
Address table format Horizontal (X) minimum value: 1 word Vertical (Y) minimum value: 1 word Horizontal (X) maximum value: 1 word Vertical (Y) maximum value: 1 word Note: Do not change the contents of the parameter directly, because this may cause the touchscreen to malfunction.