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 6
The UART is especially useful for high speed serial I/O under Windows. PCL-846 cards differ from PCL-847 cards in that they utilize on- board optical isolators to protect your PC and equipment against damage from ground loops, increasing system reliability in harsh environments.
(PCL-846B/847B) • Power consumption: PCL-847; +5 V @ 460 mA typical, 570 mA max. PCL-846; +5 V @ 970 mA typical, 1200 mA max. • Cables: 30-cm male DB-37 to four male DB-9 (DTE) • Operating temperature: 0 ~ 60° C (32 ~ 140° F) (refer to IEC-68-1.2.3) •...
Page 12
It should be free of marks and scratches and in perfect working order on receipt. As you unpack the PCL-846/847, 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.
(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-846/847 card. Align the hole in the retaining bracket with the hole on top of the expansion slot.
Page 14
The ports on the PCL-846/847 card have jumpers and DIP switches which require configuration before the card is used. DIP switches set the port I/O addresses and speed modes. Jumpers set the port IRQs. The board is shipped with default settings. If you need to change these settings, however, see the following sections.
Page 15
Next, you will need to select an I/O base address, and port IRQ (interrupt request) numbers for the PCL-846/847 . The card base address can be set using the DIP switches on the card. The DIP switch labelled "MODE 1" will set the card to standard or enhanced mode, as shown below.
Page 16
In the enhanced mode, the card base address is set by the user. Select an address which is not already being used by another card in the system. If you are installing more than one PCL-846/847 card in your system, set the cards to different base addresses. DIP switches on S1 control each card's base address, as shown below.
Page 17
The switch sum is set to 2F8: 200 + 80 + 40 + 20 + 10 + 8 (HEX). Note: On the PCL-846/847, the address line A9 does not appear on the DIP switch, as it is permanently hardwired to hex 200.
Page 18
JP14 Select an IRQ which is not already in use by another card in the system. If you are installing more than one PCL-846/847, set them to different IRQ numbers. Jumper Bank JP11 controls the card IRQ. Simply place the jumper on the desired interrupt level as shown in the following figure.
Page 19
the bit is 1, then no interrupt is generated. The following table shows the correspondence between the status register bit which gets set to 0 and the port assigned to generate an interrupt. Interrupt Status Register S2 Function Port 1 Port 2 Port 3 Port 4...
Page 21
The PCL-846/847 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 using switch S1. To select a baud rate commonly associated with COM ports , such as 2400, 4800, 9600.
Page 22
Otherwise, the driver output will remain in high impedance status. If a jumper is set to "ON," the driver is always enabled, and always in high or low status. The user must select a mode before beginning RS- 422 applications. PCL-846/847 User's Manual...
Page 24
The PCL-846/847's driver determines the configuration of the installed cards by reading a data file, GEN-DRV.CNF. When you first install the PCL-846/847, 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.
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 26
Here you can set the configuration for each of the PCL-846/847 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.
– you do not have to install it in the CONFIG.SYS file. To install the PCL-846/847 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 28
/*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-846/847 User's Manual...
Page 29
Comm(), ReadComm(), and WriteComm(). Application software like Windows Terminal program, LabVIEW, FIX, and pcANYWHERE for Windows, or other programs that support Windows COMM API calls can communicate to outside world via PCL-846/847 multiport boards. 1. Insert the PC-ComLIB diskette into the floppy drive A: (or B:).
Page 30
A maximum of 6 ports is supported if the existing standard COM ports (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-846/847 card. Note:...
Page 31
1.Run Setup.exe on the driver diskette. 2.Select “Advantech Icom Utility” to install and configure the board, following the on-line instructions. 3.After the Advantech Icom Utility configuration panel pops up, please refer to the software help file for more details. 4.Following completion of the installation, restart Windows 95.
Page 32
PCL-846/847 series cards can be installed together in a single system as long as the system memory resources are sufficient and available in a system. Different boards should be assigned different IRQs. Click the [Share IRQ Enable] button to set the share IRQ function.
Page 34
With RS-422, you can transmit and receive data simultaneously (full duplex). The connections are as follows: Signal Signal TxD- RxD- TxD+ RxD+ RxD+ TxD+ RxD- TxD- RTS- CTS- RTS+ CTS+ CTS+ RTS+ CTS- RTS- PCL-846/847 Series User's Manual...
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. In RS-485 mode, the PCL-846/847 automati- cally senses the direction of the data flow and switches the transmis- sion direction —...
Page 36
(approximately 120 Ohms). Termination resistors TR1 ~ 4 handle Port 1 Termination resistors TR5 ~ 8 handle Port 2 Termination resistors TR9 ~ 12 handle Port 3 Termination resistors TR13 ~ 16 handle Port 4 PCL-846/847 Series User's Manual...
Page 38
The following table indicates the PC I/O address usage assignment. To prevent conflicting settings of the PCL-846/847 with other devices or I/O cards, you are recommended to refer this table. 000 - 00F DMA (8237A) 020 - 021 8259A IRQ Controller...
Page 40
DIP1 : ON (Upper) position High Speed Mode or ´ 8x Mode (Frequency of Oscillator Crystal = 14.7456 MHz) DIP1 : OFF (Lower) position Normal Speed Mode or 1x Mode (Frequency of Oscillator Crystal = 1.8432 MHz) PCL-846/847 User's Manual...
Make sure that the I/O addresses of the original system (refer to Appendix A) will never conflict with the PCL-846/847 card's [Base Address] ~ [Base Address + 1F]. ) * ( ) * (...
Page 42
Enable mode selection: (JP4, JP6, JP8, JP10) · Auto: automatically senses the direction of data flow ·RTS: high RTS signal enable ·ON: always high or low status for RS-422 mode PCL-846/847 User's Manual...
Need help?
Do you have a question about the PCL-846 Series and is the answer not in the manual?
Questions and answers