Download Print this page

Advantech PCL-746+ User Manual

A four port serial communication interface card

Advertisement

Quick Links

This documentation and the software included with this product are
copyrighted 2001 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 or software 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. 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.
PC-LabCard is a trademark of Advantech Co., Ltd. IBM, PC and
PC/XT/AT are trademarks of International Business Machines
Corporation. MS-DOS, MASM, QuickBASIC, Microsoft C and MS-
PASCAL are trademarks of Microsoft Corporation. Intel is a trademark
of Intel Corporation. Turbo C and Turbo PASCAL are trademarks of
Borland International.
Part No. 2000746001 4th Edition
Printed in Taiwan
May 2001

Advertisement

loading

Summary of Contents for Advantech PCL-746+

  • Page 1 Advantech Co., Ltd. Information provided 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 ................2 Initial Inspection ..............8 PCL-746+ Switch and Jumper Layout ....... 9 Jumper settings ..............10 Card Configuration ............. 10 Protocol Selection ............... 11 I/O Address and Interrupt Setup ........13 Card installation ..............22 SCO UNIX/XENIX .............. 24 Wiring..................
  • Page 4 Chapter 1 Introduction 1...
  • Page 5 The PCL-746+ is a four port serial communication interface card. Each port can be configured individually to either RS-232, RS-422 or RS-485 using on-board jumpers. The PCL-746+'s four 16C550 UARTs (on-chip 16-byte FIFO buffers) make serial I/O more reliable. By buffering data into 16-byte packets before putting it on the bus the UARTs drastically reduce the CPU load.
  • Page 6: Chapter 1 Introduction

    • Four independent RS-232, RS-422 or RS-485 serial ports • Each port is individually configurable to RS-232, RS-422 or RS-485 (Jumper selectable) • 16C550 UARTs for PCL-746+ • Speed up to 115 Kbps • Complete RS-232 modem-control signals • Up to two cards for a total of eight ports in one system •...
  • Page 7 • Interface to PLC, barcode reader, scale, POS • Interface to modem, mouse, plotter, printer, BBS • RS-232 terminal interfaces • Multi-drop communication networks • Long-distance serial links • Multi-user operating systems • Laboratory data collection and process control • Number of ports: 4 •...
  • Page 8 • Signals: TxD, RxD, RTS, CTS, DTR, DSR, DCD, RI, GND • Mode: Asynchronous full duplex, point-to-point • Max data rate: 115 Kbps • Max data distances: 50 feet (15.2 meters) • Signals: TxD+, TxD-, RxD+, RxD-, RTS+, RTS-, CTS+, CTS-, GND •...
  • Page 9 PCL-746+ User's Manual...
  • Page 10 Chapter 2 Hardware Installation...
  • Page 11 Depending on the option you ordered, you should find (in addition to this manual) the following items inside the shipping container: • One PCL-746+ 4-port serial card (with 16C550 or compatible UART) • One 30-cm male DB-37 to four male DB-25 cable We carefully inspected the PCL-746+ mechanically and electrically before we shipped it.
  • Page 12 Chapter 2 Hardware Installation...
  • Page 13 This section tells how to set the jumpers to configure your card. It gives the card default configuration and your options for each jumper. You configure your card to match the needs of your application by setting jumpers. A jumper is the simplest kind of electric 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.
  • Page 14: Chapter 2 Hardware Installation

    The board will be shipped in the RS-232 mode (Enhanced), all the jumpers on the 12*3 pin jumper will be set to the upper position, this is the cards default setting. The PCL-746+ DIP switch and jumper default settings are as shown below: Jumper Default Function Port1...
  • Page 15 For either RS-422 or RS-485 mode selection the 1*3 pin jumpers for each port have to be configured. For RS-422 configuration the upper two pins of the 3-pin jumper should be connected. A 2-pin jumper is used for Tx control. Closing the jumper initiates Tx automatic flow control.
  • Page 16 Next you will need to select an IRQ (interrupt request) number and an I/O base address for the PCL-746+. The cards base address can be setup using S5. Please note that the first DIP switch is for mode setting as shown below. In this mode each of the four ports can be setup as the address or the IRQ channel individually.
  • Page 17 Port1 CH1 Base Address AAA, CH1 IRQ M Port2 CH2 Base Address BBB, CH1 IRQ M Port3 CH3 Base Address CCC, CH1 IRQ M Port4 CH4 Base Address DDD, CH1 IRQ M In the above table the base address is set by S1~S4 and the IRQ channel number set by the IRQ select jumper JP4 (see page 15).
  • Page 18 In this mode each of the four ports can have the IRQ channel set individually. For each port, select an IRQ which is not already in use by another card in the system. The map of jumpers and ports is shown below: Port 1 Port 2...
  • Page 19 This feature on the PCL-746+ is utilized in the enhanced mode only. When data arrives at one of the four ports, it will generate an interrupt in the interrupt register. The PC software can read this and identify immediately which port generated the interrupt. This saves time and makes programming easier.
  • Page 20 S5 DIP switch settings 000H to 110H Chapter 2 Hardware Installation...
  • Page 21 S5 DIP switch settings 120H to 230H PCL-746+ User's Manual...
  • Page 22 S5 DIP switch settings 240H to 350H Chapter 2 Hardware Installation...
  • Page 23 S5 DIP switch settings 360H to 3F0H PCL-746+ User's Manual...
  • Page 24 Chapter 3 Installation...
  • Page 25 Warning! Turn off your PC’s power supply whenever you install or remove the PCL-746+ or its cables. Static electricity can easily damage computer equipment. Ground yourself by touching the chassis of the computer (metal) before you touch any boards. See the static warning on page 8 1.
  • Page 26 Chapter 4 Software Installation: UNIX Users...
  • Page 27 The PCL-746+ is compatible with Arnet 4-port cards. Under SCO UNIX/XENIX you can install up to two cards in one system . The two four port cards should be set to Enhanced mode and the switch settings are as follows: PCL-746+ User's Manual...
  • Page 28 After you have set the above switches to the appropriate settings please enter the system maintenance mode and type: # mkdev serial The screen will display; You would like to install a: 1 port card 2 port card 4 port card 5 port card 8 port card Chapter 4...
  • Page 29 Enter number 3 and then press return. The screen will show: The card is configured as: COM1 COM2 COM3 COM4 Enter number 1 and press enter. The system will configure the 4 port card as tty1a, tty1b, tty1c, and tty1d. Repeat the above procedure to configure a secondary 4 port card if required, the system will configure the secondary 4 port card as tty2a, tty2b, tty2c, and tty2d.
  • Page 30 Chapter 5 Wiring...
  • Page 31 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 32 Signal Signal For DTE to DCE connection, use straight through cable, i.e. you don't have to reverse lines 2 and 3, lines 4 and 5, and lines 6 and 20. Because in general the DCE RS-232 interfaces are reversed themselves. Signal Signal —...
  • Page 33 For RS-422 interface, the wiring is based on one-to-one principle and the connections are as follows: Signal Signal RxD+ TxD+ TxD+ RxD+ RTS+ CTS+ CTS+ RTS+ RTS- CTS- RxD- TxD- TxD- RxD- CTS- RTS- The signals DSR, DTR, DCD are shorted internally on PCL-746+ card whist operating in the RS-422 mode.
  • Page 34 An example of the installation for port 4 is as follows: 120Ω RS-422 Termination resistor installation The RS-485 standard supports half-duplex communication. This means that just two wires are needed to both transmit and receive data. Handshaking signals (such as RTS, Request To Send) are normally used to control the direction of the data flow and to switch the transmission accordingly.
  • Page 35 The terminal resistors for impedance matching on the PCL-746+ are not installed at the factory. The user can install the resistors with the appropriate resistances according to the cards application. Each terminal resistor corresponds to a different channel for DATA+, DATA- lines. Usually, these resistors are needed for both ends of the communication wires and the value of the resistors should match the characteristic impedances of the wires used (approx 120 ohm).
  • Page 36 Appendix A Connector Pin Assignments...
  • Page 37 The following diagrams show the pin assignments for DB-37 and DB- 25 connectors for RS-232, RS-422 and RS-485 Modes. PCL-746+ Pin assignment for RS-232 PCL-746+ User's Manual...
  • Page 38: Appendix A Connector Pin Assignments

    PCL-746+ Pin assignment for RS-422 Appendix A Connector Pin Assignments...
  • Page 39 PCL-746+: DB-37 Four Port Connectors:DB-25...
  • Page 40 Appendix B PC I/O Address Reference...
  • Page 41 The following table indicates the PC I/O address usage assignment. To prevent conflicting settings of the PCL-746+ with other devices or I/O cards, you are recommended to refer this table. I/O Address Device 000 - 00F DMA (8237A) 020 - 021 8259A IRQ Controller 040 - 043 8253/8254 Timer/Counter...