422 485 1.
Guarantee. FULL 36 MONTHS GUARANTEE. BRAIN BOXES guarantee your Serial Port Card for a full 36 months from purchase, parts and labour, provided it has been used in the specified manner. In the unlikely event of failure return your interface to BRAIN BOXES or to your Dealer, with proof of purchase, who will determine whether to repair or replace this product with an equivalent unit. COPYRIGHT. COPYRIGHT © 1985-1998 BRAIN BOXES. All rights reserved.
485 422 PCP Technology 1.
Guarantee. FULL 36 MONTHS GUARANTEE. BRAIN BOXES guarantee your Serial Port Card for a full 36 months from purchase, parts and labour, provided it has been used in the specified manner. In the unlikely event of failure return your interface to BRAIN BOXES or to your Dealer, with proof of purchase, who will determine whether to repair or replace this product with an equivalent unit. COPYRIGHT. COPYRIGHT © 1985-1998 BRAIN BOXES. All rights reserved.
485 422 Hardware Manual 1.
Guarantee. FULL 36 MONTHS GUARANTEE. We guarantee your Serial Port Card for a full 36 months from purchase, parts and labour, provided it has been used in the specified manner. In the unlikely event of failure return your interface to your Dealer, with proof of purchase, who will determine whether to repair or replace this product with an equivalent unit. COPYRIGHT. COPYRIGHT © 1985-1998. All rights reserved.
PCI VELOCITY / OPTO ISO RS422/485 Introduction PCI VELOCITY RS422/485 AUTOGATING PCI OPTO ISOLATED RS422/485 AUTOGATING These products conform to the following standards: CE standard: EN55022:1987 TIA /EIA: 423 B (1996) EIA: 485 A (1995) Intro 1
Introduction PCI VELOCITY / OPTO ISO RS422/485 PCI VELOCITY RS422/485 AUTOGATING PCI OPTO ISOLATED RS422/485 AUTOGATING OUTLINE CONTENTS Chapter 1 - Supplied Serial Solution Software. Chapter 2 - PCI Velocity RS422/485 Specifications. Chapter 3 - PCI Dual RS422/485 Software Configuration Guide. Chapter 4 - Additional RS422/RS485 Information. The Layout Of This Manual Chapter 1 - Serial Solution Software, is an overview of this companion software package for our range of serial portcards.
PCI VELOCITY / OPTO ISO RS422/485 Introduction Table of Contents CHAPTER 1 .................................................................................. 1 INTRODUCTION. ........................................................................ 1 Introducing Serial Solution Software. ................................... 1 Serial Solutions For DOS. .................................................... 1 Serial Solutions For Windows 3.x.........................................
Introduction PCI VELOCITY / OPTO ISO RS422/485 Uninstalling Serial Solutions PCI. ...................................... 27 CONFIGURING PORTS IN WINDOWS 3.X .................................... 28 Determining PCI RS422/485 Resources. ............................ 28 Windows 3.x Software Installation. .................................... 29 Serial Port Installation. ....................................................... 30 Configuring The COM Ports. .............................................
PCI VELOCITY / OPTO ISO RS422/485 Serial Solutions Chapter 1 SERIAL SOLUTIONS SOFTWARE. Introduction. This chapter is a brief description of the Serial Solutions software package; this can also be purchased SEPARATELY and is available from YOUR DEALER. Introducing Serial Solution Software. The perfect partner for any Serial Port is Serial Solutions Software! Serial Solutions is a fully featured suite of programs designed to squeeze the most from PC serial communications.
Serial Solutions NewCOM.sys PCI VELOCITY / OPTO ISO RS422/485 A device driver, it supports COM1 to COM16, allowing 16 serial ports to be used under DOS. It also includes an interrupt handler for enhanced performance with user definable buffer sizes. Accessible from all DOS languages, it is the heart of the Serial Solution.
PCI VELOCITY / OPTO ISO RS422/485 Comtest.exe Serial Solutions demonstrate in depth serial port programming in a variety of languages but they are also useful tools for using serial devices. Comtest is a short but invaluable program that is used to check that the serial port at a particular I/O address is functioning correctly and is connected to the particular IRQ line.
Serial Solutions PCI VELOCITY / OPTO ISO RS422/485 the shared interrupt mechanism used on our multiport cards. Serial Solutions for Windows 95 consists of the following programs: SSCards.inf Ssmodem.inf The information file to aid the installation process "Have Disk....” Setup file for Serial Solutions modems. sscardui.dll ssportui.dll The device manager configuration DLLs and… ssenum.vxd ssv485.vxd ssvel.vxd ssmult.vxd ssm485.vxd ...
PCI VELOCITY / OPTO ISO RS422/485 Specifications Chapter 2 PCI VELOCITY RS422/485 & PCI OPTO ISOLATED RS422/485 SPECIFICATIONS Introduction. This chapter details the specifications of the PCI Velocity RS422/485 card and PCI Opto Isolated RS422/485 and explains how to configure the RS485 Multiplex jumpers present on both cards. These half-sized cards will work happily in any PCI 2.0 or greater compliant PC compatible.
Specifications PCI VELOCITY / OPTO ISO RS422/485 General PCI RS422/485 Serial Port Features (cont). Clock Input: Drivers: High Level Voltage: Low Level Voltage: High Level Current: Low Level Current: Receivers: Difftial I/P threshold: Hysteresis: Input Impedance: 14.7456MHz SN75174 3.7V typical at 33mA source 1.1V typical at 33mA source -60mA max. 60mA max. SN75175. 200mV max. 50mVolt typical. >12K Ohm without terminators. Autogating.
PCI VELOCITY / OPTO ISO RS422/485 Specifications Optical Isolation. The PCI Opto Iso RS422/485, as mentioned above is identical in installation procedure to the PCI Velocity RS422/485.
Specifications PCI VELOCITY / OPTO ISO RS422/485 Figure 2-1. PCI VELOCITY RS422/485 Card Layout. TX/RX1+ TX/RX1TX/RX2TX/RX2+ MULTIPLEX RS485 P O R T #1 P O R T #2 RS485 Multiplex jumper block PCI VELOCITY RS422/485 Specifications: Dimensions: I/O Connection: Weight: 5 x 3 in, 120 x 85 mm Serial Port 1: 9 pin Male D type. Serial Port 2: 9 pin Male D type.
PCI VELOCITY / OPTO ISO RS422/485 Specifications Figure 2-2. PCI Opto Iso RS422/485 Card Layout. TX/RX1+ TX/RX1TX/RX2TX/RX2+ MULTIPLEX RS485 P O R T #1 P O R T #2 RS485 Multiplex jumper block PCI Opto Iso RS422/485 Specifications: Dimensions: I/O Connection: Weight: Optical Isolation 5 x 3 in, 126 x 99 mm Serial Port 1: 9 pin Male D type. Serial Port 2: 9 pin Male D type.
Specifications PCI VELOCITY / OPTO ISO RS422/485 Figure 2-3. 9 Pin D Connector Port Pinouts. P IN P IN P IN P IN 6 - R E C E IV E D D ATA 7 - R E C E IV E D DATA 8 - CLE A R TO SEN D 9 - CLE A R TO SEN D (R X D -) (R X D + ) (C T S -) (C T S + ) PIN PIN PIN PIN PIN 1 2 3 4 5 - T R A N S M IT T E D D ATA (T X D -) - T R A N S M IT T E D D ATA (T X D + ) - R E Q U E ST T O S E N D (RT S -) - R E Q U E ST T O S E N D (RT S + ) - G RO U N D (G N D ) Configuring The PCI RS422/485 Cards.
PCI VELOCITY / OPTO ISO RS422/485 Specifications Port 1 With Half Duplex Settings. • Both jumpers shorted, causing the RXD- & TXD- and the RXD+ & TXD+ signals to short together at the 9-pin connector. The multiplex jumpers should only be set for RS485 Half Duplex operation, when one twisted pair is used to interconnect both transmit and receive lines.
Specifications PCI VELOCITY / OPTO ISO RS422/485 Hardware Installation. STEP 1: Before the PC card can be installed the power to the PC MUST be switched OFF, and to ensure extra safety, the power lead removed from the PC. STEP 2: Remove the PC case. Step 3 - Removing Blanking Cover Choose an empty expansion slot. Remove the blanking cover protecting the slot on the PC back panel. KEEP the blanking cover screw safely for later. Step 4 - Inserting The PCI Serial Card.
PCI VELOCITY / OPTO ISO RS422/485 Specifications down and back over the system unit. Replace the cover mounting screws. STEP 7: After attaching all the monitor and keyboard cables, power up the PC. Do not forget the mains power cable! The PC should then power on in the normal way. Problems! If the system fails to power up normally, check the following: i.) ii.) iii.) Ensure that the PCI Serial card is installed correctly. Ensure that other cards in the PC have not been upset.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Chapter 3 PCI VELOCITY RS422/485 & PCI OPTO ISOLATED RS422/485 SOFTWARE CONFIGURATION GUIDE Introduction. This section contains the installation procedures of the PCI VELOCITY RS422/485 card, with the Windows 95 & 98, Windows NT DOS, and Windows 3.x operating systems.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration • Windows will then display the "Update Device Driver Wizard", which asks you to “insert any disk which came with the PCI card”. Insert the Windows 95 installation disk into an appropriate drive and click 'Next'. • The Wizard should then display the following: Opto Iso users, this entry will appear as: PCI Opto Iso RS422/485 rev 2 • Click Finish. • A "Copying Files…" window should now appear. Click 'OK' when it asks you to insert the disk.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 • After copying the file, Windows 95 will then detect each of the serial ports in turn and install them as communications ports. When the "Device Manager" is viewed the PCI R422/485 card will appear under the "Multi-function adapters" branch as either PCI Velocity RS422/485 card or PCI Opto Iso RS422/485 (parent device). Also, two Velocity RS485 Ports will appear under the "Ports (COM & LPT) branch" (child device).
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration PCI Velocity RS422/485 Card Settings In Windows 95 & 98. • Select the PCI Velocity RS422/485 card from the "MultiFunction Adapter" entry in Device Manager serial and click on properties to view the cards general properties; clicking on the Serial Solutions tab produces: Opto Iso users, this entry will appear as: PCI Opto Iso RS422/485 Card Properties. The i/o address and interrupt are assigned to the card by the "Plug and play" system of the PC.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 PCI RS422/485 Port Settings In Windows 95 & 98. Double clicking on a Velocity RS485 Port entry from the entry "Ports (Com & LPT)" branch in Device Manager will the display general properties window for the selected port (in this case COM5). • Selecting the Port Settings tab produces: Settings available in this window are: 1.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration Table 3-1 Maximum Baud Rate Settings.
Software Configuration • PCI VELOCITY / OPTO ISO RS422/485 Clicking on the Serial Solutions tab will display: Settings available in this window are: 1. FIFO Settings. • Enable FIFO - turns the selected ports FIFO buffer on or off. It is strongly recommended that the FIFO for both ports is left enabled. • Extend FIFO - when checked, extends the selected ports FIFO buffer from 16 to 64 bytes. • Receive Buffer - These settings allow the selection of a receiver FIFO trigger setting.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration 2. Automatic Hardware Flow Control. One of two options may be selected: • Off (Default) - This will turn off automatic flow control. (If you have no data transfer problems then selecting this option is fine.) • RTS/CTS - This will use the RTS and CTS lines for automatic hardware flow control. 3. 485 Mode offers the options: • Half Duplex / Full Duplex(default) - are used in conjunction with the RS485 Multiplex Jumper Settings.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Configuring Ports In Microsoft Windows NT 4.0. Microsoft Windows NT Provides built in support for 255 standard serial ports. To setup your PCI RS422/485 serial card you should follow these steps. Please note that to change any kind of hardware configuration under Windows NT you must be logged in as a user with Administrator level privileges, if you do not have these please contact your system administrator. Software Installation.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration Examining Card Configuration.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Configuring Ports. To view the settings of a port, select it and click on settings, and then click on the resources tab: Settings available in this window are: Settings available in this window are: 1. Baud Rate - determines the baud rate at which the selected port operates, the maximum value available is 921,600 (1 Megabaud.) Note: Many serial comms applications will not actually register the ports as running at baud rates of above 115200. 2.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration 7. Restore Defaults - when clicked, resets the selected COM port to the following values: Baud Rate: Data Bits: Parity: Stop Bits: Flow Control: 9600 8 None 1 Hardware Advanced Port Settings. When the Advanced button of Port Settings is selected the following dialogue is displayed: Settings available in this window are: 1. FIFO settings. • Use FIFO Buffers - turns the selected ports FIFO buffer on or off.
Software Configuration • • • PCI VELOCITY / OPTO ISO RS422/485 Receive Buffer - These settings allow the selection of a receiver FIFO trigger setting. Selecting a low value will allow the interrupt to be serviced quicker, which is good for slow machines. If you have a fast machine, setting a high value will give you more time for multi-tasking operations. Transmit Buffer - These settings allow the selection of a transmitter FIFO trigger setting.
PCI VELOCITY / OPTO ISO RS422/485 • Software Configuration Force CTS True, determines whether the CTS handshake signal is INPUT from the external serial device or is permanently forced true on the card. The serial ports own RTS OUTPUT handshake signals are always taken out to the serial port connector. 4.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Configuring Ports In Windows 3.x The Windows 3.x installation procedure consists of two steps after the PCI RS422/485 card is inserted: 1. Determining the resources that the PCI RS422/485 card has claimed. 2. Informing Windows 3.x of those resources. Determining PCI RS422/485 Resources. • Insert the card into a PC, as described in Chapter 2. • Run BBCARDS.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration Windows 3.x Software Installation. Place the supplied Serial Solutions for Windows 3.x disk in a suitable drive. From File Manager choose ‘Run’ and enter a:\setup (where a: is the path to the floppy drive with the installation disk).
Software Configuration • PCI VELOCITY / OPTO ISO RS422/485 When you have made your choice of Component Options click Continue and when the setup program has finished select the Done button. Note: If the Serial Port driver options has been selected, after the setup program has finished, Windows will display a restart message - answer Yes and Serial Solutions will be ready to run upon Windows restarting. Serial Port Installation.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration To add a COM port: • Click on the add button and a Window similar to the following will be displayed: • In Standard Settings: • In the COM Base field, enter the value 0140. Note: COM ports are defined with an i/o address range, which in this case, begins at 0140 and all subsequent ports have an i/o address that is 8 higher than the previous. i.e. if COM2 has an address of 0140h, then COM3 has an address of 0148h.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 When you have finished, click on OK. A restart message will be displayed; to save time only restart when both ports have been added and correctly configured. • Repeat the above process to add the second COM port of the PCI RS422/485, the COM base will be 0148; the IRQ value will remain the same. After adding the remaining COM port the COM Ports Window will look similar to the following: Configuring The COM Ports.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration Note: A port that has been added has the default values of: Baud Rate: Data Bits: Parity: top Bits: Flow: 9600 8 None 1.0 None Change the communications Settings in the COM Ports to match the baud rate, parity settings etc. of the remote serial device. Deleting Ports in Windows. The Delete button can be used to discard the entries of ports that have been removed from the system. Note.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Configuring Ports In DOS. The DOS installation procedure consists of two steps after the PCI RS422/485 card is inserted: 1. Determining the resources that the PCI RS422/485 has claimed. 2. Informing the Serial Solutions DOS device driver of those resources. Determining PCI RS422/485 Resources. • Insert card into PC, as described in Chapter 2. • Run BBCARDS.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration NEWCOM.SYS Parameters. The NewCOM.SYS device driver included with the PCI RS422/485 driver software is used to set up the card in DOS and has the following syntax: NEWCOM.SYS /A port address, /I IRQ,range /B number buffer /S buffer /H hardware handshake Where /A port address specifies COM port number followed by a hexadecimal address in the form /Ax,y where x is COM port range and y is I/O address.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 is set true just in case the external serial device needs a true signal. Type 1 RS422 RTS/CTS - The PC only transmits when CTS is input true. When the PC is able to receive its sets RTS output true. The DSR and DCD inputs are ignored. The DTR output line is set true just in case the external serial device needs a true signal.
PCI VELOCITY / OPTO ISO RS422/485 Software Configuration Configuring And Installing NEWCOM.SYS To load the Serial Solutions for DOS device driver an entry needs to be added to the CONFIG.SYS file. Any simple text editor, EDIT for example, can edit the CONFIG.SYS file for example. The installation procedure given below is for a PCI RS422/485 as COM 5 - COM6. The parameter required by the NEWCOM.SYS driver are those returned by the BBCARDS.EXE application earlier.
Software Configuration PCI VELOCITY / OPTO ISO RS422/485 Buffer Size. /S512 Buffer size set to 512 bytes. Hardware Handshaking. /H,4 Type 4, 3 Wire Handshake selected for all ports. Type 4, 3 Wire Handshake selected for all ports. Modifying Command Line Parameters. When "assembled" the NEWCOM.SYS command line looks like… DEVICE=NEWCOM.SYS /A5-6,0140 /I 11,5-6 /B8 /S 512 /H,4 …and should be entered into the CONFIG.SYS file.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information Chapter 4 ADDITIONAL RS422/485 OPERATION The RS422 Standard. The RS422 standard defines a serial communications standard. RS422 is a high speed and/or long distance data transmission. Each signal is carried by a pair of wires and is thus a differential data transmission system. Over distances up to 40 feet the maximum data rate is 10 Megabits per second, and for distances up to 4000 feet the maximum data rate is 100 Kilobytes per second.
RS422/485 Information PCI VELOCITY / OPTO ISO RS422/485 more than one device may transmit data, the RTS line is used as transmit enable signal, so preventing contention between talkers. RS485 Standard Up to 32 Driver/Receiver Pairs Line Length Max Data Rate 40 Feet = 12m 10 Mbits/sec 400 Feet = 122m 1 Mbits/sec 4000 Feet = 1219m 100 Kbits/sec D R D R R Terminating Impedance’s.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information Fail Safe Open Circuit Detection. Open circuit is when there are no drivers on the circuit. This occurs by design in party line multi driver/receiver systems and unintentionally when the twisted pair line is accidentally cut or disconnected or the transmitting device fails. In RS485 party line systems there are extended periods of time when none of the many possible talkers are gated onto the bus.
RS422/485 Information PCI VELOCITY / OPTO ISO RS422/485 This RS422 arrangement allows data to be transmitted and received simultaneously since each signal has its own data cable pair. In addition, the receiver can set RTS true so telling the transmitter on its CTS input that the receiver is ready to accept data. In this way, no data will ever be transmitted when the receiver is unable to accept it, due to a full input buffer etc. And so no data will be lost. RS422 Serial Port Cables.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information Note: i.) Receiver ends terminated in characteristic impedance ONBOARD resistor networks. ii.) USE BELDEN TYPE 9729 etc. see above. iii.) RS485 Gating & Multiplex Jumpers as Factory Set. RS485 Operation. The RS485 standard is intended for up to 32 driver receiver pairs on the bus. The line drivers used in the Serial Solutions RS422/485 card are designed to work correctly in both RS422 and RS485 systems.
RS422/485 Information PCI VELOCITY / OPTO ISO RS422/485 RS485 Cable. For best noise immunity use twisted pair cables to make the RS485 connection. In Half Duplex wiring only 1 twisted cable pair is needed. Two twisted pair cables are needed for Full Duplex communications. Use screened twisted pair Belden cable 9729 and 9829, UL type 2493 and 2919 or IBM Part No 4716748 cable to make the RS485 connection.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information In the above scheme, one RS485 device is talk only, it transmits data, but it does not receive any. The other RS485 devices are receive only, they do not transmit any data at all. Figure 4-3 gives the RS485 Gating jumper settings. Figure 4-3 Half Duplex Settings of RS485 Multiplex • Both jumpers shorted, causing the RXD- & TXD- and the RXD+ & TXD+ signals to short together at the 9-pin connector. RS485 Many Talkers- Many Listeners, Half Duplex.
RS422/485 Information PCI VELOCITY / OPTO ISO RS422/485 RS485 Many Talkers- Many Listeners, Full Duplex. The RS485 many talkers, many listeners, Full Duplex system can be used when all the RS485 devices have separate Transmit and Receive channels. There is NO multiplexing of the TXD and RXD signals on the same device.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information remain in the receive only mode when they are not being addressed, they do not transmit any data at all. Figure 4-5 gives the jumper settings for the serial card in the RS485 Full Duplex mode. Figure 4-5. RS485 Jumpers, Full Duplex. • Both jumpers left unconnected (not shorted). Figure 4-6. RS485 Full Duplex. Note: The receiver end of MAIN line terminated in characteristic impedance, stubs off the main not terminated.
RS422/485 Information PCI VELOCITY / OPTO ISO RS422/485 current flow due to differences in ground potential. Any one of the methods shown in Figure 4-7, below can do this. Figure 4-7 - Optional Grounding Arrangements For A PCI RS422/485 Card. Configuration A) 100Ω (1/2) W SG GWG Configuration B) SG GWG SG GWG = = Signal Ground Interchange circuit. Green wire ground of power system. = Protective ground of frame ground.
PCI VELOCITY / OPTO ISO RS422/485 RS422/485 Information with a strap to connect signal common and protective ground directly together when specific installation conditions necessitate. Configuration B) The circuit common shall be connected directly to protective ground. The same configuration need not be used at both ends of an interconnection; however, care should be exercised to prevent establishment of ground loops carrying high currents.
Index PCI VELOCITY / OPTO ISO RS422/485 Index 1 Megabaud ...................................................................................................... 5 115200 Baud................................................................................................... 19 16450 / 16550 ............................................................................................... 1, 5 460800 Baud...................................................................................................
PCI VELOCITY / OPTO ISO RS422/485 Index loop back ........................................................................................................... 3 Maximum Baud Rate................................................................................. 18, 19 Megabaud .................................................................................See 921600 baud mode........................................................................................................... 2, 47 open circuit .........
ALSO AVAILABLE FROM YOUR SUPPLIER VELOCITY SERIAL RANGE 1 Megabaud serial comms AT VELOCITY RS232 VELOCITY RS422/485 PCI SERIAL RANGE PCI RS232 2 PORT PCI RS232 4 PORT PCI RS232 8 PORT PCI VELOCITY RS422/485 PCI VELOCITY RS232 PCI OPTO DUAL RS422/485 STANDARD SERIAL RANGE AT TWIN 9 RS232 AT 1 PORT RS232 AT 3 PORT RS232 AT LPT RS232 AT OPTO DUAL RS232 AT QUAD RS232 AT LYNX 8 PORT RS232 AT RS232/422/485 AT DUAL RS422/485 AT QUAD RS422/485 AT OPTO DUAL RS422/485 MODEMS IEEE488 CARDS PC IEEE PC ELITE PRO488 SO