Home

PCI-AC48 USER'S GUIDE

image

Contents

1. Appendix B Technical Specifications lists adapter card hardware specifications 2 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD For Help If you have problems installing or using the PCI AC48 adapter card and cannot find the help you need in this guide contact Opto 22 Product Support Phone 800 TEK OPTO 835 6786 951 695 3080 NOTE Email messages Hours are Monday through Friday and phone calls to 7 a m to 5 p m Pacific Time Opto 22 Product Support are grouped together and Fax 951 695 3017 answered in the order Email support opto22 com ries i priority Opto 22 VVeb site support opto22 com When calling for technical support be prepared to provide the following information about your system to the Product Support engineer e PC configuration type of processor speed memory operating system and service packs e Architecture of the serial network the adapter card is connected to e A complete description of your hardware and operating systems including additional accessories installed such as sound cards NICs etc type of power supply types of 170 units installed third party devices installed for example barcode readers e Software and version being used e Specific error messages seen Setting Adapter Card Bias and Termination Before installing the PCI AC48 adapter card in your computer follow the instructions in this section to configure bias and termination settings for using
2. Gim LE 4 Interrupt IRQ S1 port A E 5 Termination IRQ 200 Q S2 port B 6 Termination RS 485 200 2 6 5 OFF Not used e 4 mu m 3 in E 2 Enable or disable 4 wire mode When 4 wire mode is enabled port A is TX S3 and port Bis RX 1 Turn ON or OFF all LEDs on adapter card 1 This DIP switch overrides the functionality of the LEDs and is useful for verifying LED indicator operation LEDs are shown in the diagram below Serial PortA Serial Port B 12345678910 w w w w w w w 12345678910 w w w w w w w w w w uaai9 X1 y Hod DE uaaig Xu V uod CO pay DHI v Hod DE use19 XI g uod DE uea19 Xu g uod Da pay 041 g od DE DIP Switch Settings for Common Network Configurations Settings suitable for common applications of the PCI AC48 adapter card are shown in the table below You need to know where the adapter card will be installed on the network at one end or in the middle and whether 2 wire or 4 wire connections are used PCI AC48 User s Guide 5 INSTALLING THE PCI AC48 ADAPTER CARD For convenience bias is often set at the adapter card whether or not it is terminated and at the end of the network The DIP switch settings in this table are set with bias ON PCI AC48 location
3. 0 enable 4 MCR modem W 0 0 0 loop OP2 OP1 RTS DTR control register back LSR line status R O FIFO transmit transmit break framing parity overrun receive 5 register error empty holding interrupt error error error data empty ready 6 MSR modem R CD RI DSR CTS delta CD delta Rl delta delta status register DSR CTS 7 SPR scratch R W X X X X X X X x pad register 1 Address of register 0 7 2 Some registers are read write some are write only some are read only and some have different purposes when reading or writing 3 X a data bit either 1 or 0 4 0 must be zero when writing 5 The delta CTS bit indicates if the CTS bit has changed and this interrupt can be enabled by setting the modem status interrupt of the IER 6 The divisor latch enable bit or the LCR determines the mode of the registers at offset 0 and 1 PCI AC48 User s Guide 23 24 PCI AC48 User s Guide APPENDIX B Technical Specifications PCI AC48 Adapter Card Computer Interface 32 bit 33 MHz PCI bus PCI Specification Revision 2 2 Ports Two serial ports configurable for any of the following combinations Twoports in RS 485 2 wire mode One port in RS 485 4 wire mode Isolation 2 500 VAC transient Communications RS 485 2 wire or 4 wire operation Baud Rates Serial link to 460 800 baud Cable Length Distance Up to 3 000 ft 915 m 115 200 baud Termination 200 Ohm termination for RS 485 and IRQ Biasing RS 485 pul
4. 15 Checking Communications Cabling c i v va U 15 Troubleshooting the Adapter Card with a Loopback Connection 11 15 Troubleshooting 1 0 Communications Using LED Indicators a aa 16 Appendix A Advanced Configuration 19 Introduction sc pe ec che cae este e VERTETEN annann 19 Using External Interrupts for mistic Remote Qa ua xa xa maa aasan 19 mistic Interrupt DIP Switch Settings ci cdsinsacsoctcccveseeaccectisannewsartecdsraniiniachiahiandiuadlesiedcs 19 mistic Interrupt WITIng ee r e e 20 PCI AC48 User s Guide ili o mistic Commands Required for Interrupts ccccccscecescstesssteseseesesseseseesessassseaseaeasens 21 How mistic Interrupts Work on the PCI AC48 0 cava an cc ccn cc nen ccun ecen cer reer ever eter 22 Building Custom Software Using UART Registers ana uann seen ecen ece rereierezeer eee et 22 Register Table nes cassette sed tetGha ats Seats avkataanamenerdacoeiaeaseaeneoe 23 Appendix B Technical Specifications 25 Pl ADONIS 25 V NA OI ee e levee deetes cteonucneomeds 26 iv PCI AC48 User s Guide CHAPTER 1 Installing the PCI AC48 Adapter Card Introduction The PCI AC48 is an isolated high speed adapter card designed to link RS 485 or RS 422 serial devices such as Opto 22 s B3000 brains
5. RS 485 Set DIP switches as shown below on RS 485 network wiring mode At the End or the Only Card A In the Middle 1 DIP switch S1 configures port A DIP switch S2 configures port B 2 Ports A and B must both be used for a single 4 wire connection In 4 wire mode port A is TX and port B is RX Installing Software Drivers Software drivers for the PCI AC48 adapter card are included on the Opto 22 PCI AC48 Adapter Card Toolkit CD that came with the card If you do not have the CD you can download the software from our Web site at www opto22 com The easiest way to find the software is to enter PCI AC48 in the Web site search engine and then look for software related to that product 1 Insert the CD in your CD ROM drive It should start automatically if it does not open the file setup exe 2 Choose the PCI AC48 option for installation 3 Run the installation which automatically places the necessary PCI AC48 files in the correct locations for the operating system you are using 6 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD Installing the Adapter Card in the Computer The PCI AC48 adapter card installs into any PCI expansion slot of a PCl capable computer You may add multiple PCI AC48 adapter cards and the Windows operating system will create additional
6. down 2 Bias RS 485 pull up co gt L Wm 3 Interrupt IRQ CE aE 4 Interrupt IRQ S1 port A a 5 Termination IRQ 200 Q S2 port B 6 Termination RS 485 200 Q mistic Interrupt Wiring If you are using mistic interrupts connect serial cables to the PCI AC48 s port connectors using the following diagrams Wiring for RS 485 2 Wire Two Ports with Interrupts The following diagram assumes you are using the PCI AC48 for two 2 wire ports with interrupts Please note the following equivalents for wiring Other Vendors TX RX TX RX B TO FO Opto 22 Optomux TX RX TX RX IRO IRQ IRQ R0 gt gt lt gt x lt FE E E TX RX TX RX A TO FO 8 345678910 345678910 12 12 vw vw 20 PCI AC48 User s Guide Kuu Wiring for RS 485 4 Wire One Port with Interrupts The following diagram assumes you are using the PCI AC48 for one 4 wire port with interrupts In 4 wire mode Port A is TX and Port B is RX Please note the following equivalents for wiring Other Opto 22 Vendors Optomux TX TX B TO TX TX A TO RX RX B FO E 1 Eri RX RX A FO I ESE E ZESEE 1234
7. if it is attached to a stationary object like a vise or the board after it is installed in the computer PCI AC48 User s Guide 9 INSTALLING THE PCI AC48 ADAPTER CARD Signal assignments for each port s 10 pin connector are shown below For each connector signals on pins 1 5 are duplicated on pins 6 10 Normally you use one set only however the second set can be used for adding the adapter card to a daisy chain network Each serial port on the PCI AC48 Hole 8 88688888 adapter card uses a removable 10 pin Orange tab plug connector from Phoenix Contact part number FK MC 0 5 2 5 RS 485 RS 485 IRQ and IRQ are optional inputs that can be used with mistic I O systems to trigger an interrupt For more information see Using External Interrupts for mistic Remote 170 on page 19 Wiring the Connectors 1 Choose the wiring diagram from the following pages based on how you will use the card e RS 485 2 wire two ports page 11 e RS 485 4 wire one port page 11 2 To wire the connector use a small screwdriver to hold down the small orange tab while you insert the wire into the large hole next to the tab See the illustration below Hole Orange tab 10 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD Wiring for RS 485 2 Wire Two Serial Ports The following wiring diagram assumes that you are using
8. or termination and biasing of the RS 422 485 communications link PCI AC48 User s Guide 17 TROUBLESHOOTING 18 PCI AC48 User s Guide APPENDIX A Advanced Configuration Introduction The topics in this appendix are intended for advanced users who are using the PCI AC48 adapter card ona serial network with Opto 22 mistic Remote 170 This appendix also includes information for those who are using the adapter card with a custom software application and need to use UART registers Using External Interrupts for mistic Remote 1 0 If you are using the PCI AC48 adapter card with mistic O and want to use mistic interrupts follow instructions in the next two sections to set DIP switches and wire the card s ports for interrupts For technical details see How mistic Interrupts Work on the PCI ACA8 on page 22 mistic Interrupt DIP Switch Settings Configure mistic interrupt line support using switches 3 4 and 5 on DIP switch S1 port A or S2 port B according to the table on the following page All the interrupts found in the Interrupt Identification Register can be routed to this one interrupt request line Remember that in addition to interrupts network termination and bias must also be set as shown in Setting Adapter Card Bias and Termination on page 3 PCI AC48 User s Guide 19 DIP switch locations on the card are illustrated on page 4 Switch Description lt QEF 1 Bias RS 485 pull
9. ports This option is sometimes misleadingly designated as RS232 Port instead of WindowsCOMx 12 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD drivers For example in the utility program shown below you would set the logical port by choosing the Port Type RS232 Port and then choosing the correct Port Number Communication Port Properties Communication Port Choose RS232 Port Ascii Z Binary Binary Fast gt Cancel Data Verification R gt Retry Count f 3 Time Out p RS232 Parameters Port Number ICOMI l Choose correct COM port Baud Rate 115200 If the software application accesses COM ports on the computer simply change the program configuration to use the new COM ports If a configuration change doesn t work modify the source code to use the new COM ports If the software directly accesses the 170 location on the previous ISA card you ll need to modify the source code to use the new 170 location on the PCI AC48 For detailed information on the PCI register see Register Table on page 23 PCI AC48 User s Guide 13 INSTALLING THE PCI AC48 ADAPTER CARD 14 PCI AC48 User s Guide CHAPTER 2 Troubleshooting Introduction Checking This chapter includes suggestions for troubleshooting problems that may occur when using the PCI AC48 adapter card The Windows application HyperTerminal can be used for several diagnostic tests This program is ins
10. the PCI AC48 for two 2 wire ports with no interrupts If you are using interrupts see page 20 Please note the following equivalents for wiring Other Opto 22 Vendor Optomux TX RX TX RX B TO FO KEE ERE s z5 TX RX TX RX A TO FO Ek FRO CORR Eele lelin olo 12345678910 12345678910 w w w w w VVV VV w w w w VVV w w w Serial Port A Serial Port B Wiring for RS 485 4 Wire One Serial Port The following diagram assumes that you are using the PCI AC48 for one 4 wire port with no interrupts If you are using interrupts see page 21 In 4 wire mode Port A is TX and Port B is RX It is easiest to jumper the commons and wire them both at the same time Please note the following equivalents for wiring Other Opto 22 Vendors Optomux TX TX B TO TX TX A TO RX RX B FO l l t es xx RX RX A FO O 8668886 RPR esseess 1234567891 12345678910 w w w w VVV VVV w w w w VVV VVV Port A Port B Recommended Serial Cable Specifications RS 485 serial lines require twisted pair cable with a maximum cable length of 3 000 feet 915 m The recommended cable type is two twisted pairs of 24 gauge conductors with a shield Nominal impeda
11. with computers using the Peripheral Component Interconnect PCI bus The PCI AC48 is compatible with computers that feature a standard 33 MHz PCI bus This adapter card is ideal if you have been using Opto 22 s AC37 adapter card in an application but must upgrade to a newer computer that uses the PCI bus rather than the ISA bus Two serial ports on the adapter card provide reliable communication These ports can be used as two 2 wire ports or as one 4 wire port 2 and 4 wire modes cannot be used at the same time Buffering on the card prevents loss of data and the serial communication lines and the adapter card Itself are isolated from transient voltages The adapter card also provides tri state control in hardware 64 byte FIFO and 16550 UART compatible registers The PCI AC48 adapter card requires 5 VDC 600 mA and operates at temperatures of 0 C to 70 C The card is configured using DIP switches Six LEDs on the card indicate bus operation or user application status Support for Opto 22 RS 422 485 based I O The PCI AC48 supports communication with several popular Opto 22 RS 422 485 based 1 0 systems including SNAP serial brains the B3000 mistic Remote 170 and Optomux 1 0 The PCI AC48 can also communicate with mistic controllers A mistic Remote 170 bus uses one twisted pair cable for communication however a second pair can optionally be used for 70 systems needing mistic interrupt capability PCI AC48 User s Gu
12. 5678910 12345678910 PortA Port B mistic Commands Required for Interrupts Before a Remote 1 0 brick can generate an interrupt the following mistic commands must be executed before the event being monitored occurs e Set Event Table Entry An entry must be made instructing the 170 brick to monitor for a specific event occurrence e Enable Event Table Entry The event entry must be enabled for scanning by the 170 brick e Set Event Interrupt Status The event entry interrupt must be enabled e Set System Options The Global Interrupt Enable bit must be set And of course the event being monitored must then occur An interrupt from an 170 unit is cleared by executing a Read and Clear Event Latches command All event entries on a specific 170 unit that are set to generate an interrupt should be specified when reading and clearing as the interrupt output is cleared by the command If more than one 170 unit is set up to generate interrupts the host CPU must poll each one to determine which interrupt is active This can be done with a Read Event Latches or Read and Clear Event Latches command If possible it is best to put all signals that may generate interrupts into one 170 unit This will eliminate the need to poll more than one board and speed up the host CPU inte
13. COM ports for each card The maximum number of cards you can add to the computer depends on the number of available PCI slots Follow these steps to install the card 1 Turn off the computer Disconnect the power cord and remove the computer s cover The power cord must be disconnected or any sudden electrical spike may cause the computer to automatically boot 2 With the power cord disconnected press the power button This is an additional precaution to help discharge electricity that may be present in computer components 3 Before handling the PCI AC48 discharge excess static electricity from your body by touching the computer s metal chassis 4 Install the card in one of the PCI expansion slots CAUTION Do not scratch this card or other cards in the computer as scratching may irreversibly damage the card or other devices 5 Verify that the PCI AC48 card is properly seated in the motherboard PCI socket Secure the bracket to the computer case with the screw and then confirm that the card is still seated correctly in the PCI socket 6 Reconnect the computer s power cord Do not start the computer You will do this next in the section Completing Adapter Card Installation Completing Adapter Card Installation To use the PCI AC48 adapter card in Microsoft Windows the new hardware must be located and configured Finally you should identify the new COM ports that have been added to the system Locating and Co
14. PCI AC48 USER S GUIDE FORM 1520 050127 JANUARY 2005 OPTo 2 2 43044 Business Park Drive e Temecula e CA 92590 3614 Phone 800 321 OPTO 6786 or 951 695 3000 Fax 800 832 OPTO 6786 or 951 695 2712 www opto22 com Product Support Services 800 TEK OPTO 835 6786 or 951 695 3080 Fax 951 695 3017 Email support opto22 com Web support opto22 com PCI AC48 User s Guide Form 1520 050127 JANUARY 2005 Copyright 2004 2005 Opto 22 All rights reserved Printed in the United States of America The information in this manual has been checked carefully and is believed to be accurate however Opto 22 assumes no responsibility for possible inaccuracies or omissions Specifications are subject to change without notice Opto 22 warrants all of its products to be free from defects in material or workmanship for 30 months from the manufacturing date code This warranty is limited to the original cost of the unit only and does not cover installation labor or any other contingent costs Opto 22 170 modules and solid state relays with date codes of 1 96 or later are guaranteed for life This lifetime warranty excludes reed relay SNAP serial communication modules SNAP PID modules and modules that contain mechanical contacts or switches Opto 22 does not warrant any product components or parts not manufactured by Opto 22 for these items the warranty from the original manufacturer applies These products include but are not limited to t
15. ademarks of their respective companies or organizations PCI AC48 User s Guide Table of Contents Chapter 1 Installing the PCI AC48 Adapter Card 1 Introduction E decane e E A 1 Support for Opto 22 RS 422 485 based 1 0 vccsscsccccscsixcasssnasnicnonaadeatetciassectacccdesdaatatdaciedens 1 Software Drivers nana sae tacnananceeciatubuce ast teleaeis 2 What s in this Gulde at u 2 OO e E nunana a a snn ma asnasan 3 Setting Adapter Card Bias and Termination ccccccecseesesestesestesesteseetsseetsseseetesneeseeess 3 eli 6 Installing the Adapter Card in the Computer nano non cuan esence core ere mentori eee r enet tee 7 Completing Adapter Card Installation aa cicc ves bar v r shtinte k n shi oh died tiroide 7 Locating and Configuring New Hardware in Windows Sa au ca aaa can cc nano once eren 7 Identifying New Adapter Card COM Ports a ner escerese ere ce eee c ecet 8 Connecting a Serial Cable to the Adapter Card asas 9 E dees cae ceacbce see asec otcenceninncepbanesneaniacadtuchadasaetdees 10 Recommended Serial Cable Specifications cv n aus os uns cen enen eremr recet ezeer ere 11 If You Are Migrating from AC24AT AC422AT or AC37 Cards a aaaaaaaaaaaaa 12 Chapter 2 Troubleshooting lu 15 DUK GA SI esseen e e N Sa
16. ftware Using UART Registers If you are not using Opto 22 mistic or Optomux systems and instead are writing custom drivers or modifying software to communicate with the registers on the PCI AC48 s serial ports you may find the Register Table on page 23 helpful The PCI AC48 adapter card uses a 16550 compatible UART from Exar Corporation Exar product number XR17C158 For additional register definitions not covered in the table below see the Exar document for this product at www exar com 22 PCI AC48 User s Guide as il Register Table Register RHR receive R nG X X x xX X X xX holding register THR transmit WwW X X X X x X X x 0 holding register LSB of divisor W X X X X X x X x latch when DLE 1 IER interrupt Ww 04 0 0 0 modem receive transmit receive enable register status line holding holding interrupt status register register 1 interrupt interrupt interrupt MSB of divisor W X X X X X X X x latch where DLE 1 FCR FIFO VV RCVR RCVR 0 0 DMA transmit receiver FIFO control register trigger trigger mode TITO FIFO enable MSB LSB select reset reset 2 ISR interrupt R 0 FIFO 0 FIFO 0 0 interrupt interrupt interrupt interrupt status register enabled enabled prior bit prior bit prior bit status 2 1 0 LCR line Ww DLE set set even parity stop bits word word 3 control register divisor break parity parity enable length length latch bit 1 bit
17. he OptoTerminal G70 OptoTerminal G75 and Sony Ericsson GT 48 see the product data sheet for specific warranty information Refer to Opto 22 form number 1042 for complete warranty information Opto 22 FactoryFloor Cyrano Optomux and Pamux are registered trademarks of Opto 22 Generation 4 ioControl ioDisplay ioManager ioProject ioUtilities mistic Nvio Nvio net Web Portal OptoConnect OptoControl OptoDisplay OptoENETSniff OptoOPCServer OptoScript OptoServer OptoTerminal OptoUtilities SNAP Ethernet 1 0 SNAP 170 SNAP OEM 170 SNAP Simple 1 0 SNAP Ultimate 1 0 and SNAP Wireless LAN 170 are trademarks of Opto 22 Activex JScript Microsoft MS DOS VBScript Visual Basic Visual C and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries Linux is a registered trademark of Linus Torvalds Unicenter is a registered trademark of Computer Associates International Inc ARCNET is a registered trademark of Datapoint Corporation Modbus is a registered trademark of Schneider Electric Wiegand is a registered trademark of Sensor Engineering Corporation Nokia Nokia M2M Platform Nokia M2M Gateway Software and Nokia 31 GSM Connectivity Terminal are trademarks or registered trademarks of Nokia Corporation Sony is a trademark of Sony Corporation Ericsson is a trademark of Telefonaktiebolaget LM Ericsson All other brand or product names are trademarks or registered tr
18. ide 1 INSTALLING THE PCI AC48 ADAPTER CARD Software Drivers Included software drivers for Microsoft Windows 2000 or Windows XP let applications access the adapter card ports as standard COM ports Drivers are shipped with the adapter card and can also be downloaded from the Opto 22 Web site Software Installation Requirements Here s what you need to install and use the adapter card drivers e A computer with an available PCI slot CPU and RAM requirements depend upon your application e Microsoft Windows XP or Windows 2000 workstation operating system What s in this Guide This guide assumes that you are familiar with serial networking If you are using the PCI AC48 adapter card to connect to mistic Remote 170 or Optomux systems it is also expected that you are familiar with the controllers brains racks and input output modules used with these systems This guide includes four sections Chapter 1 Installing the PCI AC48 Adapter Card provides instructions to configure install and connect the adapter card Information on installing Windows software drivers and how to contact Opto 22 Product Support also appears here Chapter 2 Troubleshooting helps you find solutions to problems that may occur Appendix A Advanced Configuration describes how to configure the PCI AC48 for use with Opto 22 mistic Remote 170 systems and includes helpful information for those writing their own drivers for the card
19. l up pull down biasing Indicators Transmit Receive and IRQ LEDs for each serial port See page 26 for diagram Software Driver System Requirements Microsoft Windows 2000 or Windows XP Power Requirements 5 VDC 600 mA Operating Temperature 0 C to 70 C Storage Temperature 30 C to 85 Humidity 95 relative humidity non condensing PCI AC48 User sGuide 25 LED Indicators Serial PortA Serial Port B 3 M 5666666868 AAA 88888888 1234567891 A A A 1234567891 A uea19 XL V HOd uaa19 XH V H0d pag OHI V Hod 8819 X1 g od u3319 XH g Hod pag OY 4 HOd 26 PCI AC48 User s Guide
20. lt Y Multifunction adapters N H H 6 H H 6 6 6 80 6 6 6 HE E Network adapters Installing the PCI AC48 Q Ports COM amp LPT adapter card adds two penn Port COM new COM ports to the wy Opto 22 AC48 PCI Communications Port COM4 7 Opto 22 AC48 PCI Communications Port COMS S Printer Porte g Sound video and game controllers System devices Device Manager Universal Serial Bus controllers operating system These COM ports are listed with other COM ports in the NOTE The port numbers assigned to the adapter cards serial ports will vary depending on the number of COM ports that the computer system has IMPORTANT Port A on the board becomes the higher numbered port on the computer In the example above COM4 is Port B and COM5 is Port A To test which port is which use HyperTerminal to send characters through a port and look for the blinking TX LED Its easier to see the LED blink if the baud rate is set low for example 300 See the Troubleshooting Appendix for more information 5 Note the COM port numbers for future use Connecting a Serial Cable to the Adapter Card The PCI AC48 adapter card has two serial ports Port A and Port B Two removable 10 pin cable plug connectors are provided with the adapter card The connectors are similar to some screwless speaker connectors Note that it is easier to wire a connector
21. nce is 100 ohms and capacitance is 12 5 picofarads per foot Typical manufacturer part numbers are PCI AC48 User s Guide 11 INSTALLING THE PCI AC48 ADAPTER CARD e Manhattan Electric Cable M3475 e Belden Wire and Cable 9 729 You may also be able to use Category 5 solid cable any manufacturer Shielded Category 5 cable offers better noise immunity Maximum distance has not been tested If You Are Migrating from AC24AT AC422AT or AC37 Cards If you are replacing existing Opto 22 AC24 or AC37 adapter cards with new PCI AC48 cards note that the PCI AC48 does not have RTS and CTS capability Also you should be aware of a potential compatibility problem Because the AC48 is a PCI card its UART registers are not located at the traditional locations typically used for COM1 through COMA PCI and ISA buses operate differently the ISA bus can specify an O port address so the adapter card can communicate directly with the port but the PCI bus works from a card ID that is assigned when the card is installed in a PCI slot The way in which existing drivers and software address the adapter card determines their compatibility with the PCI AC48 Software that uses Windows drivers by referencing logical device names will be compatible with the PCI AC48 since the card s Windows compatible drivers allow it to be mapped to a logical COMx device name Some Opto 22 drivers and software offer the option of using logical device names for COM
22. nfiguring New Hardware in Windows When the computer is turned on Microsoft Windows automatically recognizes that new hardware has been added to the system The PCI AC48 adapter is seen as two new hardware devices the PCI adapter card itself and the two serial ports the adapter card provides You need to separately configure software drivers for each device following the steps below PCI AC48 User s Guide 7 INSTALLING THE PCI AC48 ADAPTER CARD 1 Turn on the computer and log in The alert Found New Hardware appears briefly while the computer is starting up 2 When the New Hardware Wizard window opens click Next to move to the next screen 3 To locate the driver do one of the following a For Windows 2000 select Search for a suitable driver for my device recommended Click Next Select the option Specify a location Make sure that the other options are not selected and then click Next b For Windows XP click Install from a list or specific location Advanced Click Next 4 When prompted to insert the manufacturer s installation disk in the Install from Disk window click Browse and then navigate to C Program Files Opto22 PCI_AC48 5 Select the file Opto22Ac48Board inf click Open and then click OK If you are using Windows XP and a dialog box says that the card has not passed Windows Logo testing click Continue Anyway 6 When the New Hardware Wizard indicates that the driver has been s
23. oopback connection any data sent to the adapter card will be transmitted out the transmit TX terminals looped back into the receive RX terminals and finally sent back to the computer through the adapter card 3 Type characters on the computer s keyboard and watch to see if they appear on the computer screen If the data typed on the computer s keyboard appears on the computer s monitor then the adapter card is functioning correctly 4 Watch the TX and RX LEDs If the TX LED blinks the adapter card received the data from the computer and transmitted it out the transmit TX terminals If the RX LED blinks the adapter card received the data If the TX LED does not blink check the COM port number you are using in HyperTerminal to make sure it matches the COM port number assigned to Port A Troubleshooting I O Communications Using LED Indicators If you are having difficulty communicating you can watch the adapter card s and Opto 22 brain s LEDs to help find the problem It may be necessary to use a slow baud rate so the LED activity is easier to see 1 When transmitting did the TX LED on the adapter card blink If it did then the adapter card transmitted a message go to the next step If the LED did not blink check the COM port number you are using to make sure it matches the COM port number assigned to Port A 16 PCI AC48 User s Guide TROUBLESHOOTING Ue 2 Did the Receive LED RX REC RCV on the Opto 22 brain o
24. r controller blink If it did then the Opto 22 device received a message go to the next step If the LED did not blink then there is either a power problem at the device or a communications wiring problem Ensure that the voltage at the device is 5 0 VDC 0 1 VDC Double check the communications wiring 3 Did the Transmit TX XMT LED on the Opto 22 brain or controller blink If it did the Opto 22 device understood the message confirmed that the message address matched its address and transmitted a response Go to the next step If the LED did not blink then the device did not understand the message or the message address did not match the device s address Make sure the operating system COM port settings and software settings match the device s settings for address baud rate parity data bits stop bits communication mode ASCII vs Binary if applicable and protocol Optomux 170 protocol vs mistic I O protocol etc 4 Did the RX LED on the adapter card blink If it did then the adapter card received the response from the Opto 22 device go to the next step If the LED did not blink then it is probably a communication wiring problem Double check the communication wiring 5 Ifthe software did not receive the response from the adapter card try using a longer timeout value 6 If the software did receive the response but it was garbled or contained a checksum or CRC error then the problem may be the communications wiring
25. rrupt response time For additional information on mistic interrupts see Opto 22 form 270 the mistic Protocol Users Guide PCI AC48 User s Guide 21 gC A How mistic Interrupts Work on the PCI AC48 The IRQ lines on the Phoenix connector are bidirectional RS 485 links and are normally set as inputs They are designed to be used with the IRQ output lines found on mistic Remote 1 0 bricks The IRQ outputs of Remote 170 bricks are RS 485 drivers which are held in tri state mode until an interrupt is requested at which time the outputs are enabled and set active The PCI AC48 receives this signal and sets the IRQ Line Status bit in the Modem Status Register and a modem status interrupt is generated mistic interrupts for the PCI AC48 are tied into Windows interrupts and look like UART interrupts IRQ inputs are mapped to the 16C550 compatible CTS signal on each of two UARTs on the PCI AC48 The CTS status can be polled by reading the Modem Status Register MSR and interrupts can be enabled using the Interrupt Enable Register IER and checking the delta CTS bit of the MSR register during the interrupt handler See the register table on page 23 for details The other interrupt sources in the MSR register delta CD delta RI and delta DSR have been disabled on the circuit board by tying the corresponding UART signals to VCC The Windows API WaitCommEvent can be used with its EV_CTS bit mask to detect a CTS interrupt Building Custom So
26. talled by default in Windows 2000 and Windows XP Communications Cabling Each communications link requires an additional single wire to be used as the signal common Many people assume that since RS 422 and RS 485 are based on the differential voltage between the two wires that make up the twisted pair in the data link then the signal common should be optional However it is not Also never tie the signal common to earth ground Troubleshooting the Adapter Card with a Loopback Connection Because a loopback connection essentially lets the PCI AC48 adapter card talk to itself it can help you determine whether a communication problem is caused by other RS 422 485 devices external to the computer or is limited to the adapter card operating system and software being used PCI AC48 User sGuide 15 TROUBLESHOOTING 1 To create the loopback connection remove the communication cable from the adapter card Tie the TX pins on Port A to the RX pins on Port B a four wire configuration is required for a loopback connection O R SSGG8886G8 elelo 88888 AA 12345678910 12345678910 w w w w w w w w w w w w w w w w Port A Port B 2 Use a software program such as HyperTerminal to send data to the adapter card Be sure to set flow control for None Because of the l
27. the PCI AC48 adapter card ona serial network IF you will use the adapter card to connect to a mistic Remote 170 or Optomux system also see Chapter 2 Advanced Configuration for information on connecting and configuring interrupt lines PCI AC48 User s Guide 3 INSTALLING THE PCI AC48 ADAPTER CARD DIP Switch Locations The PCI AC48 adapter card uses three DIP switches for configuration S1 S2 and S3 These switches are shown in the following illustration OPTO 22 OFE i PCI AC48 Li m a OFF bm B mm LEE a H at oa a 8 Gim co B WS la S2 m m fr 3 n B Ka m ii x E ae BEBE EE EA B E HB BBG CI sum III IIIIIIIIIIIIIIIIIIIIIIIII TTT 1 If you are using the adapter card as an active host set the card s termination and bias for your network using the tables DIP Switch Descriptions on page 5 and DIP Switch Settings for Common Network Configurations on page 5 2 If you are using the adapter card as a passive or redundant host turn off bias settings on DIP switches S1 and S2 See DIP Switch Descriptions on page 5 4 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD EE Ee DIP Switch Descriptions Switch Description lt OFF 1 Bias RS 485 pull down 2 Bias RS 485 pull up o 3 Interrupt IRQ
28. uccessfully installed click Next to move to the next screen and then click Finish After a moment the alert Found New Hardware PCl Serial Port will appear briefly followed by the New Hardware Wizard 7 Repeat step 2 through step 4 above 8 After step 4 select the file Opto22 Ac48Port inf click Open and then click OK 9 When the New Hardware Wizard indicates that the driver has been successfully installed click Next to move to the next screen and then click Finish Locating and configuring the PCI AC48 adapter card is complete Continue with the next section to verify the Windows COM ports assigned to the adapter card s serial ports Identifying New Adapter Card COM Ports To identify the new COM ports for the adapter card that are now available for Windows applications do the following 1 From the Start menu select Settings Control Panel System 2 In the System window click the Hardware tab 3 Click Device Manager The Device Manager window appears 8 PCI AC48 User s Guide INSTALLING THE PCI AC48 ADAPTER CARD 4 Click the plus sign next to Ports COM amp LPT and look for the new COM ports that are now available D x action view Je gt ma e 2 Il Computer SI Disk drives Display adapters 23 DVD CD ROM drives 3 Floppy disk controllers Floppy disk drives GJ IDE ATAJATAPI controllers S Keyboards TA Mice and other pointing devices 3 Monitors

Download Pdf Manuals

image

Related Search

Related Contents

35 kgf ø 150 mm  AOC n950Sw  ファラデーケージ FC-100 取扱説明書のダウンロードは  Nady Systems PEQ-5B User's Manual  FS726TP Hardware Installation Manual  Presentación de PowerPoint  Monitor FCX & DHW Owner and Service    Manutenção  

Copyright © All rights reserved.
Failed to retrieve file