Download Print this page
Advantech PCL-849 User Manual
Advantech PCL-849 User Manual

Advantech PCL-849 User Manual

Pcl-849 series 4-port rs-232 interface card

Advertisement

Quick Links

Advertisement

loading

Summary of Contents for Advantech PCL-849

  • Page 2 Advantech Co., Ltd. Information provid- ed in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of rights of third parties which may result from its use.
  • Page 3 Description ................4 Features .................. 5 Specifications ................. 5 Initial Inspection ..............10 Card Installation ..............11 Card Configuration ............12 Default Settings ..............12 I/O Address and Interrupt Setup ........12 Enhanced Mode ..............13 Speed Mode selection ............18 Operating Environment Selection ........
  • Page 5 Chapter 1 Introduction...
  • Page 6 In standard mode each of the four port addresses can be set individually. In enhanced mode, all four port addresses can be set automatically. The PCL-849+ also supports either shared IRQ or independent IRQ functions. When an on-board interrupt occurs the interrupt status register (vector address) indicates which port generat- ed it.
  • Page 7: Chapter 1 Introduction

    Four independent RS-232 serial ports Transmission speeds up to 921.6 Kbps Independent/Shared I/O addresses and IRQ settings for each of 4 serial ports Wide IRQ selection: 3, 4, 5, 6, 7, 9, 10, 11, 12, 15 Supports Standard DOS COM1, COM2, COM3, and COM4 Supports DOS/Windows 3.1 (PC-ComLib), Windows 95, Windows Supports surge protection: 2000 V (PCL-849B/849+)
  • Page 8 · UART: 4 × 16C554 (PCL-849A/849B) 4 × 16C654 (PCL-849+) · Speed (bps): 50 ~ 921.6K · Connectors: 30-cm male DB-37 to 4 × DB25 male (DTE) · Data signals: TxD, RxD, RTS, CTS, DTR, DSR, DCD, RI, GND · Surge protection: 2000 V (PCL-849B/849+) ·...
  • Page 9 Figure 1-1: Switch and jumper layout...
  • Page 10 PCL-849 User's Manual...
  • Page 12 It should be free of marks and scratches and in perfect working order on receipt. As you unpack the PCL-849, check it for signs of shipping damage (damaged box, scratches, dents, etc.). If it is damaged or it fails to meet specifications, notify our service department or your local sales representative immediately.
  • Page 13: Chapter 2 Hardware Installation

    (save the screw to secure the interface card retaining bracket). Remove the anti-vibration card clamp if supplied. 6. Carefully grasp the upper edge of the PCL-849 card. Align the hole in the retaining bracket with the hole on top of the expansion slot.
  • Page 14 Each port on the PCL-849 card has a jumper and a DIP switch which require configuring prior to use. The DIP switch sets the port to the appropriate I/O address and speed mode. The jumpers set the port's IRQ. The board is shipped with default settings. If you need to change these settings, however, see the following sections.
  • Page 15 In this mode, each of the four ports has been set up as an address individually. Select an address which is not already in use by another card in the system. If you are installing more than one PCL-849 card in your system, set the cards to different base adresses. DIP switches control each card's base address, as shown below.
  • Page 16 The switch sum is set to 2F8: 200 + 80 + 40 + 20 + 10 + 8 (HEX). Note: On the PCL-849 address line A9 does not appear on the DIP switch, as it is permanently hardwired to hex 200.
  • Page 17 Port 4 Select an IRQ which is not already in use by another card in the system. If you are installing more than one PCL-849, set them to different IRQ numbers. Jumper Bank JP1 controls the card IRQ. Simply place the jumper on the required interrupt level as shown in the following figure.
  • Page 18 For example, if you set the switch to 210H, then the address 210H to 21FH will all be decoded. The various DIP switch settings (S1) for the interrupt status register are as shown in the table opposite. PCL-849 User's Manual...
  • Page 19 t n I t s i Chapter 2 Hardware Installation...
  • Page 20 The PCL-849 employs a unique speed option that allows the user to choose either normal speed mode (1x) or high speed mode (8x). This high speed mode is selected at S2. To select the band rate commonly associated with COM ports , such as 2400, 4800, 9600.
  • Page 22 The PCL-849's driver determines the configuration of the installed cards by reading a data file, GEN-DRV.CNF. When you first install the PCL-849, and each time you change the card's address and IRQ, you will need to run the card setup program to save the settings to the configuration file.
  • Page 23: Chapter 3 Software Installation

    Driver selection screen After the screen shows up, move the cursor bar (using the arrow keys or the mouse) to the general serial board field and press ENTER. The screen shown below will appear. Setup screen Chapter 3 Software Installation...
  • Page 24 Here you can set the configuration for each of the PCL-849 cards installed in the system. Set the IRQ, base address, baud rate, buffer size and port number to match the card's configuration. Do this by moving the highlight to the field you want to set up. Press ENTER and a menu will appear, allowing you to select the correct setting.
  • Page 25: Config.sys File

    – you do not have to install it in the CONFIG.SYS file. To install the PCL-849 card driver change to the directory or floppy disk containing the driver files and type GEN-DRV. You should soon see the following message: PC-ComLIB Serial Communication Driver (Ver x.xx)
  • Page 26 /*Receive data on Port 2, store in buf1*/ sio_1input(2,buf1,7,13); /*Print received data*/ printf("%s\n",buf1); /*Disable communication ports*/ sio_close(1); sio_close(2); See the PC-ComLIB user’s manual for information on programming and linking your application programs with the driver libraries. PCL-849 User's Manual...
  • Page 27 Windows Terminal program, LabVIEW, FIX, and pcANYWHERE for Windows, or other programs that support Windows COMM API calls can communicate to the outside world via PCL-849 multiport boards. 1. Insert the PC-ComLIB diskette into the floppy drive A: (or B:).
  • Page 28 (COM1 and COM2) are included. For example, you can set one serial port on the motherboard for COM1 (0x3F8, IRQ4), while designating COM2-5 on IRQ3 for the four ports on a PCL-849 card. Note: If using a serial mouse, it must be installed on either COM1 (0x3F8, IRQ4) or COM2 (0x2F8, IRQ3), and must have its own dedicated IRQ.
  • Page 29 3.Enter [Next], then choose [Connection Port (COM & LPT)] Hardware Type. 4.Enter [Next], then select [Standard Connection Port Type] for manufacturer and [Communication Connection Port] for model. 5.Enter [Next], then the default IRQ and I/O Addresses will be shown. Click [Done]. Up to this point you have added a port to the system without correct- ing IRQ and I/O settings.
  • Page 30 IRQ 5 Port 2: Base Address 300h + 08h, IRQ 5 Port 3: Base Address 300h + 10h, IRQ 5 Port 4: Base Address 300h + 18h, IRQ 5 Restart Windows NT to initialize the new settings. PCL-849 User's Manual...
  • Page 31 Chapter 4 Wiring...
  • Page 32 The following diagrams show the pin assignments for DB-37 and DB- 25 connectors for RS-232. PCL-849 Pin assignments for RS-232 PCL-849 User's Manual...
  • Page 33: Chapter 4 Wiring

    Since the RS-232 interface is not strictly defined, many devices have their own connection methods which may ignore some signal lines or define reserved lines for other functions. It is best to refer to the user’s manual for your device for installation instructions. You may find the following helpful.
  • Page 34 Because in general the DCE RS-232 interfaces are reversed them- selves. Signal Signal — — DSR — — DCD — If not using CTS, RTS, DSR ,DTR signals, please loop back for the PC-ComLIB software to function correctly, because PC-ComLIB will always check for handshake signals. PCL-849 User's Manual...
  • Page 35 Appendix A PC I/O Address Assignments...
  • Page 36 The following table indicates the PC I/O address usage assignment. To prevent conflicting settings of the PCL-849 with other devices or I/O cards, you are recommended to refer this table. 000 - 00F DMA (8237A) 020 - 021 8259A IRQ Controller...
  • Page 37 Appendix B Quick Reference...
  • Page 38 Jumper Setting · IRQ Mode DIP 1 (MODE 0) of S1 is used to set the IRQ mode of this card. DIP1 : ON (Upper) position Share IRQ mode DIP1 : OFF (Lower) position Independent IRQ mode · STANDARD/ ENHANCED Mode DIP 2 (MODE 1) of S1 is used to set the Standard/enhanced mode of this card.
  • Page 39: Appendix B Quick Reference

    DIP1 : OFF (Lower) position Normal Speed Mode (Frequency of Oscillator Crystal = 1.8432 MHz) STANDARD MODE: In this mode, The I/O Addresses and its IRQ Level for each port are set to default as shown below, (Disable BIOS setting of on-board COM1 ~ COM4) ) * ( ) * ( ) * (...
  • Page 40 PCL-846/847 User's Manual...

This manual is also suitable for:

Pcl-849aPcl-849b