Page 1
(217) 352-9330 | Click HERE Find the Opto-22 AC37 at our website:...
Page 2
AC37 HIGH-SPEED COMMUNICATION ADAPTER CARD USER’S GUIDE Form 461-021028 — October, 2002 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 E-mail: support@opto22.com Web: support.opto22.com...
Page 3
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.
TABLE OF CONTENTS Welcome....................v About This Manual ......................... v Document Conventions ........................ v AC37: IBM AT to Remote Bus Adapter Card ........1-1 Summary of Features: ........................ 1-1 Address Selection: ........................1-2 Host CPU Interrupt Request Line Selection: ............... 1-3 RS-485 Serial Line Termination and Biasing: ..............
Page 5
TABLE OF CONTENTS AC37 High-Speed Communication Adapter Card Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
WELCOME ABOUT THIS MANUAL This manual is organized as follows: • Chapter 1: AC37: IBM AT to Remote Bus Adapter Card • Chapter 2: Register Definition • Chapter 3: External Interrupt Line, Remote I/O IRQ • Chapter 4: Mode of Operation DOCUMENT CONVENTIONS •...
IBM AT or compatible computer access to the Opto 22 Remote I/O Bus. The Remote Bus is a standard RS-485 half-duplex (2 wire) serial communications link. The AC37 is primarily used to allow an AT to be the host on a Remote Bus link controlling a network of Opto 22 Remote I/O bricks, though it can also be used to monitor a link for redundant host applications.
AC37: IBM AT TO REMOTE BUS ADAPTER CARD ADDRESS SELECTION: There are seven address jumpers on the AC37 labeled A3 through A9. These jumpers are used to select the base address of the adapter card.The IBM PC-AT and compatibles only use 10 address lines for addressing I/O locations.
HOST CPU INTERRUPT REQUEST LINE SELECTION: The AC37 allows for the selection of the interrupt request line with a group of jumpers labeled ‘IRQ GROUP’. All of the interrupts found in the Interrupt Identification Register can be routed to one interrupt request line by installing the jumper for that line.
If the AC37 is to be the host of a Remote I/O Bus and is NOT located at one end of the line, install jumpers C0, C2, C3, C5, C6, and C8 only. Terminating resistors must be installed at both ends of the transmission lines.
AC37: IBM AT TO REMOTE BUS ADAPTER CARD INSTALLATION: After jumpering, the AC37 is ready for installation in any AT class (286, 386, or 486) machine. The AC37 requires a 16-bit slot in the computer. To install: 1) Remove computer cover...
Remove jumper 0 to set the AC37 to mode 0 for connections to Mistic I/O bricks. If you are using the AC37 with Mistic MMI or Cyrano to a Mistic controller, install jumper 0. This sets the AC37 to mode 1. For more about the option jumpers, see the “Modes of Operation”...
FIFO (First In First Out) memory. CARD IDENTIFICATION REGISTER: OFFSET 7 - READ ONLY This register will always read as 37 Hex, which may be used by software to identify the port as an AC37. Writing to this address will have no effect.
This register is used to enable or disable the various types of host CPU interrupts which can be generated by the AC37. Disabling an interrupt prevents it from being indicated as active in the Interrupt Identification Register and from activating the host CPU interrupt line. All other system functions operate in their normal manner, regardless of their interrupt enable status.
Transmit Buffer Empty flag (bit 5) in the Line Status Register. A Modem Status Interrupt is generated by the Remote Bus IRQ line being active. Since the AC37 is not intended for use with modems, the Remote Bus IRQ line is directed through what is normally the CTS bit on the 16,550 UART.
REGISTER DEFINITION RESET CONTROL REGISTER: OFFSET 2 - WRITE ONLY This register is used to control the reset functions of the AC37. The bits of the Reset Control Register have the following functions: Bit 0: Not Used Bit 1: Receive FIFO Reset Writing a logic 1 to this bit will reset the receive FIFO.
These two bits specify the number of bits in each serial character sent or received. The AC37 does not support all of the various word sizes that the 16,550 UART does, but the most commonly used data formats are supported and are selected using the settings...
The secondary interrupt feature on AC37 is used by the Remote Bus IRQ line. Only one bit in the register is used for this purpose; other bits are not used.
Bit 6: Transmit Driver Active This bit is set to a logic 0 while the AC37 is transmitting data. This bit is set to a logic 1 when the AC37 is not transmitting and is ready to receive data. Bit 7: Not Used This bit is not used and will always read as a logic 0.
Bit 2: CPU Interrupt Request This bit is set to a logic 1 when the CPU of the AC37 is requesting to interrupt the host CPU. This feature is for future product enhancements. Current operating modes of the AC37 will not generate this interrupt and this bit will read as a logic 0. Bit 2 functions identically to bit 6.
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 AC37 will receive this signal and set the IRQ Line Status bit in the Modem Status Register.
Mode 0: While in mode 0, the AC37 will operate very much like a standard serial COM port. It also will not receive what it has transmitted. When data is received, it is put into the receive FIFO and the Receive Data Available bit is set immediately.
MODES OF OPERATION After transmitting the last byte of the command string, the AC37 will put the response data into the receive FIFO while holding off the Receive Data Available flag until the entire response is received. If a receive error occurs, or two seconds expire with no data having been received, the Receive Data Available flag is allowed to operate in it’s...
Need help?
Do you have a question about the AC37 and is the answer not in the manual?
Questions and answers