Page 1
AC24AT/AC422AT USER’S GUIDE Form 166-040823 — August, 2004 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 Internet Web site: www.opto22.com Product Support Services: 800/TEK-OPTO (835-6786) or 951/695-3080 Fax: 951/695-3017 E-mail: support@opto22.com Bulletin Board System (BBS): 951/695-1367 http://bbs.opto22.com...
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 I/O modules and solid-state relays with date codes of 1/96 or later are guaranteed for life.
Termination Jumpers ..................23 Jumpers for Controlling the Transmitter on the Adapter Card ......24 Other Jumpers ....................24 Using the AC24AT in RS-485 2-Wire Mode .............. 25 Chapter 5: Troubleshooting and Testing Communications Cabling ..................27 Troubleshooting the Adapter Card with a Loop-back Connector ....... 27 Troubleshooting Optomux Communications Using LED Indicators ......
Page 4
Address Jumpers (Group A Jumpers) ..............33 Discussion ......................33 Procedure ......................33 Appendix B Application Note AN9602: Configuring the AC24AT/AC422AT as a COM Port in Microsoft Windows 95 ..................... 35 Appendix C Notes Regarding Earlier Versions of the Adapter Card ..........37...
RS-422/485 4-wire mode and support baud rates up to 115.2 kbaud. In addition, the AC24AT card provides 4,000 volts of isolation between the ISA bus and the communications link. The AC24AT card can also be set up for RS-485 2-wire mode; however, special software drivers are required to take advantage of this.
• LED indicators for Transmit, Receive, RTS, and CTS • Jumper-configurable termination and biasing for RS-422/485 lines • Model AC24AT provides 4,000 volts of optical isolation between the computer and the RS-422/485 lines • Model AC24AT provides transformer isolation between the computer’s 5 VDC and the RS-422/485 lines.
Microsoft Windows. From the DOS prompt (not a DOS box) type <path>MSD and press the Enter key where <path> is the path to the Windows directory that contains the file MSD.EXE. Select the IRQ button and the COM Ports button. AC24AT/AC422AT User’s Guide...
• COM1 and COM2 are standards for DOS and all Microsoft Windows operating systems. • COM3 and COM4 are standards for all Microsoft Windows operating systems. • OPTO COM3 and OPTO COM4 are Opto 22 standards that were definded prior to the release of the Microft Windows operating systems.
Page 11
Notes: 1. Only install one IRQ jumper. 2. In addition to the IRQ jumper, install the CTS/CTS DISABLE jumper. 3. Remove the 2-W jumper (AC24AT only). 4. Microsoft Windows operating systems standard is that COM1 & COM3 share the same IRQ (4).
Optomux. These jumper settings are the defaults set at the factory. Figure 2-1: AC24AT Group B and C Jumpers & CTS and 2-W Jumper Arrangements Figure 2-2: AC422AT Group B and C Jumpers & CTS Jumper Arrangements The adapter card is now ready to be plugged into any open ISA slot in the computer.
COM port. The computer’s built-in COM port must first be disabled by changing the enable status of the COM port in the computer’s BIOS. A computer’s BIOS settings can typically only be accessed during the initial boot sequence when starting or restarting the computer. AC24AT/AC422AT User’s Guide...
#22 or #24 gauge, with a nominal impedance of 100 ohms and a capacitance of 12.5 pF/ft. See Chapter 4, Technical Information, Recommended RS-422/485 Communication Cables. Notes: AC24AT: Signal common is NOT tied to the computer’s ground and should NOT be tied to earth ground at any location.
Page 15
The overall cable shield drain wire should NOT be tied to earth ground at any location because it is being used as the logic common for the network. For details on connecting multiple Optomux brain boards to the RS-422/485 communication cable, please see the Optomux B1 and B2 Data Sheet (form 463). AC24AT/AC422AT User’s Guide...
COM terminal of the Optomux unit. Finally, the overall cable shield drain wire should be tied to earth ground at only one of its two ends. Figure 2-5: RS-422/485 Wiring from Adapter Card to Optomux SNAP B3000 Brain AC24AT/AC422AT User’s Guide...
Page 17
The overall cable shield drain wire should NOT be tied to earth ground at any location because it is being used as the logic common for the network. For details on connecting multiple Optomux brain boards to the RS-422/485 communication cable, please see the B3000 data sheet (form 787). AC24AT/AC422AT User’s Guide...
Please note that the transmit lines from the adapter card must be connected to the receive lines of the terminal or computer, and vice versa. See the section titled, “Communication Jumpers (Group B & C Jumpers + CTS-Disable and 2-W Jumpers)” earlier in this chapter for instructions on setting communication jumpers. AC24AT/AC422AT User’s Guide...
Page 20
Figure 3-2: J1 9-Pin D Shell (female) Connector When communicating via RS-422 or RS-485 to other non-Opto 22 devices, termination provisions may not be available on the devices. It may be necessary to install 220 ohm terminating resistors at, but external to, the device.
Figure 4-1: Simplified schematic showing the Group B & C jumpers. BIASING JUMPERS The biasing jumpers are: B1 and B3 for the transmit pair, B5 and B6 for the receive pair, C1 and C3 for the RTS pair, C5 and C6 for the CTS pair. AC24AT/AC422AT User’s Guide...
RTS- terminal. This terminates the RTS pair of wires. Jumper B4 installed connects a 220 ohm terminating resistor between the CTS+ terminal and the CTS- terminal. This terminates the CTS pair of wires. See Appendix D for a more detailed discussion of termination requirements. AC24AT/AC422AT User’s Guide...
Jumper B8 (AC422AT only): Jumper B8 is only found on the AC422AT. This jumper is reserved and should never be installed. 2-W jumper: The 2-W jumper is only found on the AC24AT card. When this jumper is installed, the receiver is disabled when the transmitter is transmitting. This jumper should be removed for normal RS-422/485 4-wire mode operation.
The AC422AT can only be used in RS-422/485 4-wire mode. It cannot be used in RS-485 2-wire mode. A small modification was made to the AC24AT card which provides a possibility of using the card in RS-485 2-wire mode. However, special software drivers are required to take advantage of this.
Page 26
TECHNICAL INFORMATION Figure 4-2: Connecting the AC24AT to a 2-wire RS-485 device. AC24AT/AC422AT User’s Guide...
If the RTS and CTS lines are being used, then tie pin 1 to pin 6 and pin 2 to pin 7. This will tie the RTS output lines to the CTS input lines. Figure 4•-1: Loop-back Connector AC24AT/AC422AT User’s Guide...
Page 28
The terminal program may be configured for the wrong IRQ. This is typically only the case with DOS applications. Refer to the documentation for the terminal program being used. Note: Any or all of these conditions may need to be corrected. AC24AT/AC422AT User’s Guide...
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 or termination and biasing of the RS-422/485 communications link. See Chapter 2, as well as the documentation for the Optomux brain boards. AC24AT/AC422AT User’s Guide...
Send line ends with line feeds Leave the other boxes in their default settings. Select OK and select OK again. 5. Select “Save As” from the File menu and save this configuration of HyperTerminal for future use. AC24AT/AC422AT User’s Guide...
Powerup Clear command to the brain board at address 12 (0C hex), the message would be: >0CA?? followed by the “Enter” key. See the B1 and B2 Digital and Analog Brain Board Operations Manual (Form 203) for more details on the Optomux protocol and command set. AC24AT/AC422AT User’s Guide...
Page 32
In addition, verify that twisted pair communication cable is being used and that a separate wire is being used for the signal common and that the signal common wire is not connected to earth ground. Refer to Chapter 2 as well as the documentation for the brain boards. AC24AT/AC422AT User’s Guide...
3. Discard the first two zeros and the last three zeros. 4. Invert the bits. 5. Install a jumper in each location corresponding to a one. The most significant bit corresponds to A9, and the least significant to A3. AC24AT/AC422AT User’s Guide...
Page 34
2. Convert to binary: 0010 1111 1000 3. Delete leading two zeros and trailing three zeros: 10 1111 4. Invert the bits: 0000 5. Install jumper A8; remove jumpers A3 through A7, and A9. Correlation of bits to address jumpers: AC24AT/AC422AT User’s Guide...
APPENDIX B APPLICATION NOTE AN9602: CONFIGURING THE AC24AT/AC422AT AS A COM PORT IN MICROSOFT WINDOWS 95 When adding COM ports in Microsoft Windows 95, the operating system adds them sequentially. Therefore, if your system does not already have COM3 set up, you will need to add COM3 before you can add COM4.
Page 36
26. Click the “Remove” button. 27. When asked if you are sure, click “OK.” 28. In the “Systems Properties” dialog box, click the “Close” button. 29. When prompted to restart your system, click “Yes.” 30. You’re done! AC24AT/AC422AT User’s Guide...
The RTS output lines must be looped back to the CTS input lines. This is done by tying pin 1 to pin 6, and pin 2 to pin 7. This maintains compatibility with older versions and allows software packaging using CTS detection to work correctly . AC24AT/AC422AT User’s Guide...
However, RS-422 “4-wire” (two data links) communications only allows two devices to be on the communications link because each data link can only have one transmitter. Opto 22 products, in general, do not use RS-422 4-wire communications with the exception of Classic Optomux B1 & B2 when used in Repeat mode.
4. For consistency, the FO terminals on the adapter card and all of the Optomux brain boards are biased. 5. When Optomux is used in Repeat Mode, each data link is RS-422, and the transmitters are always enabled. AC24AT/AC422AT User’s Guide...
RS-485. This is sometimes referred to as RS-485 2-wire mode. Block Diagram of RS-485 DATA Link (2-Wire Mode) This methodology is used with Opto 22 Mistic Bricks and can also be used with the SNAP-B3000 brain when set up for 2-wire communications.
1.The RS-422/485 communications cable is composed of two twisted pairs of two wires each (one for the RS-422 data link and one for the RS-485 Data Link) plus a separate wire for the signal common (typically from a third or fourth pair) plus an overall cable shield. AC24AT/AC422AT User’s Guide...
When in doubt as to whether or not biasing is required, make sure the data link is biased. If biasing is already accomplished at a location on the data link other than the adapter card, then the biasing jumpers should be removed from the adapter card. AC24AT/AC422AT User’s Guide...
Both ends of each RS-422 and RS-485 data link must be terminated with appropriate terminating resistors. Opto 22 products typically have 220 ohm terminating resistors built in. To add or remove terminating resistors to the data link, set the terminating jumpers appropriately. See the section titled “Terminating Jumpers”.
REC: Receive. This abbreviation is used with the adapter card to indicate the receiver terminals. Synonymous with RX. AC24AT/AC422AT User’s Guide...
Page 46
FH terminals of the next Optomux brain board. TX: Transmit. Synonymous with XMT. XMT: Transmit. This abbreviation is used with the adapter card to indicate the transmitter terminals. Synonymous with TX. AC24AT/AC422AT User’s Guide...
APPENDIX F PRODUCT SUPPORT If you have any questions about this product, contact Opto 22 Product Support Monday through Friday, 8 a.m. to 5 p.m. Pacific Time. Phone: 800-TEK-OPTO (835-6786) 951-695-3080 Fax: 951-695-3017 E-mail: support@opto22.com Opto 22 Web site: http://www.opto22.com...
Need help?
Do you have a question about the AC24AT and is the answer not in the manual?
Questions and answers