Contents Introduction Guarantee..1 Copyright... 1 BRAIN BOXES Limited..1 ACKNOWLEDGEMENTS... 1 Chapter 1 Serial Solutions Serial Solutions For DOS..2 Serial Solutions For Windows 3.x... 3 Serial Solutions For Windows 9x... 4 Serial Solutions For Windows NT..4 Serial Solutions for Windows 2000...
Page 3
Deleting Ports in Windows..21 Chapter 6 Windows 95 Software Configuration Introduction ... 22 Card Settings ... 24 Port Settings... 26 Serial Solutions Port Settings ... 29 Chapter 7 Windows 98/Millenium Installation. Checking the Installation... 33 Card Settings ... 34 Port Settings...
IBM, COMPAQ, Hewlett Packard, H.P. and EPSON are trademarks of the relevant companies. OS/2 and Microchannel Architecture are trademarks of IBM. Windows is a trademark of Microsoft. PCI Quad 422/485 Card 0151-220 2500 0151-252 0446 help@brainboxes.com /sales@brainboxes.com www.brainboxes.com Introduction x 1...
Chapter 1 Serial Solutions This chapter is a brief description of the Serial Solutions software package; this can also be purchased SEPARATELY and is available from YOUR DEALER. 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.
The EASY disk contains short, simple to understand and use EASYBAS, EASYC and ASYPAS programs, providing straight forward, file type I/O to serial ports with debug information. Use these FIRST, base your sample applications on them. Source code, make files and compiled ready to run programs supplied.
Serial Solutions For Windows 9x. Windows 95 has an improved communication API and directly supports up to 255 ports. Our Windows 95 driver supports the shared interrupt mechanism used on our multiport cards. Serial Solutions for Windows 95 consists of the following programs: - PCI.inf The information files to aid the...
SsPort.sys The driver, which gets COM ports going. SsPar.sys The driver for Parallel ports SsCard.dll A Dynamic Link Library, which provides a user interface to configure cards and their ports under Device Manager / Multi-port serial adapters SsCard.hlp The help file for the SsCard.dll user interface. Complete Documentation and Technical Backup.
Chapter 2 Hardware Configration Introduction This chapter details the specifications of the PCI quad opto RS422/485 card 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.
Autogating. Multitasking operating systems, like Windows 95, Windows NT, OS/2 and UNIX, cannot successfully use the RTS line to control the gating of the PC’s transmitter. Whilst they can set the RTS line true just before the data transmission starts, they cannot set the RTS line false quickly enough after the data has gone.
37 Way D Connector Configuring the Card. PCI cards require no hardware configuration for IRQ and address allocation - this is done automatically at start up by the PC. However, the PCI quad opto RS422/485 has four sets of jumpers for configuration of RS485 multiplex modes for each port, how to configure these jumpers is shown below.
Page 12
Where: TX/RX1+ and TX/RX1- control port 1 RS485 multiplexing. TX/RX2+ and TX/RX2- control port 2 RS485 multiplexing. TX/RX3+ and TX/RX3- control port 3 RS485 multiplexing. TX/RX4+ and TX/RX4- control port 4 RS485 multiplexing. Full Duplex Settings(port 1). Both jumpers left unconnected (not shorted). Half Duplex Settings(port 1).
Optical Isolation PCI Quad 422/485 Card For further details on the RS422 and RS485 standard, pinouts, half duplex and full duplex RS485 systems, wiring diagrams and optional grounding diagrams refer to Chapter 10 - "Optional RS422/485 Operation." The PCI Quad OPTO RS422/485has optical isolation circuitry on board that allows protection of:- 1500 Volts DC ! 1000 Volts AC...
Chapter 3 Installing the Card NOTE: Always turn the computer OFF before installing or removing any interface board! STEP 1:Remove Cover Mounting Screws. Then using a screwdriver, remove the cover mounting screws on the back panel of the PC system unit. STEP 2:Remove The PC Cover.
STEP 3: Remove the Blanking Cover. Choose an empty expansion slot. This Card will fit into one of the white PCI slots on your motherboad. Remove the blanking cover protecting the slot on the PC back panel. KEEP the blanking cover screw safely for later. STEP 4: Insert The Card.
Chapter 4 DOS Software Configration Introduction. This section contains the installation procedures of the PCI Quad Opto RS422/485 card, with the DOS, Windows 3.x Windows 95, Windows 98/Millennium, Windows NT and Windows 2000 operating systems. The setup procedures in this chapter assume that your PC has only one serial port present.
specifies the COM port(s). Range may be a single port OR a range of ports. /B number buffer is used to set the number of pairs of buffers to be allocated to ports and is a decimal number in the range 1-maxport. /S buffer Set size of all buffers in bytes, buffer is rounded to the nearest power of 2 and must be a decimal number in the range 32 to 32768.
previous. i.e. if COM5 has an address of 0140h, then COM6 will have an address of 0148h, COM7 an address of 0150h etc. IRQ, Range. /I 11,5 11 is the IRQ and since the COM port is COM5 is entered 5. Number Buffer.
Chapter 5 Windows 3.x Software Configuration. Introduction 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. Whenever certain values have been entered or changed in the hardware settings window, a message prompting to restart Windows will appear.
Click OK, the Setup Program Main Screen is displayed: By default, all component options will be installed, selecting the "Del All" button will select all installed components for deletion and "Add All" chooses all uninstalled components for installation; options may not be changed when the components are installed.
Page 22
The following dialogue will be displayed: 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.
Configuring The COM Ports. From the COM Ports window choose the port that you wish to configure and click on Settings - the following dialogue will be displayed: Note: A port that has been added has the default values of: Baud Rate: Data Bits: Parity:...
Deleting Ports in Windows. The Delete button can be used to discard the entries of ports that have been removed from the system. Note. Never try to leave out a serial port number when using the delete button, because Windows may automatically shift serial port numbers which results in a mis-match of settings in the Serial Ports Applet (COM1-COM4 only).
Chapter 6 Windows 95 Software Configuration Introduction To obtain a trouble free mix-and-match of the COM ports: Switch off your computer, insert your PCI RS422/485 card into a free PCI slot, as described in Chapter 3, and switch your computer on again. During the booting process, Windows 95 will detect the PCI Quad Opto RS422/485, but will display it simply as a "PCI CARD", and you will briefly see a message box to this effect.
Page 26
In the location space type <drive>:\diskimg\sswin9x where drive is the appropriate letter for your CDROM drive Click OK The screen shot above shows that the Update Device Driver Wizard has found a suitable driver and the location of that driver. Click Finish Click OK In the copy files from space type <drive>:\diskimg\sswin9x where drive is...
After copying the file, Windows 95 will then detect each of the serial ports in turn and install them as communications ports. Using the right-hand mouse button click on the My Computer icon on your desktop. Click on Properties. Select on the Device Manager tab When the Device Manager is viewed the PCI Quad Opto R422/485 card will appear under the Multi-function adapters branch.
Page 28
Click on the Device Manager tab Select the PCI Quad Opto RS422/485 card from the Multi-Function Adapter entry in Device Manager serial and click on properties to view the cards general properties. Click on the Serial Solutions tab Solutions tab produces. Chapter 6 Windows 95 Software Configuration x 25 PCI Quad 422/485 Card...
In this window, the COM port assignment may be changed, simply by selecting a new COM port value from the pull down menu relevant to the port. However, COM port usage other than those for the PCI Quad Opto RS422/485 card itself are not checked, so it is advisable to first check which COM ports are in use - port availability can be checked by viewing the Device Manager: All COM ports present will be listed under the entry "Ports (COM &...
Page 30
Click on the Device Manager tab Double clicking on a 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: Chapter 6 Windows 95 Software Configuration x 27 PCI Quad 422/485 Card...
Page 31
Selectable Baud Rates PCI Quad 422/485 Card Settings available in this window are: Baud Rate* - determines the baud rate at which the selected port operates, the maximum value available is dependant upon the Maximum Baud Rate Setting (see below.) Data Bits.* Parity.* Stop Bits.*...
Data Bits: Parity: Stop Bits: Flow Control: Maximum Baud Rate Setting: Serial Solutions Port Settings Clicking on the Serial Solutions tab will display: Settings available in this window are: 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.
Page 33
configuration, as described in the section "RS485 Multiplex Jumper Settings" in Chapter 2, to ensure accurate and error free data transmission. CTS Hold 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.
Chapter 7 Windows 98/Millenium Installation. To obtain a trouble free mix-and-match of the COM ports: Switch off your computer, insert your PCI RS422/485 card into a free PCI slot, as described in , and switch your computer on again. During the booting process, Windows 98 will detect the PCI Quad Opto RS422/485, but will display it simply as a "PCI CARD", and you will briefly see a message box to this effect.
Page 35
Click Specify a location In the location space type <drive>:\diskimg\sswin9x where drive is the appropriate letter for your CDROM drive Click Next Click Next Click Finish After copying the file, Windows 95 will then detect each of the serial ports in turn and install them as communications ports.
Checking the Installation Using the right-hand mouse button click on the My Computer icon on your desktop. Click on Properties. Click on the Device Manager tab Chapter 7 Windows 98/Millenium Installation. x 33 PCI Quad 422/485 Card...
When the "Device Manager" is viewed the PCI Quad Opto R422/485 card will appear under the "Multi-function adapters" branch. Also, four RS485 Ports will appear under the "Ports (COM & LPT) branch". For most users who have 4 or less COM ports the new ports will appear as COM5 to COM8 as pictured above, for users with more than 5 COM ports the new port will appear as the first available COM ports.
Page 38
Select the PCI Quad Opto RS422/485 card from the "Multi-Function Adapter" entry in Device Manager serial and click on properties to view the cards general properties. Click on the Serial Solutions tab Solutions tab produces. In this window, the COM port assignment may be changed, simply by selecting a new COM port value from the pull down menu relevant to the port.
The Maximum Baud Rate Setting for all ports on the card may also be set from this window. This settting will make the maximum baud rates of all the ports on this card equal to whatever is set. Individual ports may have their settings changed as shown in Port Settings Click Here for Port Settings Port Settings...
Page 40
Selecting the Port Settings tab produces: Settings available in this window are: Baud Rate* - determines the baud rate at which the selected port operates, the maximum value available is dependant upon the Maximum Baud Rate Setting (see below.) Data Bits.* Parity.* Stop Bits.* Flow Control*...
Page 41
Note: Many serial comms applications will not actually register the ports as running at baud rates of above 115200. Restore Defaults - when clicked, resets the selected COM port to the following values: Baud Rate: Data Bits: Parity: Stop Bits: Flow Control: Maximum Baud Rate Setting: Clicking on the Serial Solutions tab will display:...
Page 42
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.
Chapter 8 Windows NT 4.0 Installation. Introduction 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.
the necessary files and start itself. This automatically detects your new PCI serial card(s) and does not require any further system restarting. Examining Card Configuration. Go to Control Panel (Start/Settings/Control Panel) double click on Serial Solutions PCI Card Setup You will be presented with a Serial Solutions PCI Port Configuration window: PCI Quad 422/485 Card Chapter 8 Windows NT 4.0 Installation.
To view the settings of a port, select it and click on settings. Configuring Ports. Select the resources tab: Settings available in this window are: Settings available in this window are: 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.
*Dependent upon device being used. Advanced - see the section below, titled "Advanced Port Settings." Restore Defaults - when clicked, resets the selected COM port to the following values: Baud Rate: Data Bits: Parity: Stop Bits: Flow Control: Advanced Port Settings. When the Advanced button of Port Settings is selected the following dialogue is displayed: Settings available in this window are:...
configuration, as described in the section "RS485 Multiplex Jumper Settings." in Chapter 2, to ensure accurate and error free data transmission. 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.
Chapter 9 Windows 2000 Installation Software Installation After inserting the PCI card into an available slot and reconnecting all cables power up your machine. The screen shot shown below will appear briefly on your screen. Insert the Serial Solutions CD ROM into an appropriate drive and click ’Next’. PCI Quad 422/485 Card Chapter 9 Windows 2000 Installation x 45...
Page 49
Select Search for a suitable driver for my device Click Next Select Specify a location Click Next In the box under Copy manufacturers files from: type <CDROM Drive>:\diskimg\sswin2k where <CDROM Drive> is the letter of the drive into which you inserted the driver CD ROM. Eg. D:\diskimg\sswin2k Chapter 9 Windows 2000 Installation x 46 PCI Quad 422/485 Card...
Click Next Click Yes Click Finish The system will then detect the ports briefly showing the above screen shot. Checking your Installation Using the secondary(Right) mouse button click on the My Computer icon on your desktop. Chapter 9 Windows 2000 Installation x 47 PCI Quad 422/485 Card...
Page 51
Click Properties Select the Hardware tab Click Device Manager Double Clicking on the Multi-port serial adapters label will display the name of any installed cards. Double Clicking on the Ports(COM & LPT) label will display all installed Ports. Chapter 9 Windows 2000 Installation x 48 PCI Quad 422/485 Card...
Chapter 10 Optional 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 and RS485 lines should be terminated at the end of the main branch of the RECEIVER, in the cables characteristic impedance. These terminating impedance’s stop echoes caused by the serial data being reflected back at the cable ends. It is not necessary to terminate the transmitter end of the twisted pair.
its characteristic impedance. Serial Port 1 To Other PC Cable. SERIAL PORT 1 Side 9 Pin Female D Connector Note: Receiver ends terminated in characteristic impedance ONBOARD resistor networks. USE BELDEN TYPE 9729 etc. see above. RS485 Gating & Multiplex Jumpers as Factory Set. RS485 Operation.
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.
TXD1- Note: BOTH ends of MAIN line terminated in characteristic impedance, stubs off main line not impedance, since both ends receive. The twisted pair ends are wired to both RXD+ & TXD+ and RXD- & TXD- at each RS485 device! RS485 Many Talkers- Many Listeners, Full Duplex.
Note: The receiver end of MAIN line terminated in characteristic impedance, stubs off the main not terminated. Optional Grounding Arrangements. Proper operation of the cable circuit, according to TIA EIA: that the cable ground shield is not connected directly to the equipment ground shield. A current limiting resistor should be used in series with the shield to avoid possible large current flow due to differences in ground potential.