background image

Interrupts

 

Use PCIFind.EXE to determine the IRQ that was assigned to the card by the BIOS or Operating 
System. Alternatively, in Windows 9x, the Device Manager can be used. The card’s ports are 
listed under the Ports class. Selecting the port, clicking Properties, then selecting the Resources 
tab will show the base addresses and IRQ assigned to the port. 

 
 

X1

X4

RS

4

8

5-

B

R

S

4

8

5-

A

LD O

LD O

LD I

LD I

R S422

R S422

A

B

 

 

Figure 3-1:

 Option Selection Map 

 

Jumpers

 

 

RS422: 

 

Select differential(RS-422, four-wire) communications mode 

 

RS485-A, RS485-B: 

Select differential(RS-485, two-wire) communications mode 

 

LDO: 

 

Apply load to RS-422 or RS-485 output 

 

LDI: 

 

Apply load to RS-422 input 

 

X1/X4: 

 

Select either 115.2 Kbaud or 460.8 Kbaud maximum 

 

Manual PCI-ICM-2S 

11

Summary of Contents for PCI-ICM-2S

Page 1: ...cess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respect...

Page 2: ...10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCI ICM 2S USER MANUAL FILE MPCI ICM 2S A1b ...

Page 3: ...others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 2000 2005 by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING AND DISCONNECTING CA...

Page 4: ...by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the terms and conditions o...

Page 5: ...ure 3 1 Option Selection Map 11 Chapter 4 Address Selection 12 Chapter 5 Programming 13 Table 5 1 Baud Rate Divisor Values 14 Chapter 6 Connector Pin Assignments 17 Table 6 1 Connector Pin Assignments 17 Appendix A Application Considerations 18 Table A 1 RS422 Specification Summary 18 Figure A 1 Typical RS485 Two Wire Multidrop Network 19 Manual PCI ICM 2S 4 ...

Page 6: ...ptions by means of jumpers on the card See the Option Selection section of this manual for more details COM Port Compatibility Type 16550 UARTs are used as the Asynchronous Communication Element ACE These include a 16 byte transmit receive FIFO buffer to protect against lost data in multitasking operating systems while maintaining 100 compatibility with the original IBM serial port PCI bus archite...

Page 7: ...Ports Shielded male D sub 9 pin IBM AT style connectors compatible with RS422 and RS485 specifications haracter length 5 6 7 or 8 bits Parity Even odd or none Stop Interval 1 1 5 or 2 bits Serial Data Rates Up to 115 200 baud asynchronous A faster range of rates up to 460 800 baud is achieved by jumper selection on the card Type 16550 buffered UART Caution The OUT2 bit of the UART must be set low ...

Page 8: ...mperature Range 50 C to 120 C Humidity 5 to 95 non condensing Power Required 5VDC at 125 mA typical 12VDC at 5 mA typical 685 mW total power consumption Size 6 1 2 long 165 mm by 3 7 8 98 mm Figure 1 1 Block Diagram Only one serial channel shown Manual PCI ICM 2S 7 ...

Page 9: ...stallation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS 1 Place the CD into your CD ROM drive 2 Type B to change the active drive to the CD ROM drive 3 Type GLQR JJ to run the install program 4 Follow the on screen prompts to install the software for this board WINDOWS 1 Place the CD into your CD ROM d...

Page 10: ...tem and automatically finish installing the drivers 10 Run PCIfind exe to complete installing the card into the registry for Windows only and to determine the assigned resources 11 Run one of the provided sample programs that was copied to the newly created card directory from the CD to test and validate your installation The base address assigned by BIOS or the operating system can change each ti...

Page 11: ...cation labeled LDO applies a 120Ω load across the output for RS 422 mode and across the transmit receive input output for RS 485 operation Installing a jumper at the location labeled LDI applies a 120Ω load across the input for RS 422 operation The card provides biasing for the RS 485 mode This biasing is capacitively coupled and is present on all boards CLK X1 and CLK X4 Placement of this jumper ...

Page 12: ... selecting the Resources tab will show the base addresses and IRQ assigned to the port X1 X4 RS485 B RS485 A LDO LDO LDI LDI RS422 RS422 A B Figure 3 1 Option Selection Map Jumpers RS422 Select differential RS 422 four wire communications mode RS485 A RS485 B Select differential RS 485 two wire communications mode LDO Apply load to RS 422 or RS 485 output LDI Apply load to RS 422 input X1 X4 Selec...

Page 13: ...and DMAs if any allotted Alternatively some operating systems Windows 95 98 2000 can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager utility from the System Properties Applet of the control panel These cards are installed in the Data Acquisition class of the Device Manager list Selecting the card then clicking Proper...

Page 14: ...s ReadFile and WriteFile for accessing a port See the documentation for your chosen language for details Under DOS the process is very different The remainder of this chapter describes DOS programming Initialization Initializing the chip requires knowledge of the UART s register set The first step is to set the baud rate divisor You do this by first setting the DLAB Divisor Latch Access Bit high T...

Page 15: ...nd the DLAB Bits 0 and 1 control word length and allow word lengths from 5 to 8 bits Bit settings are extracted by subtracting 5 from the desired word length Bit 2 determines the number of stop bits There can be either one or two stop bits If Bit 2 is set to 0 there will be one stop bit If Bit 2 is set to 1 there will be two stop bits Bits 3 through 6 control parity and break enable They are not c...

Page 16: ...the interrupt is for Received Data Available the handler then reads the data If no interrupt is pending control exits the routine A sample handler written in C is as follows readback inportb BASEADDR 2 if readback 4 Readback will be set to 4 if data are available data i inportb BASEADDR outportb 0x20 0x20 Write EOI to 8259 Interrupt Controller return Transmission The Auto feature of the card autom...

Page 17: ...e inportb BASEADDR 5 0x20 Wait until transmitter is empty outportb BASEADDR data i i outportb BASEADDR 4 inportb BASEADDR 4 0xFD Reset RTS bit without altering states of other bits Caution The OUT2 bit of the UART must be set low for proper interrupt driven communication This bit enables or disables the interrupts and the card will not communicate if the bit is pulled high Manual PCI ICM 2S 16 ...

Page 18: ...s RS485 Functions 1 Rx Receive Data 2 Tx Transmit Data TRx Transmit Receive Data 3 Tx Transmit Data TRx Transmit Receive Data 4 5 GND Ground GND Ground 6 7 8 9 Rx Receive Data Table 6 1 Connector Pin Assignments Note If connections are to be made to a CE marked version then CE certifiable cabling and breakout methodology Cable shields connected to ground at the mounting bracket shielded twisted pa...

Page 19: ...00 mV the receiver will provide the opposite logic state on its output The maximum operating voltage range is from 6V to 6V allowing for voltage attenuation that can occur on long transmission cables A maximum common mode voltage rating of 7V provides good noise immunity from voltages induced on the twisted pair lines The signal ground line connection is necessary in order to keep the common mode ...

Page 20: ...2 driver receiver pairs can share a two wire party line network Many characteristics of the drivers and receivers are the same as in the RS422 Standard One difference is that the common mode voltage limit is extended and is 12V to 7V Since any driver can be disconnected or tristated from the line it must withstand this common mode voltage range while in the tristate condition RS485 Two Wire Multid...

Page 21: ... node and all others be slaves The network is connected so that the master communicates to all slaves and all slaves communicate only with the master This has advantages in equipment that uses mixed protocol communications Since the slave nodes never listen to another slave s response to the master a slave node cannot reply incorrectly Manual PCI ICM 2S 20 ...

Page 22: ... give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com Manual PCI ICM 2S 21 ...

Page 23: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: