Herunterladen Inhalt Inhalt Diese Seite drucken

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Handbuch
RS232 Multi Computer Adapter
RS232/RS422/RS485 Multi Computer Adapter
W&T
Typ
Modell
Release
RS232(/RS422/RS485)
Multi Computer Adapter
#85603, #85604
DE 1.6 12/2009 PA

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltszusammenfassung für W&T Electronics 85603, 85604

  • Seite 1 Handbuch RS232 Multi Computer Adapter RS232/RS422/RS485 Multi Computer Adapter RS232(/RS422/RS485) Multi Computer Adapter W&T Modell #85603, #85604 Release DE 1.6 12/2009 PA...
  • Seite 2 W&T © 12/2009, Wiesemann & Theis GmbH Irrtum und Änderung vorbehalten: Da wir Fehler machen können, darf keine unserer Aussagen ungeprüft verwendet werden. Bitte melden Sie uns alle Ihnen bekannt gewordenen Irrtümer oder Missverständlichkeiten, damit wir diese so schnell wie möglich erkennen und beseiti- gen können.
  • Seite 3 W&T Der auf den folgenden Seiten beschriebene W&T RS232 Multi C o m p u t e r A d a p t e r , e r l a u b t e i n e a u t o m a t i s c h gesteuerte, bidirektionale Verbindung zweier Datenquellen mit einem Peripheriegerät.
  • Seite 4: Inhaltsverzeichnis

    W&T Inhalt Überblick ................6 Spannungsversorgung ............6 Mechanik und Gehäuse ............7 Anschlussbelegung RS232 (#85603) ........7 Anschlussbelegung RS232/RS422/RS485 (#85604) ....9 Anzeige- und Bedien-Elemente ..........12 Konfiguration der seriellen Schnittstellen ......12 Serielles Format ..............13 Handshake-Verfahren ............13 Einstellung der DIL-Schalter ..........
  • Seite 5 W&T...
  • Seite 6: Überblick

    W&T RS232(/RS422/RS485) Multi Computer Adapter Überblick Der W&T Multi Computer Adapter ermöglicht die bidirektionale Verbindung zweier serieller Datenquellen mit einem Peripherie- gerät. Die automatische Umschaltung zwischen beiden Sendern erfolgt in einem zeitgesteuerten Betrieb: Der Datensender, der z u e r s t e t w a s a u s g e b e n möchte, blockiert automatisch die Ausgaben der anderen Quel-...
  • Seite 7: Mechanik Und Gehäuse

    W&T RS232(/RS422/RS485) Multi Computer Adapter Mechanik und Gehäuse Der Umschalter besitzt drei 9-polige serielle Schnittstellen und ist in ein 45mm breites Kunststoffgehäuse zur Montage des Ge- r ä t e s a u f N o r m s c h i e n e n n a c h D I N E N 5 0 0 2 2 - 3 5 integriert.
  • Seite 8: Rs232-Ausgang Port C Mit Dte-Belegung

    W&T RS232(/RS422/RS485) Multi Computer Adapter Das Pinout der einzelnen Schnittstellen können Sie den folgenden Tabellen entnehmen. RS232-Eingang Port A und B mit DCE-Belegung: Pin# Funktion Signal Richtung Freigabe-Pegel Ausgang Data out Ausgang Data In Eingang Handshake In Eingang Signalmasse Handshake Out Ausgang unbelegt Eingang...
  • Seite 9: Anschlussbelegung Rs232/Rs422/Rs485 (#85604)

    W&T RS232(/RS422/RS485) Multi Computer Adapter Anschlussbelegung RS232/RS422/RS485 (#85604) Der RS232-/RS422-/RS485-Anschluss der Module ist als 9-poliger SUB-D-Stecker ausgeführt. Die Belegung der Steckverb- inder können Sie den folgenden Tabellen entnehmen: RS232-Schnittstelle RS422/RS485-Schnittstelle Pin# Signal Funktion Pin# Signal Funktion Eingang TXD A Ausgang Eingang RxD A Eingang...
  • Seite 10 W&T RS232(/RS422/RS485) Multi Computer Adapter lediglich in der Art der Steuerung der RS485-Treiber- und Empfängerbausteine. RS485 4-Draht-Bus-Master In dieser Betriebsart sendet der Master über ein Aderpaar Requests an die Slaves, die auf einem weiteren, gemeinsamen Aderpaar ihre Antworten an den Master senden. Die RS485- Treiber und Empfänger sind in dieser Betriebsart, in der der Master jederzeit senden kann und permanent auf die Slaves hört, jederzeit aktiv.
  • Seite 11 W&T RS232(/RS422/RS485) Multi Computer Adapter Die Bedeutung des Betriebsart-DIL-Schalters entnehmen Sie bitte der folgenden Tabelle: Betriebsart RS232 RS422, RS485, 4-Draht Bus-Master, DTR-Handshake RS422, RS485, 4-Draht Bus-Master, RTS-Handshake RS485, 4-Draht / 2-Draht mit Echo DTR-Steuerung RS485, 2-Draht ohne Echo DTR-Steuerung RS485, 4-Draht / 2-Draht mit Echo RTS-Steuerung RS485, 2-Draht ohne Echo RTS-Steuerung...
  • Seite 12: Anzeige- Und Bedien-Elemente

    W&T RS232(/RS422/RS485) Multi Computer Adapter Durch Schließen der DIL-Schalter 6 und 7 auf dem Schnittstel- l e n - M o d u l w e r d e n d i e B u s a n s c h l ü s s e m i t d e m Widerstandsnetzwerk verbunden.
  • Seite 13: Serielles Format

    W&T RS232(/RS422/RS485) Multi Computer Adapter externen Konvertern. Fragen Sie Sonderversionen des Umschal- ters bei Bedarf bitte bei uns an. Die Einstellung der seriellen Parameter geschieht über drei DIL- Schalterbänke SW1..SW3 im Inneren des Gerätes. Die Position und Zuordnung der DIL-Schalterbänke zum jeweiligen Port können Sie der folgenden Skizze entnehmen: Port B Serielle Parameter...
  • Seite 14: Einstellung Der Dil-Schalter

    W&T RS232(/RS422/RS485) Multi Computer Adapter Wenn einer der internen Buffer des Umschalters fast vollstän- dig mit Daten gefüllt ist, so wird an der entsprechenden Schnittstelle ein XOFF-Code (13H) ausgegeben bzw. beim nächsten empfangenen Zeichen der Hardware-Handshake Ausgang auf 'Sperren' (negativer Pegel) gesetzt. Hat sich der Buffer wieder etwas geleert, so wird ein XON-Code (11H) ausgegeben bzw.
  • Seite 15: Betriebsarten

    W&T RS232(/RS422/RS485) Multi Computer Adapter Handshake Datenbits Hardware-Handshake 7 Datenbit Software-Handshake 8 Datenbit Parität Keine Parität Ungerade Parität Gerade Parität Baudrate 150 Baud 300 Baud 600 Baud 1200 Baud 2400 Baud 4800 Baud 9600 Baud 19200 Baud 38400 Baud 57600 Baud 64000 Baud 76800 Baud 115200 Baud...
  • Seite 16: Standardmodus

    W&T RS232(/RS422/RS485) Multi Computer Adapter Durch Betätigung der Taste unterhalb der LED A wird der Signalweg Port A <> Port C durchgeschaltet, während die Taste u n t e r h a l b d e r L E D B d e n P f a d P o r t B < > P o r t C aktiviert.
  • Seite 17: Splittermodus

    W&T RS232(/RS422/RS485) Multi Computer Adapter . Am zweiten Eingang wurden seit einer ebenfalls konfigurier- baren Timeout-Zeit keine Daten empfangen. Dieser Mechanismus verhindert, dass der Eingang mitten in einem Protokollblock aktiviert wird und somit ein bruchstück- hafter Datensatz den Empfänger erreicht. In dieser Betriebsart unterstützt der Multi Computer Adapter ausschließlich die beiden Datenleitungen RxD und TxD.
  • Seite 18: Einstellung Der Betriebsarten

    W&T RS232(/RS422/RS485) Multi Computer Adapter Einstellung der Betriebsarten Die Betriebsarten des Umschalters werden mit DIL-Schalterbank SW4 ausgewählt und parametriert. Die Funktion der einzelnen DIL-Schalter der Schalterbank SW4 entnehmen Sie bitte der folgenden Tabelle. Betriebsart Dump-Ausgabe Manueller Modus Port A Standardmodus Port B Transparentmodus Port C...
  • Seite 19: Einstellungs-Dump

    W&T RS232(/RS422/RS485) Multi Computer Adapter dem Einstellungs-Dump eine Funktion integriert, die bei der In- stallation sehr hilfreich sein kann. Einstellungs-Dump Als erster Test im Zuge der Inbetriebnahme kann der im Um- schalter integrierte Einstellungs-Dump dienen, bei dem der Um- schalter selbständig einen Text generiert, der alle programmier- ten Einstellungen des 85603 wiedergibt.
  • Seite 20 W&T RS232(/RS422/RS485) Multi Computer Adapter SW4.3 und SW4.4 eingestellten Port die folgende Ausgabe ge- neriert: 40,6000;;SI 0.2,0.3;DT LB RS232 MULTI COMPUTER ADAPTER, 0MBYTE LB VERSION 1.4 TRANSPARENT MODE (TIMEOUT MODE) LB PORT A: BAUD 9600 DATA PARITY HANDSHAKE HARD LB PORT B: BAUD 9600 DATA PARITY...
  • Seite 21: Anschluss-Beispiel

    W&T RS232(/RS422/RS485) Multi Computer Adapter Anschluss-Beispiel Verbindung 2 PC <> 1 Peripheriegerät mit Hardware- Handshake PC 1 PC 2 COM-Port COM-Port RS232 RS232 Port A Port B (DB9-Buchse) (DB9-Buchse) RS232 Multi Computer Adapter, #85603 Port C (DB9-Stecker) 2(3) 3(2) 5(8) 7(5) 20(4) DB25 (DB9)
  • Seite 22: Technische Daten

    W&T RS232(/RS422/RS485) Multi Computer Adapter Technische Daten Serielle Schnittstellen: #85603: 3 x RS232 (Port A u. B: Buchse, Port C: Stecker) #85604: 3 x RS232/422/485 (Port A, B u. C: Stecker) alle Ports unabhängig voneinander konfigurierbar Baudrate: 150 .. 115.200 Baud Datenformat: 7, 8 Datenbit, No, Even, Odd Parity Unterstützte Signale:...
  • Seite 23 Manual RS232 Multi Computer Adapter RS232/RS422/RS485 Multi Computer Adapter RS232(/RS422/RS485) Multi Computer Adapter W&T Modell #85603, #85604 Release US 1.6 12/2009 PA...
  • Seite 24 W&T © 12/2009, Wiesemann & Theis GmbH Subject to error and alteration: Since it is possible that we make mistakes, you mustn’t use any of our statements without verification. Please, inform us of any error or misunderstanding you come about, so we can identify and eliminate it as soon as possible.
  • Seite 25 W&T The W&T Multi Computer Adapter model permits automatically controlled, bi-directional connection of two data sources to one peripheral device. With this unit two PCs, a serial printer, a plotter, a portable scanner or a card reader for example can be shared without re- quiring manual intervention to switch them: automatic selec- tion is on the first come, first served principle.
  • Seite 26 W&T Contents Overview ................6 Supply voltage ..............6 Mechanical features and enclosure ........7 Wiring assignments RS232 (#85603) ........7 Wiring assignments RS232/RS422/RS485 (#85604) ....9 Display and control elements ..........12 Configuring the serial ports ..........12 Serial format ............... 13 Handshake procedure ............
  • Seite 27 W&T...
  • Seite 28: Overview

    W&T Overview T h e W & T M u l t i C o m p u t e r A d a p t e r p e r m i t s a bi-directional connection of two serial data sources to a peripheral device.
  • Seite 29: Mechanical Features And Enclosure

    W&T RS232(/RS422/RS485) Multi Computer Adapter Mechanical features and enclosure The Multi Computer Adapter comes with three 9-pin serial ports and is integrated into a 45mm wide plastic housing for mounting on standard rails conformal with DIN EN 50022-35. Clear Dump Port C Power Error Port A...
  • Seite 30 W&T RS232(/RS422/RS485) Multi Computer Adapter The pinout for the individual ports can be found in the follo- wing tables. RS232 input Port A and B with DCE pin functions: Pin# Function Signal Direction always "on" output data out output data in input handshake in input...
  • Seite 31: Wiring Assignments Rs232/Rs422/Rs485 (#85604)

    W&T RS232(/RS422/RS485) Multi Computer Adapter Wiring assignments RS232/RS422/RS485 (#85604) The RS232/RS422/RS485 connection for the modules is configured as a 9-pin male SUB-D connector. Refer to the follo- wing tables for connector pin assignments: RS232 interface RS422/RS485 interface pin# signal function pin# signal function...
  • Seite 32 W&T RS232(/RS422/RS485) Multi Computer Adapter master on an additional common conductor pair. The RS485 transceivers are always active in this mode, whereby the master can always send and is constantly listening for the slaves. RS485 4-wire mode with handshake control The RS485 driver chip is turned on with a TTL Low level on the „DTR“...
  • Seite 33 W&T RS232(/RS422/RS485) Multi Computer Adapter The DIL switch settings can be found in the following table: Operating mode RS232 RS422, RS485, 4-wire bus master DTR handshake RS422, RS485, 4-wire bus master RTS handshake RS485, 4-wire / 2-wire with echo DTR control RS485, 2-wire without echo DTR control RS485, 4-wire / 2-wire with echo...
  • Seite 34: Display And Control Elements

    W&T RS232(/RS422/RS485) Multi Computer Adapter Display and control elements The device uses four LEDs, a green „Power“ for indicating correct supply voltage and the LEDs marked „A“ and „B“ to indi- cate which input channel is active. The LED marked „Error“ indicates the presence of parity or framing errors in running data traffic and can only be cleared explicitly by pressing the „Clear“...
  • Seite 35: Serial Format

    W&T RS232(/RS422/RS485) Multi Computer Adapter Port B Serial Port Settings Operat. Mode Port A Port B Port C Port A Serial format Baud rate, number of data bits and any parity bit which may be used can be configured separately for each port on the T-switch, so that the format can be adapted to any connected terminal device.
  • Seite 36: Setting The Format - Dil Switches

    W&T RS232(/RS422/RS485) Multi Computer Adapter If the T-switch receives an XOFF code or detects a block level (negative level) on the hardware handshake input, it stops sending data on the corresponding port no later than one byte after this state is detected. If the T-switch receives an XON code or detects an enable level (positive level) on the hardware handshake input, it resumes sending data.
  • Seite 37: Modes

    W&T RS232(/RS422/RS485) Multi Computer Adapter baudrate 150 Baud 300 Baud 600 Baud 1200 Baud 2400 Baud 4800 Baud 9600 Baud 19200 Baud 38400 Baud 57600 Baud 64000 Baud 76800 Baud 115200 Baud Modes The RS232 Multi Computer Adapter model 85603 offers four operating modes, which are described in the following.
  • Seite 38: Standard Mode

    W&T RS232(/RS422/RS485) Multi Computer Adapter Standard mode In this mode switching between both data sources is automatic on a time basis: the data sender that wants to send something first uses a handshake stop signal or XOFF charac- ter generated by the T-switch to automatically block sending from the other source.
  • Seite 39: Splitter Mode

    W&T RS232(/RS422/RS485) Multi Computer Adapter Splitter mode In this mode all data arriving at Port C are passed to Ports A and B (C r A und C r B). Data arriving at A and B are passed to C. Only one communications line may however be active in this direction (A r C oder B r C).
  • Seite 40: Diagnostic Functions

    W&T RS232(/RS422/RS485) Multi Computer Adapter Operating mode Dump-Output Manual mode Port A Standard mode Port B Transparent mode Port C Splitter mode all ports Switching time Switching time #8560x #85603 TB900812 #85604 TB900817 5 seconds 1 seconds 15 seconds 2 seconds 30 seconds 5 seconds 120 seconds...
  • Seite 41: Settings Dump

    W&T RS232(/RS422/RS485) Multi Computer Adapter Settings dump As a first test the settings dump integrated in the T-switch can be used to automatically generate a text which shows all the programmed settings in the 85603. The settings dump has multiple functions: .
  • Seite 42 W&T RS232(/RS422/RS485) Multi Computer Adapter Hold down the „Dump“ key and then connect the T-switch to its power supply. After releasing the key the port set on the DIL s w i t c h e s S W 4 . 3 a n d S W 4 . 4 g e n e r a t e s t h e f o l l o w i n g output: 40,6000;;SI 0.2,0.3;DT...
  • Seite 43: Connection Example

    W&T RS232(/RS422/RS485) Multi Computer Adapter Connection example Two computers share a peripheral device using a hardware handshake connection PC 1 PC 2 RS232 RS232 COM port COM port 9-pin male 9-pin male connector connector Port A Port B 9-pin female (9-pin female connector connector)
  • Seite 44: Technical Data

    W&T RS232(/RS422/RS485) Multi Computer Adapter Technical Data Serial ports: #85603: 3 x RS232 (port A u. B: female, port C: male) #85604: 3 x RS232/422/485 (port A, B u. C: male) all ports independently configurable Baud rate: 150 .. 115.200 baud Data format: 7, 8 data bits, No, Even, Odd Parity Supported signals:...

Inhaltsverzeichnis