Advertisement

Quick Links

PCI-AC48 USER'S GUIDE
Form 1520-180601—June 2018
43044 Business Park Drive
Temecula
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
i i
PCI-AC48 User's Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-AC48 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for OPTO 22 PCI-AC48

  • Page 1 PCI-AC48 USER’S GUIDE Form 1520-180601—June 2018 43044 Business Park Drive Temecula 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...
  • Page 2 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.
  • Page 3: Table Of Contents

    Chapter 1: Installing the PCI-AC48 Adapter Card ....... . 1...
  • Page 4 How mistic Interrupts Work on the PCI-AC48 ........
  • Page 5: Chapter 1: Installing The Pci-Ac48 Adapter Card

    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.
  • Page 6: Software Drivers

    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 I/O or Optomux systems, it is also expected that you are familiar with the controllers, brains, racks, and input/output modules used with these systems.
  • Page 7: For Help

    CHAPTER 1: 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 (800-835-6786 toll-free NOTE: Email messages and phone in the U.S.
  • Page 8 “DIP Switch Settings for Common Network Configurations” on page 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 PCI-AC48 User’s Guide...
  • Page 9: Dip Switch Descriptions

    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.
  • Page 10: Installing Software Drivers

    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.
  • Page 11: Installing The Adapter Card In The Computer

    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: 1.
  • Page 12: Identifying New Adapter Card Com Ports

    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.
  • Page 13: Connecting A Serial Cable To The Adapter Card

    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.
  • Page 14: Wiring The Connectors

    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 adapter card uses a removable...
  • Page 15: Wiring For Rs-485 2-Wire (Two Serial Ports)

    CHAPTER 1: INSTALLING THE PCI-AC48 ADAPTER CARD Wiring for RS-485 2-Wire (Two Serial Ports) The following wiring diagram assumes that you are using the PCI-AC48 for two 2-wire ports with no interrupts. (If you are using interrupts, see page 20.)
  • Page 16: If You Are Migrating From Ac24At, Ac422At, Or Ac37 Cards

    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.
  • Page 17 COM ports. If the software directly accesses the I/O location on the previous ISA card, you’ll need to modify the source code to use the new I/O location on the PCI-AC48. (For detailed information on the PCI register, see “Register Table”...
  • Page 18 IF YOU ARE MIGRATING FROM AC24AT, AC422AT, OR AC37 CARDS PCI-AC48 User’s Guide...
  • Page 19: Chapter 2: Troubleshooting

    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.
  • Page 20: Troubleshooting I/O Communications Using Led Indicators

    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. 2. Did the Receive LED (RX, REC, RCV) on the Opto 22 brain or controller blink? If it did, then the Opto 22 device received a message; go to the next step.
  • Page 21 CHAPTER 2: TROUBLESHOOTING 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.
  • Page 22 TROUBLESHOOTING THE ADAPTER CARD WITH A LOOPBACK CONNECTION PCI-AC48 User’s Guide...
  • Page 23: Appendix A: Advanced Configuration

    Using External Interrupts for mistic Remote I/O If you are using the PCI-AC48 adapter card with mistic I/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-AC48”...
  • Page 24: Mistic Interrupt Wiring

    USING EXTERNAL INTERRUPTS FOR MISTIC REMOTE I/O 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.
  • Page 25: Mistic Commands Required For Interrupts

    The Windows API WaitCommEvent can be used with its EV_CTS bit mask to detect a CTS interrupt. Building Custom Software 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 “Register Table”...
  • Page 26: Register Table

    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. The divisor latch enable bit or the LCR determines the mode of the registers at offset 0 and 1. PCI-AC48 User’s Guide...
  • Page 27: Appendix B: Technical Specifications

    B: B: Technical Specifications Chapter B B: Technical Specifications Appendix B PCI-AC48 Adapter Card Computer Interface 32-bit, 33 MHz PCI bus (PCI Specification Revision 2.2) Two serial ports, configurable for any of the following com- binations: Ports • Two ports in RS-485 2-wire mode •...
  • Page 28: Led Indicators

    PCI-AC48 ADAPTER CARD LED Indicators Serial Port A Serial Port B 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 PCI-AC48 User’s Guide...

Table of Contents