Weidmuller
  1. Companies & Suppliers
  2. Weidmuller
  3. Downloads
  4. Signal Interface Products 991635 - ...

Signal Interface Products 991635 - RS232/RS485 - Instructions Brochure

Note: VOLTAGE LEVEL CONVERTER ONLY, INDEPENDENT OF PROTOCOL. Module Functionality: The unit is factory configured to interface to a standard IBM PC RS232 9 pin port with a “straight through” cable. The unit only uses 2 or 3 lines (plus ground) of the RS232 interface. Rx and Tx are always used. It is possible to permanently drive the RS485 transmitter (used in full duplex mode) or to allow a transmitted character to force the transmitter to be enabled and allow the reversion to a high impedance output after a fixed period (See RS485 Transmitter Enable). Some RS232 ports require the CTS and/or the DSR lines to be enabled. The RS232/485 converter provides 2 pull up resistors to 10V to allow this. For full duplex operation the transmit line pair is A1/B1 and the receive line is A2/B2. For half duplex operation the active line pair is A1/B1. Termination Resistors (supplied already installed) R18 is the termination resistor for A2/B2 - the receive line pair for full duplex communication R19 is the termination resistor for A1/B1 - the transmit line pair for full duplex communication, and the line pair used for half duplex communication. The units use SFR16J resistors and are supplied with 120 ohm resistors. If the unit is not at either end of a line termination then the resistors should be removed. Ground Reference Resistors (supplied already installed) In order to allow RS485 communications across multiple units without violating the common mode voltage restrictions of the RS485 drivers each unit needs to be referred to the same ground. (Refer to application note RS-485: A Primer.*) The line pair A1/B1 shield S1 is referenced to ground through a 100 ohm MRS25F resistor, R11. R11 is mounted internally on sockets and may be removed if so desired. The line pair A2/B2 shield S2 is referenced to ground through a 100 ohm MRS25F resistor, R14. R14 is mounted internally on sockets and may be removed if so desired. *Available on request by email from techsupport@weidmuller.ca or visit www.weidmuller.ca ? Products ? Signal Interface Products ? Application Notes. Failsafe Resistors (not supplied) Although the receivers on the RS232/485 Converter are failsafe, additional failsafe resistors (SFR16J) may be installed on sockets internal to the unit. Line pair A1/B1 has a pull up resistor R13 and a pull down resistor R12. Line pair A2/B2 has a pull up resistor R16 and a pull down resistor R15. 1Failsafe Operation and the 991635/991676/991677 When an input on the RS485 line is not connected to a low impedance source (all the drivers on the line are in high impedance or not connected) the floating signal may induce a spurious signal on the RS232 side of RS485 receiver which may in turn lead to spurious interrupts and erroneous messages received by the UART. Failsafe operation in RS485 means that the inputs have resistor biasing to prevent this condition. The devices used on the above Weidmuller products all include integral biasing resistors of a approximately 100K. Use of a termination resistor may defeat the inherent failsafe biasing. The user has two options: Remove the termination resistors which may not be required at lower transmission frequencies and shorter lengths or installation of additional failsafe resistors in locations internal to the above units. It is possible to install these failsafe resistors in each module, but the number of modules on a network will affect the resistor value (since they are all in parallel) and it becomes tedious to install all the resistors. Since each module has default failsafe affected only by the termination resistor, if the module with the termination resistor is removed from the circuit this internal failsafe would come into operation. It is intuitive that the additional failsafe resistors should be included only in the two units with line termination resistors. The calculation of the values for the resistors is based on maintaining 200mV across the line termination resistor. The network consists of a resistor (R13 or R16) to 5V connected to the “A” input of the RS485 and to one end of the line termination resistor. The other side of the line termination resistor is connected to the “B” input of the RS485 input and to a pull-down resistor (R12 or R15) to ground. These resistors are installed internal to the Weidmuller units and are mounted in resistor sockets. The voltage across a 120ohm line termination resistor is given by (120 * 5)/(2R+120) where R is the value of the pull-up or pull-down resistors, assuming identical values for the pull-up and pull-down resistors. This must be greater than 200mV (120*5)/(2R+120) > 0.2 600> 0.4R+24 1440>R The lower the value of R, the greater the noise immunity, but the higher the current drawn by the system. The nearest standard value is 1K2. Since there are 2 resistors in parallel the effective value under normal circumstances is 600 ohms. The user should install SFR16J 1K2 resistors in locations R12 and R13 for half-duplex operations and in R12, R13, R15 and R16 for full duplex operations. The user is required to remove a side plate of the module housing to access these locations. 2Note: To determine proper jumper settings, user must refer to the p t for the RS232 cable being used in conjunction with the pin out of the RS232 device. Once that i one, the relevant settings may be mad y matching the PIN outs or flow of data using Tables 1 & 5. Jumper Settings & Functions Jumper # Position 1-2 Position 2-3 Removed NoJ1 RS-485 transmitter always ON / Full Duplex Auto Enable RS-485transmitter / Half DuplJ2 Host DTR Enables RS-485 transmitter / Half Duplex Host RTS Enables RS-4transmitter / Half Duplex J3 Data out of module through PIN 2 Data out of module through PIN 3 J4 Data In module through PIN 3 Data In module througPIN 2 J5 Host DTR controls RS-485 transmitter through module PIN 4 Host DTR controls RS485 transmitter througPIN 6 J6 Host DSR Enabled from module PIN 6 Host DSR Enabled fromodule PIN 4 J7 Host RTS controls RS-485 transmitter through PIN 7 Host RTS controls RS485 transmitter througPIN 8 J8 Host CTS Enabled from module PIN 8 Host CTS Enabled fromodule PIN 7 J9 Echo Disabled (Half Duplex) Full Duplex J10 Full Duplex Half Duplex Table 1 PIN X (on DB9 Connect RS-485 Configurations Full Duplex i.e. Transmitter always enabled. Jumper # Location J10 1-2 J9 2-3 J1 1-2 J2 Removed J5 Removed J7 Removed Table 2 in ous d ex RS-485 transmitter controlled by DTR or RTS / Half Duplex See table more 85 RS-485 transmitter auto enable or Full Duplex See table more Not Allowed See table 5infh Not Allowed See table 5inf-h Non DTR controlled / Full Duplex See table more m Host DSR not Enabled See table 5inf-h Non RTS controlled / Full Duplex See table more m Host CTS not Enabled See table 5infEcho Enabled (Half Duplex) See table more Not Allowed See table more or) S1+A1+A2S2-B2-B1 Fig 1. Data Flow in Full Duplex opere b2 & 3 for info. 2 & 3 for info. for more o for more o. 2 & 3 for info. for more o. 2 &3 for info. for more o. 2 & 4 for info. 2 & 4 for info. -B2S2+A2-B1S1+A1ation 3tes Half Duplex Jumper # RS-485 transmitter Auto enable Baud rate R20 Value 1200 1.2M 2400 640K 4800 320K 9600 (default) 174K 200 80K 5200 40K RS-485 Transmitter controlled by Host’s DTR through WTL Pin 4 RS-485 Transmitter controlled by Host’s DTR through WTL Pin 6 RS-485 Transmitter controlled by Host’s RTS through WTL Pin 7 RS-485 Transmitter controlled by Host’s RTS through WTL Pin 8 J1 2-3 Removed R oved Removed Removed J2 Removed 1-2 2-3 2-3 J5 J7 Table 3 Jumper # J10 J9 Table 4 Removed 1-2 Removed Removed R Location 2-3 Echo Enable Echo Disable Removed 1-2 +A1 S1 Fig.2 Information Flow for Half Duplex operation -B1 1-21191em2-3 Removed Removed emoved 1-2 2-3 +A1S1-B14RS-232 Configurations All references are to the DB9 connector on the Weidmuller module. PIN functions are determined by the flow of data on PINs 2 & 3 on the Weidmuller RS232 module. Description Information Flow Pin # Pin # Comments Jumper settings J3/1-2 J4/1-2 Jumper settings J3/2-3 J4/2-3 1 1 Not Used From RS-485 to RS-232 Data out of module (Tx) 2 3 From RS-232 to RS-485 Data into module (Rx) 3 2 Control of RS-485 transmitter by Host Control Data into module (DTR) 4 6 See half duplex RS-485 configuration GND 5 5 Host Control Control Data out of module 6 DSR Enabled DSR Not Enabled J6/1-2 J6 removed 4 DSR Enabled DSR Not Enabled J6/2-3 J6 removed When Host requires DSR enabled (otherwise remove) Control of RS-485 transmitter by Host Control Data into module (RTS) 7 8 See half duplex RS-485 configuration Host Control Control Data out of module 8 CTS Enabled CTS Not Enabled J8/1-2 J8 removed 7 CTS Enabled CTS Not Enabled J8/2-3 J8 removed When Host requires CTS enabled (otherwise remove) 9 9 Not used Table 5 Default Settings: J2 to J8 /1-2 (IBM PC with direct connection cable) DTR enabled, DSR and CTS enabled with pull up resistor. J9/2-3 Full Duplex J10/1-2 Full Duplex 5 6 7 Specifications subject to change without notice. 99990165 01/03 Printed in Canada 8 Termination Resistors (supplied already installed) Ground Reference Resistors (supplied already installed) Failsafe Resistors (not supplied) Failsafe Operation and the 991635/991676/991677 RS-485 Configurations Full Duplex Half Duplex Table 4 Jumper settings Jumper settings
Most popular related searches