background image

RS-422/485 Connections/Operation 

34 

Chapter 8 

Document Number 3PCI-0712m 

 

Figure 17.  Setting RTS Control for RS-485  

The RS-485 mode is set by configuring the DIP switch setting on the MIport card and by 
selecting 

RS-485 Mode

 under 

RTS Control

 in the Advanced COM port settings dialog 

box. 

Note: For more information on COM port settings refer to Chapter 2 
and Chapter 5 

RS-485 Termination Resistors 

In some applications termination resistors must be connected across the 
communications line to ensure reliable communications. Termination resistors absorb 
signal reflections that can occur when a data signal reaches the end of a transmission 
line and encounters an impedance higher than that of the transmission line itself. 
Typically termination resistors are not required for communications links that operate at 
less that 19.2 kbps. At higher bit rates a termination resistor of 120 ohms may be 
required. Termination resistors should be connected across the communications line at 
the extreme opposite ends of the network. 

Through hole pads are provided on MIport cards to install termination resistors. When 
adding termination resistors the value of biasing resistors must be appropriately sized 
as well. 

RS-485 Network Biasing 

Unlike RS-422, where the transmitter holds the TDB(+) line high and the TDA(-) line low 
(in the idle, or Mark state) when not transmitting data, in a RS-485 network, the 
transmitter tri-states to a high impedance state when not sending data.  

Содержание 3PCIOU1

Страница 1: ...al l C Ca ar rd ds s R RS S 2 23 32 2 R RS S 4 42 22 2 R RS S 4 48 85 5 M Mo od de el ls s 3 3P PC CI IU U2 2 3 3P PC CI IU U4 4 3 3P PC CI IU U8 8 N No on n I Is so ol la at te ed d a an nd d M Mo o...

Страница 2: ...n Road Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Website www bb elec com European Headquarters B B Electronics Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 79...

Страница 3: ...efore inserting the card 2010 B B Electronics No part of this publication may be reproduced or transmitted in any form or by any means electronic or mechanical including photography recording or any i...

Страница 4: ...Setting the DIP Switches on RS 422 485 Only Ports 8 INSTALLING THE SERIAL CARD 10 CHAPTER 3 DRIVER SOFTWARE INSTALLATION 11 INSTALLING WINDOWS 7 DRIVER SOFTWARE 11 INSTALLING WINDOWS XP DRIVER SOFTWA...

Страница 5: ...2 OPERATION 32 RS 422 Limitations 33 RS 485 OPERATION 33 Send Data Control 33 RS 485 TERMINATION RESISTORS 34 RS 485 NETWORK BIASING 34 2 WIRE RS 485 CONNECTIONS 36 2 Wire RS 485 Mode 36 4 WIRE RS 422...

Страница 6: ...m DIP Switch 1 RS 422 485 only 5 DIP Switch 2 RS 422 485 only 6 APPENDIX B CONNECTOR PINOUTS 1 RS 232 PINOUTS 1 RS 422 485 PINOUTS 2 APPENDIX C TROUBLESHOOTING WITH COMTEST 5 COMTEST FEATURES 5 INSTAL...

Страница 7: ...available Isolated models available in 1 2 or 4 ports Non isolated models available in 2 4 or 8 ports 4 and 8 port models include fanout cables Plug Play compatible Windows sets addresses and IRQ used...

Страница 8: ...and Features Model Number Ports Interface Connectors 3PCIOU1 1 RS 232 422 485 DB 9 male 3PCIOU2 2 RS 232 422 485 DB 9 male 3PCIOU4 4 2 RS 232 422 485 ports 2 RS 422 485 ports 2 x DB 9 male 2 x DB 9 m...

Страница 9: ...er Ports Interface Connectors 3PCIU2 2 RS 232 422 485 2 x DB 9 male 3PCIU4 4 RS 232 422 485 DB 37 female plus DB 37 to 4x DB 9 male cable 3PCIU8 8 4 RS 232 422 485 ports 4 RS 232 ports DB 78 female pl...

Страница 10: ...imum on all lines Ports are isolated from the PC power and ground as well as other ports on the same card Connectors 3PCIOU1 1 DB 9 male 3PCIOU2 2 DB 9 male 3PCIOU4 2 DB 9 male RS 232 422 485 ports 2...

Страница 11: ...ndard ESD precautions outlined below CAUTION This is an Electrostatic Sensitive Device Use ESD precautions for safe handling Before removing the card from the anti static protective packaging Discharg...

Страница 12: ...signage television studio satellite dish control performance lighting and audio equipment control RS 485 Mode In RS 485 Mode MIport cards provide RS 485 interfaces which operate with the same signals...

Страница 13: ...32 422 485 Ports Set the DIP switches to configure the desired operating mode as follows 422 485 TX On RX On 232 TX SD RX SD Switch 1 Switch 2 Switch 3 RS 232 Mode 422 485 TX On RX On 232 TX SD RX SD...

Страница 14: ...uously enabled allowing it to receive all data on the communications line Since the transmitter sends data on the other wire pair the port does not receive its own transmissions Placing the bottom DIP...

Страница 15: ...tions line to transmit without interference DIP Switch 2 RS 422 485 only The bottom DIP switch 2 configures the port for half duplex two wire RS 485 operation or full duplex four wire RS 422 RS 485 op...

Страница 16: ...y to set the configuration DIP switches Remove AC power from the computer before inserting the card 1 Shut down your computer 2 Unplug the power cord to remove power to prevent accidentally turning on...

Страница 17: ...stall 7 Windows successfully updated driver software will be displayed Select close 8 In device manager the MIPort Card will be listed under Multiport Serial Adapter Additional COM Ports will be liste...

Страница 18: ...izard will proceed to install the software for the card The following dialog box will appear 7 To begin the installation of the software for the PCI card click Install the software automatically Click...

Страница 19: ...rt Control Panel System and Maintenance Device Manager 2 In the Device Manager click Multi port serial adapters All serial adapter cards should appear in the list Additional information about the card...

Страница 20: ...le click the name of the port to be configured 2 On the Port Properties dialog click the Port Settings tab The dialog will display the current settings for Bits per second Data bits Parity Stop bits a...

Страница 21: ...the throughput of the data Typically this parameter is set at zero and usually does not have to be changed The Receive buffer Low parameter in the Advance Port Settings dialog allows you to set the va...

Страница 22: ...ts receive buffer has reached the point at which it asks the computer to transfer the data to program memory When this point is reached the UART de asserts the RTS hardware handshake line which is con...

Страница 23: ...ing the COM Port Name Number 2 After selecting a new COM name number Click OK then click OK again on the Settings page After returning to the Device Manager screen it should refresh automatically The...

Страница 24: ...to the terminal This step is only required if there is a problem installing the driver username computer script t 2 MIport time a MIport script Script started on Tue 31 Aug 2010 03 56 11 AM CDT 4 Extr...

Страница 25: ...D home username MIport 3 0 0 make C lib modules 2 6 32 24 generic build M home username MIport 3 0 0 modules_install make 1 Entering directory usr src linux headers 2 6 32 24 generic INSTALL home user...

Страница 26: ...al communications using gtkterm Change the serial port under Configration Ports and set the port to dev ttyM0 for each serial port increment the number at the end of the name e g dev ttyM1 username co...

Страница 27: ...ng package lists Done Building dependency tree Reading state information Done The following extra packages will be installed binutils gcc 4 4 libc bin libc dev bin libc6 libc6 dev libgomp1 linux libc...

Страница 28: ...ate correctly 7 Insert the CD ROM into the CD ROM drive and mount the CD ROM username computer sudo mount t iso9660 r dev cdrom media cdrom 8 Check that the CD ROM was mounted username computer ls med...

Страница 29: ...ng directory usr src linux headers 2 6 32 24 generic 13 Determine the present working directory The output may be different than shown below username computer pwd home username MIport 3 0 0 14 Install...

Страница 30: ...the MIport driver is not running username computer dmesg grep MIport 271 828182 B B Electronics PCI MIport serial driver Revision 4 5 314 159265 MIport 0000 07 05 05 0 PCI INT A GSI 26 level low IRQ 2...

Страница 31: ...r under Ports COM LPT right click the COM port to be uninstalled 2 On the Confirm Device Removal dialog that appears click OK 3 After a few seconds the dialog will disappear In the Device Manager the...

Страница 32: ...hapter 6 Document Number 3PCI 0712m Figure 10 Finding the INF files in Windows Explorer To find these files you may need to set your Views under My Computer to show all files and folders if the INF di...

Страница 33: ...er 3PCI 0712m Chapter 6 27 Figure 11 Setting the Folder Options to Display Hidden Files 3 Delete the oemx inf and oemx pnf files found in Step 2 CAUTION Be careful to delete only the files associated...

Страница 34: ...devices RS 232 Signal Designations and DB 9 Pinout RS 232 Mode supports eight single ended signal lines and signal ground The DB 9 male connector is configured as a standard RS 232 DTE serial port The...

Страница 35: ...CE There are two types of RS 232 ports DTE Data Terminal Equipment which is typically a computer DCE Data Communications Equipment which is typically a modem Data Terminal Equipment DTE When a DTE is...

Страница 36: ...software may require connections to verify that a cable is connected and the devices are ready for access typically DTR DSR is used Some devices may use software handshaking in which data characters...

Страница 37: ...sh control performance lighting and audio equipment control RS 485 operates with the same signals and signal levels as RS 422 but differs in that it allows multiple devices to share the same communica...

Страница 38: ...ivity is rated at 200mV A separate signal ground common connection provides a common mode reference for the transmitter and receiver and is often used to ground a shield in the cable These factors pro...

Страница 39: ...some of the limitations of RS 422 allowing multidrop communications using 2 wire and 4 wire connections from multiple transmitters and receivers To accomplish multidrop operation the transmit driver...

Страница 40: ...ransmission line and encounters an impedance higher than that of the transmission line itself Typically termination resistors are not required for communications links that operate at less that 19 2 k...

Страница 41: ...detected and one or more devices may not respond to commands or may operate intermittently Figure 18 RS 485 Biasing Resistors MIport RS 485 receivers come pre biased from the factory with a 4 7 k pull...

Страница 42: ...tions 2 Wire RS 485 Mode Your cables must bridge pins 1 3 and pins 2 9 in order to receive and transmit Connect from Pin 2 to Data B of your devices and from pin 3 to Data A of your devices Make sure...

Страница 43: ...the computer to RD B on the device 2 Connect the TD A pin 3 on the computer to RD A on the device 3 Connect the RD B pin 9 on the computer to TD B on the device 4 Connect the RD A pin 1 on the comput...

Страница 44: ...85 Connection In a 4 wire RS 485 system each receive line connects to the same receive terminal on all slaves and each transmit line connects to the same transmit terminal on all slaves The master to...

Страница 45: ...ons RS 232 422 485 Operation 1 Ensure that you have set up your card for the correct mode of operation RS 232 RS 422 RS 485 2 wire or 4 wire using the DIP switches on the card and Advanced Port Settin...

Страница 46: ...port card separate from the rest of your communications system Note Refer to Appendix C for information on how to install and use ComTest 1 A loopback connection for RS 232 connects the Transmit outpu...

Страница 47: ...ode the input lines CTS DSR DCD RI are not pulled high 4 Some manufacturers label their data connections for A and B reverse of the standard for RS 422 or RS 485 so that the A line is and B line is in...

Страница 48: ...P Switch 1 RS 232 422 485 ports The top DIP switch 1 configures the port for RS 232 or RS 422 485 operation This switch is the only one that is required to be set for RS 232 operation The positions of...

Страница 49: ...nsmitter is sending preventing the port from receiving its own data Setting the DIP Switches on RS 422 485 Only Ports The 3PCIOU4 MIport card provides a combination of RS 232 422 485 and RS 422 485 on...

Страница 50: ...h in the RX ON position configures the port for four wire operation In this mode the port s receiver is continuously enabled allowing it to receive all data on the communications line Since the port s...

Страница 51: ...nput 2 TD Transmit Data Output 3 DTR Data Terminal Ready Output 4 GND Signal Ground 5 DSR Data Set Ready Input 6 RTS Request to Send Output 7 CTS Clear to Send Input 8 RI Ring Indicator Input 9 Figure...

Страница 52: ...st jumper TDA to RDA and TDB to RDB Connect from TDA and TDB to the Data A and Data B wires of your RS 485 network Note Refer to Chapter 2 for example connections Note that the EIA RS 422 Specificatio...

Страница 53: ...Connector Pinouts Document Number 3PCI 0712m Appendix B B 1 Figure 31 2 Wire RS 485 Wiring...

Страница 54: ......

Страница 55: ...Windows 98 2000 2003 Server XP Vista COM1 COM8 or above Dual Windows show typed transmit characters in a separate window from received characters Transmit Receive Activity Indicators Unprintable Char...

Страница 56: ...up exe to install ComTest on your program menu under B B Electronics Loopback Testing with ComTest To familiarize yourself with the operation of ComTest connect a loopback plug to a COM port on your P...

Страница 57: ...n settings 6 Type characters They will appear in the upper window If you are performing a loopback test you should see the characters appear in the lower window as they are received 7 On the Option me...

Отзывы: