background image

14

PCL-846/847   User's Manual

Independent IRQ Mode (JP11-JP14)

In this mode, each of the four ports can have IRQ channels set
individually.  For each port, select an IRQ which is not already in use
by another card in the system.  The mapping of jumpers to ports is as
shown below.

Port 1

à

JP11

Port 2

à

JP12

Port 3

à

JP13

Port 4

à

JP14

Shared IRQ Mode (JP11)

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.

Interrupt Status Register Setup

(S2, Vector address)

This feature on the PCL-846/847  is utilized in the IRQ sharing mode
only.  When data arrives at one of the four ports, it generates 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.

When a data bit of the interrupt status register is set to 0, the corre-
sponding port is selected to generate an interrupt in DOS and
WIN 3.x, the corresponding interrupt register for Win 95/NT is 1.  If

JP 11

Содержание PCL-846 Series

Страница 1: ...PCL 846 847 4 Port RS 422 485 Interface Card ...

Страница 2: ...vid 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 Acknowledgments 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...

Страница 3: ...Interrupt Setup 11 Speed Mode Selection 17 Enable Mode Selection JP4 JP6 JP8 JP10 18 Chapter 3 Software Installation 19 Operating Environment Selection 20 Driver Installation for DOS Users 20 Driver Installation for Windows 3 1 Users 25 ICOM Utility Setup for Windows 95 98 NT Environments 26 Chapter 4 Wiring 29 Pin assignments 30 RS 422 signal wiring 30 RS 485 signal wiring 31 Appendix A PC I O Ad...

Страница 4: ......

Страница 5: ...1 Introduction C H A P T E R ...

Страница 6: ...otection technology protecting your system from abrupt high voltage surges up to 2000 V The PCL 846 847 series has passed the CE test for environmental specifications An RS 485 Network with Automatic Data Flow Control Using RS 232 Software The RS 485 mode automatically senses the direction of incoming data and switches its transmission direction accordingly This feature means your network looks an...

Страница 7: ...CL 846A 846B only Surge protection 2000 VDC 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 Storage temperature 25 80 C 13 176 F Dimensions 185 mm x 100 mm 7 3 x 3 9 MTBF PCL 847A 126630 hrs at 25 C Ground Fixed environment PCL 847B ...

Страница 8: ...4 PCL 846 847 User s Manual Figure 1 1 PCL 847 switch and jumper layout Card Jumper Layout ...

Страница 9: ...Chapter 1 Introduction 5 Figure 1 2 PCL 846 switch and jumper layout ...

Страница 10: ...6 PCL 846 847 User s Manual ...

Страница 11: ...2 Hardware Installation C H A P T E R ...

Страница 12: ...c If it is damaged or it fails to meet specifications notify our service department or your local sales representative immediately Also notify the carrier Retain the shipping carton and packing material for inspection by the carrier After inspection we will make arrangements to repair or replace the unit Remove the PCL 846 847 from its protective packaging by grasping the rear metal panel Keep the...

Страница 13: ...or passive backplane at the rear of the PC and choose any unused slot 5 Remove the screw that secures the expansion slot cover to the PC 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 Align the go...

Страница 14: ... disable your CPU card s on board COM ports if any or set them to alternate addresses IRQs PCL 846 847 Default Configuration Setting Default function JP11 IRQ 12 Speed mode 1x IRQ mode Share Base address Address 300H Vector address Interrupt 280H Address mode Enhance RS 422 485 Selection JP3 JP5 JP7 JP9 You can set each port individually for either RS 422 the default or RS 485 operation Jumper JP3...

Страница 15: ...base address setting S2 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 Standard Mode In this mode each of the four ports has a pre assigned address as shown below Port 1 Ch1 base address 3F8 Port 2 Ch2 base address 2F8 Port 3 Ch3 base address 3E8 Port 4 Ch4 base address 2E8 ...

Страница 16: ... 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 Port base address S1 Base Address A3 A4 A5 A6 A7 A8 200 21F l l l l l l 208 227 l l l l l 2E8 307 l l 300 31F l l l l l 3E0 3FF l l l on off default Default Settings Mode Enhanced Mode Port 1 IRQ12 Address 300H Port 2 IRQ12 Address 308H Port 3 IRQ12 Address 310H...

Страница 17: ...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 Interrupt Level IRQ Setting S2 JP11 JP12 JP13 JP14 The card s IRQ mode can be set using S2 Please note that the DIP switch on S2 labelled MODE 0 is for setting the mode as shown below Shared IRQ Mode default Independent IRQ Mode ...

Страница 18: ...Q numbers Jumper Bank JP11 controls the card IRQ Simply place the jumper on the desired interrupt level as shown in the following figure Interrupt Status Register Setup S2 Vector address This feature on the PCL 846 847 is utilized in the IRQ sharing mode only When data arrives at one of the four ports it generates an interrupt in the interrupt register The PC software can read this and identify im...

Страница 19: ...Used 7 Not Used A user may change the interrupt status registers address using the DIP switch S2 Please note that the address decoder will occupy a continuous 16 byte string of registers starting from the switch setting For example if you set the switch to 210H then the contents of the registers from 210H to 21FH will all be decoded The various DIP switch settings S2 and their corresponding interr...

Страница 20: ... F O F F O N O H 0 C 2 F F O N O F F O F F O N O H 0 D 2 N O F F O F F O F F O N O H 0 E 2 F F O F F O F F O F F O N O H 0 F 2 N O N O N O N O F F O H 0 0 3 F F O N O N O N O F F O H 0 1 3 N O F F O N O N O F F O H 0 2 3 F F O F F O N O N O F F O H 0 3 3 N O N O F F O N O F F O H 0 4 3 F F O N O F F O N O F F O H 0 5 3 N O F F O F F O N O F F O H 0 6 3 F F O F F O F F O N O F F O H 0 7 3 N O N O N...

Страница 21: ...igh speed mode is selected using switch S1 Normal Speed Mode S1 default To select a baud rate commonly associated with COM ports such as 2400 4800 9600 115 2 Kbps set the switch labelled SPEED to off as shown High Speed Mode S1 To increase the normal baud rates by eight times e g if 115 2 Kbps is set the baud rate wil be increased to 921 6 Kbps set the switch labelled SPEED to on as shown ...

Страница 22: ...ically senses the direction of the data flow and switches the direction of transmission No handshaking is necessary If a jumper is set to RTS request to send a high RTS signal will enable the driver 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 4...

Страница 23: ...3 Software Installation C H A P T E R ...

Страница 24: ...t common languages including C PASCAL BASIC Quick BASIC Assembly and Clipper PC ComLIB also includes the DataScope data viewer terminal emulator and self diagnostics utilities for easy troubleshooting and debugging Please see the PC ComLIB manual for detailed information Card setup The PCL 846 847 s driver determines the configuration of the installed cards by reading a data file GEN DRV CNF When ...

Страница 25: ...e Installation 21 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 ...

Страница 26: ...o controls the port number assignments for each card When you use a driver function in your program you will identify the ports by these assignments After you have set the IRQ base address baudrate buffer size and port assignments press F10 to save the settings or ESC to return to the previous page Note Make sure that the base address and IRQ selected do not conflict with any other cards you may h...

Страница 27: ...is a TSR Terminate and Stay Resident program you can execute it at any time 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 Setup driver Device driver setup O K If the driver can not ...

Страница 28: ...IB TSR driver first include head c h main Setup PORT1 PORT2 baud 57600 data 8 stop 1 no parity sio_ioctl 1 B57600 BIT_8 P_NONE STOP_1 sio_ioctl 2 B57600 BIT_8 P_NONE STOP_1 Enable communication ports sio_open 1 sio_open 2 Transmit data on Port 1 sio_write 1 Hello 7 delay 200 Receive data on Port 2 store in buf1 sio_1input 2 buf1 7 13 Print received data printf s n buf1 Disable communication ports ...

Страница 29: ...amming Interface such as Open 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 Installing the Standard Windows COMM Driver 1 Insert the PC ComLIB diskette into the floppy drive A or B 2 In Windows File Manager e...

Страница 30: ...indows 3 x features multitasking multiple windows for the ports can appear simultaneously under TTY However Terminal the application provided by Windows is limited for the use of COM1 to COM4 After completing the installation restart Windows An additional line comm drv sercomm drv will appear for the PCL 846 847 in the boot section of the Windows SYSTEM INI file In addition a Windows group PC ComL...

Страница 31: ...ervice to provide dial up networking capability Configuration Enter the configuration program to install the device driver or click the Taskbar Start button then select the Programs menu then the Advantech Icom Utility menu and then Icom When the configuration panel pops up click the Add Board button to add a board Click the Delete button to remove a board Board Type PCL 846 or PCL 847 Base COM Sp...

Страница 32: ... and available in a system Different boards should be assigned different IRQs Click the Share IRQ Enable button to set the share IRQ function Share IRQ 3 4 5 6 7 9 10 11 12 15 Vector Address 200H 3F0H After you finish the installation you can click Exit and restart your system Unless the system is restarted the latest configuration will not take effect ...

Страница 33: ...C h a p t e r 4 Wiring C H A P T E R ...

Страница 34: ...TS or ready to send 8 CTS or clear to send 9 CTS or clear to send RS 422 signal wiring The RS 422 interface wiring is based on one to one principles The transmit lines on one side connect to the receive lines on the other side and vice versa With RS 422 you can transmit and receive data simultaneously full duplex The connections are as follows PCL 846 847 DTE Male DB 9 Terminal DTE Pin Signal Sign...

Страница 35: ... 847 automati cally senses the direction of the data flow and switches the transmis sion direction no handshaking is necessary This means a user can build an RS 485 network with just two wires This RS 485 control is completely transparent to the user The Software written for half duplex RS 232 works without the need for any modification RS 485 wiring topology Wiring connections are as follows PCL ...

Страница 36: ... and a corresponding resistor on the other end of the connection The value of the resistor should equal the characteristic impedance of the signal wires 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 1 t r o P 2 t r o P 3 t r o P 4 t r o P 2 2 4 S R 2 R...

Страница 37: ...Appendix A PC I O Address Assignments 33 A PC I O Address Reference A P P E N D I X ...

Страница 38: ...unter 060 063 PPI 8255A 070 071 Real Time Clock 080 08F DMA Page Register 0A0 0BF 8259A Interrupt Chip 0C0 0DF Second DMA Controller 8237A 0F0 0FF Math Coprocessor 1F0 1F8 AT Fixed Disk 200 20F Game I O 278 27F Parallel Printer Adaptor 2 2F8 2FF Serial Adaptor COM 2 320 32F XT Fixed Disk 378 37F Parallel Printer Adaptor 1 380 38F SDLC Binary Communication Adaptor 3A0 3AF Master Binary Communicatio...

Страница 39: ...Appendix B Quick Reference 35 B Quick Reference A P P E N D I X ...

Страница 40: ... card DIP1 ON Upper position è STANDARD mode DIP1 OFF Lower position è ENHANCED mode Ø Software Operating System Mode Connect the left two pins of JP15 to use DOS Windows 3 1 Connect the right two pins of JP15 to use Windows 95 NT SPEED Mode DIP 1 SPEED of S1 is used to set the speed mode of this card DIP1 ON Upper position è High Speed Mode or 8x Mode Frequency of Oscillator Crystal 14 7456 MHz D...

Страница 41: ... 2 1 P J 1 1 P J 3 t r o P h 8 E 3 3 M O C 3 1 P J 1 1 P J 4 t r o P h 8 E 2 4 M O C 4 1 P J 1 1 P J o N t r o P o N t r o P o N t r o P o N t r o P o N t r o P s s e r d d A O I s s e r d d A O I s s e r d d A O I s s e r d d A O I s s e r d d A O I l e v e L Q R I l e v e L Q R I l e v e L Q R I l e v e L Q R I l e v e L Q R I Q R I t n e d n e p e d n I Q R I e r a h S 1 t r o P s s e r d d A e...

Страница 42: ...38 PCL 846 847 User s Manual Ø 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 ...

Отзывы: