DE19739849A1 - Data transfer method via communications cable - Google Patents
Data transfer method via communications cableInfo
- Publication number
- DE19739849A1 DE19739849A1 DE1997139849 DE19739849A DE19739849A1 DE 19739849 A1 DE19739849 A1 DE 19739849A1 DE 1997139849 DE1997139849 DE 1997139849 DE 19739849 A DE19739849 A DE 19739849A DE 19739849 A1 DE19739849 A1 DE 19739849A1
- Authority
- DE
- Germany
- Prior art keywords
- data
- transmission
- handshake
- lines
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
- G06F13/4269—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus using a handshaking protocol, e.g. Centronics connection
Abstract
Description
Die Erfindung betrifft ein Verfahren und ein Verbin dungskabel zur Übertragung von Daten, wobei das Ver bindungskabel mindestens zwei Leitungen zur Übermitt lung von Handshake-Signalen und gesonderten Leitungen für die Übertragung von Daten zwischen zwei Datenend einheiten (DDE), mit jeweils mindestens einem Paral lelport aufweist. Die Erfindung kann dabei günstig für die Übermittlung von Daten zwischen zwei gleichen oder auch verschiedenen Computern verwendet werden, wobei die jeweiligen Schnittstellen, an denen das Verbindungskabel angeschlossen werden kann, beliebig konfiguriert sein können.The invention relates to a method and a connection cable for the transmission of data, the Ver Connection cable at least two lines for transmission handshake signals and separate lines for the transfer of data between two data ends units (DDE), each with at least one parallel lelport has. The invention can be inexpensive for the transmission of data between two of the same or different computers can be used where the respective interfaces at which the Connection cable can be connected, any can be configured.
Die üblicherweise sich bisher im Verkehr befindlichen und auch zukünftig vertriebenen Computer sind zumin dest mit einem Steuerport und einem Datenport ausge stattet und es kann optional ein zusätzlicher zweiter Datenport vorhanden sein. Außerdem sind bei den ver schiedenen Computern die jeweiligen Pinanschlüsse zwar gleich angeordnet, jedoch unterschiedlich ver schaltet und demzufolge in unterschiedlicher Form verfügbar. Dabei sind an den verschiedenen Ports für die Steuerung und die Daten unterschiedliche Anzahlen von Pins vorhanden, die für die Ausgabe bzw. den Emp fang von entsprechenden Steuer- bzw. Datensignalen verwendet werden können. Dies erfordert insbesondere für die Verbindung verschiedener Computer, daß Mög lichkeiten vorhanden sind, Steuersignale und Daten ströme je nach Bedarf und den Möglichkeiten der Com puter über die Verbindung gelenkt werden.The ones that have usually been in circulation up to now and computers sold in the future are at least least with a control port and a data port and an optional second one can be added Data port available. In addition, the ver different computers the respective pin connections arranged the same, but different ver switches and therefore in different forms available. Here are at the different ports for the control and the data different numbers of pins available for the output or the emp catch of appropriate control or data signals can be used. This requires in particular for the connection of different computers that Mög options are available, control signals and data currents depending on the needs and the possibilities of the Com be directed over the connection.
Ein weiteres Problem, was bei der Verbindung von Com putern als entsprechende Datenendeinheiten auftritt, besteht darin, daß Fehler bei der Datenübertragung auftreten können, wenn bereits erneut Daten von einem Computer zum anderen gesendet werden, obwohl der zweite Computer noch nicht alle vorab gesendeten Da ten übernommen hat, so daß Datenverluste auftreten können. Dieser Effekt tritt in erster Linie dadurch auf, daß in den häufigsten Fällen die Datenübertra gung ausschließlich zeitabhängig gesteuert wird.Another problem with connecting Com putering occurs as corresponding data terminal units, is that there is an error in the data transmission can occur if data from a Computer to be sent to the other, although the second computer not all pre-sent Da ten has taken over, so that data loss occurs can. This is primarily due to this effect that in the most common cases the data transfer supply is controlled only time-dependent.
In der Regel werden Verbindungskabel verwendet, die durch statische Leitungen die Datenübertragung in einem, der jeweils einmal gewählten Verbindung zwischen Ein- und Ausgängen der Datenports entspre chendem Modus sichern, der nicht geändert werden kann, so daß diese "passiven" Verbindungen eine opti male Übertragung von Daten zwischen zwei DDE nicht in jedem Fall gewährleisten oder unterstützen können.As a rule, connecting cables are used that through static lines the data transmission in one, the connection chosen once correspond between inputs and outputs of the data ports Save the appropriate mode that will not be changed can, so that these "passive" connections an opti male transmission of data between two DDE not in guarantee or support in every case.
Eine Möglichkeit zur Übertragung von Daten über die parallelen Schnittstellen von Computern ist in WO 96/23261 beschrieben. Dabei werden verschiedene Leitungen verwendet, die die parallelen Schnittstel len der Computer ausnutzen und dort als Datenleitun gen, Steuerleitungen und Statusleitungen an den Ein- und Ausgabeports angeschlossen und verwendet werden. Bei der dort beschriebenen Lösung werden zusätzliche Schaltungen in den Computern verwendet, die den Si gnaltransfer unterstützen bzw. steuern. Dabei soll der Datentransfer soweit als möglich beschleunigt werden.One way to transfer data over the parallel interfaces of computers is in WO 96/23261. Doing so will be different Lines used the parallel interface Use the computer and there as a data line control lines and status lines on the inputs and Output ports can be connected and used. In the solution described there, additional Circuits used in the computers that the Si Support or control signal transfer. In doing so data transfer is accelerated as much as possible become.
Die für die Steuerung und Übertragung der Daten er forderlichen Schaltungen müssen in den Computer an den Ein- und Ausgabeports aufgenommen bzw. ange schlossen werden, so daß ein erhöhter Aufwand entwe der bei der Montage eines solchen Computers oder ei ner entsprechenden Nachrüstung auftritt.He for the control and transmission of the data required circuits must be in the computer the input and output ports added or displayed can be closed, so that an increased effort who when installing such a computer or egg A corresponding retrofit occurs.
Weiter ist es bei dieser Lösung nachteilig, daß die Datenübertragung wieder ausschließlich zeitabhängig erfolgt, so daß es auch hier zu den bereits erwähnten möglichen Datenverlusten bei der Übertragung kommen kann.It is also disadvantageous with this solution that the Data transmission again only time-dependent takes place, so that it is here also to those already mentioned possible data loss during transmission can.
Es ist daher Aufgabe der Erfindung, eine Möglichkeit zu schaffen, mit der Daten zwischen zwei Datenendein heiten, wie dies Computer sind, zuverlässig übertra gen werden können, wobei die Datenübertragung auch zwischen zwei Computern mit unterschiedlichen Schnittstellenkonfigurationen erfolgen kann.It is therefore an object of the invention to provide one possibility to create the data between two data ends reliably transfer what they are like computers can be, whereby the data transmission too between two computers with different Interface configurations can be done.
Erfindungsgemäß wird diese Aufgabe mit den Merkmalen des Patentanspruchs 1 für das Verfahren und den Merk malen des Patentanspruchs 8 für ein entsprechendes Verbindungskabel gelöst.According to the invention, this object is achieved with the features of claim 1 for the method and the Merk paint the claim 8 for a corresponding Connection cable detached.
Vorteilhafte Ausgestaltungsformen und Weiterbildungen der Erfindung ergeben sich bei Verwendung der in den untergeordneten Ansprüchen enthaltenen Merkmale. Advantageous designs and further training the invention emerge when using the in Features contained subordinate claims.
An dem erfindungsgemäßen Verfahren und dem Verbin dungskabel ist es auf einfache und sichere Art und Weise möglich, digitale, binäre Daten zwischen Daten endeinheiten (Computern), die über mindestens eine parallele Schnittstelle (Druckerport, Centronics schnittstelle) verfügen, zu übertragen. Dabei können jeweils genau zwei Datenendeinheiten mit einem sol chen Verbindungskabel verbunden werden.On the method according to the invention and the verb cable is simple and safe Way possible, digital, binary data between data end units (computers) that have at least one parallel interface (printer port, Centronics interface) to transmit. You can exactly two data end units with a sol Chen connecting cables are connected.
Mit der Erfindung ist es nunmehr ohne weiteres mög lich, zwei verschiedene Datenendeinheiten miteinander für einen entsprechenden Datenaustausch zu verbinden, unabhängig davon, wie die jeweilige Schnittstelle, die für die Verbindung genutzt werden kann, konfigu riert ist.With the invention it is now easily possible Lich, two different data end units with each other to connect for a corresponding data exchange, regardless of how the particular interface, that can be used for the connection, configu is.
Mit dem erfindungsgemäßen Verfahren kann einmal gesi chert werden, daß eine zwischen den beiden Datenend einheiten mögliche maximale Übertragungsgeschwindig keit für die Daten erreicht werden kann und auch ge sichert ist, daß in jedem Fall eine vollständige Da tenübertragung erreichbar wird.With the method according to the invention, gesi be sure that one between the two data end units possible maximum transmission speed speed for the data can be achieved and also ge is ensured that in any case a complete Da transmission can be reached.
Erfindungsgemäß wird dabei ein Verbindungskabel ver wendet, das mindestens zwei Leitungen aufweist, die zur Übermittlung von Handshake-Signalen genutzt wer den können, die von den beiden Steuerports der Daten endeinheiten gesendet bzw. empfangen werden können. Dazu sind in dem erfindungsgemäßen Verbindungskabel zumindest gesonderte Leitungen vorhanden, die aus schließlich für die Übertragung von Daten genutzt werden können.According to the invention, a connecting cable is ver turns, which has at least two lines, the who used to transmit handshake signals the can from the two control ports of the data end units can be sent or received. For this purpose, the connecting cable according to the invention at least separate lines available from finally used for the transmission of data can be.
Die Verbindung der Datenendeinheiten (Computer) er folgt dabei mit dem erfindungsgemäßen Verbindungska bel, das an seinen beiden Enden eine standardisierte Steckverbindung aufweist, wie z. B. einen Sub-D-Stecker, der vorteilhafterweise in seinem Gehäuse eine Platine aufnimmt, auf der entsprechende Schaltungen zur Steuerung und Sicherung der Übertragung der Daten aufgenommen sind, und die Platine vom Steckergehäuse umschlossen ist.The connection of the data terminal units (computers) follows with the Verbindungska invention bel, which a standardized at both ends Has plug connection, such as. B. a Sub-D connector, the advantageously in its housing Circuit board picks up on the appropriate circuits to control and secure the transmission of data and the board from the connector housing is enclosed.
Dabei ist auf der Platine mindestens eine Schaltung vorhanden, die als elektronischer Schalter (Flip-Flop) wirkt, der die Übertragung der Daten zeitlich steuert und dabei sichert, daß eine Übertra gung von Daten von einer Datenendeinheit auf die an dere Datenendeinheit nur solange erfolgt, bis begin nend von einem Handshake-Signal der sendenden Daten endeinheit, die andere Datenendeinheit mit einem an deren Handshake-Signal den Empfang der gesendeten Daten bestätigt hat und so gesichert ist, daß während einer Sendeperiode sämtliche Daten mit Sicherheit übertragen worden sind. Ein davon unabhängiger Ab bruch, wie er nach dem Stand der Technik bisher durch ein hiervon unabhängiges, ausschließliches Zeitsignal erfolgt ist, ist nicht mehr möglich.There is at least one circuit on the board available as an electronic switch (Flip-flop) affects the transmission of data controls time and thereby ensures that a transfer data from a data terminal unit to the whose data end unit only takes place until begin nend from a handshake signal of the sending data end unit, the other data end unit with one whose handshake signal the reception of the sent Has confirmed data and is so secured that during all data with certainty in one transmission period have been transferred. An independent Ab break, as he has done so far according to the prior art an independent, exclusive time signal is no longer possible.
Für den Beginn und das Beenden einer Datenübertragung werden jeweils ausschließlich die steigenden Flanken der jeweiligen Handshake-Signale der beiden Datenend einheiten ausgenutzt, wobei das zweite Handshake-Si gnal der empfangenden Dateneinheit, der ersten Daten endeinheit signalisiert, daß weitere Daten übermit telt werden können und der Vorgang solange wiederholt wird, bis sämtliche Daten von der ersten Datenendein heit zur zweiten Datenendeinheit übermittelt worden sind. Durch die ausschließliche Ausnutzung der stei genden Flanken der Handshake-Signale wird Unabhängig keit zu deren jeweiliger Taktlänge erreicht. Dabei ist unter steigenden Flanken in jedem Fall der jeweils erste Pegelwechsel eines Handshake-Signales gemeint, unabhängig von der Richtung des Pegelwech sels.For the start and end of a data transfer are only the rising flanks the respective handshake signals of the two data ends units exploited, the second handshake Si gnal of the receiving data unit, the first data end unit signals that further data is transmitted can be telt and the process repeated until all data is from the first data end unit has been transmitted to the second data terminal are. Through the exclusive use of the stei The edges of the handshake signals become independent speed to their respective cycle lengths. In any case, the rising edge is the first level change of a handshake signal meant, regardless of the direction of the level change sels.
Bei der Übertragung von Daten zwischen zwei verschie denen Datenendeinheiten, wobei es dabei im wesentli chen auf die Ausbildung bzw. Konfiguration der parallelen Schnittstelle ankommt, erfordert, daß es mit der Erfindung möglich wird, verschiedene Moden für die Übertragung von Daten zwischen den beiden verschiedenen Datenendeinheiten einzustellen und da bei die jeweilige Ausbildung der parallelen Schnitt stelle berücksichtigt wird.When transferring data between two different those data end units, whereby it essentially chen on the training or configuration of the arrives parallel interface requires that it different modes are possible with the invention for the transfer of data between the two to set different data end units and there at the respective training of the parallel cut place is taken into account.
Hierfür werden bei den Schaltungen an den jeweiligen Enden des Verbindungskabels vorhandene Handshake-Ein- und Ausgänge ausgenutzt, die bereits für die Über mittlung bzw. den Empfang der Handshake-Signale er forderlich waren. Von diesen Handshake-Ein- und Aus gängen bestehen zusätzliche Verbindungen zu den Steu erports der beiden Datenendeinheiten, die für die Auswahl bzw. Einstellung des jeweiligen Übertragungs- und Empfangs-Modus genutzt werden können. Je nachdem wie die parallele Schnittstelle der beiden Datenend einheiten ausgebildet ist, wird bei der Auswahl der Übertragungs- bzw. Empfangs-Moden die jeweilige Da tenbreite bei der Übertragung von Daten ausgewählt. Dies ist wichtig, da es parallele Schnittstellen gibt, die neben einem Steuerport und einem ersten Datenport, der für eine Datenbreite von 8 Bit für den Empfang und/oder das Senden geeignet ist, auch andere zusätzliche Datenports bei verschiedensten Konfigura tionen von Datenendeinheiten gibt, die einen zusätz lichen Datenport aufweisen, der jedoch ausschließlich für den Empfang von Daten mit einer Datenbreite von 4 Bit geeignet ist. Daneben gibt es parallele Schnitt stellen, die zwei verschiedene Datenports aufweisen, wobei einer der beiden Datenports entweder Datenbrei ten von 8 Bit empfangen oder senden kann und der an dere Datenport nur für den Empfang bzw. das Senden von Daten mit einer Breite von 4 Bit ermöglicht.For this, the circuits on the respective Existing handshake inputs and ends of the connecting cable Outputs already used for the over averaging or receiving the handshake signals were required. Of these handshake on and off there are additional connections to the tax reports of the two data end units that are used for the Selection or setting of the respective transmission and Receive mode can be used. Depending on like the parallel interface of the two data ends units is formed when selecting the Transmission or reception modes the respective Da selected for the transmission of data. This is important because there are parallel interfaces there, in addition to a tax port and a first Data port for a data width of 8 bits for the Receiving and / or sending is suitable, also others additional data ports with various configurations dations of data end units that give an additional data port, but only for the reception of data with a data width of 4 Bit is suitable. There is also a parallel cut places that have two different data ports, where one of the two data ports is either data pulp can receive or send 8 bits and the on their data port only for receiving or sending of data with a width of 4 bits.
Für eine entsprechende Auswahl, je nachdem welche Da tenendeinheiten miteinander verbunden werden sollen, ist es erforderlich, die zur Übertragung anstehenden Datenströme entsprechend des eingestellten günstig sten Modus an den jeweiligen Datenport zu führen. Hierzu kann ein mit einer weiteren Schaltung reali sierter elektronischer Schalter verwendet werden, der die zu übertragenden Daten an den jeweiligen günstig sten Datenport führt bzw. von diesem abruft.For an appropriate selection, depending on which Da ten end units are to be connected, it is necessary to consider the pending transfer Data streams according to the set cheap leading mode to the respective data port. For this purpose, a reali with a further circuit electronic switch used, the the data to be transferred to the respective cheap Most data port carries or retrieves from it.
Die auf den Platinen aufgebrachten Schaltungen, kön nen günstigerweise speicherprogrammierbar sein, so daß die Möglichkeit besteht, auch zukünftig auf den Markt kommende Konfigurationen von neuen parallelen Schnittstellen, entsprechend berücksichtigen zu kön nen.The circuits applied on the boards can NEN conveniently programmable, so that there is the possibility to continue on the Coming configurations of new parallel Interfaces to be able to take into account accordingly nen.
Für die Übertragung von Daten sollte das erfindungs gemäße Verbindungskabel günstigerweise acht Leitungen aufweisen.For the transmission of data, this should be inventive appropriate connection cable conveniently eight lines exhibit.
Nachfolgend soll die Erfindung an Ausführungsbeispie len näher beschrieben werden.The invention is based on exemplary embodiments len are described in more detail.
Dabei zeigen: Show:
Fig. 1 den schematischen Aufbau einer Verbindung mit einem Verbindungskabel nach der Erfin dung zwischen zwei Datenendeinheiten; Figure 1 shows the schematic structure of a connection with a connecting cable according to the inven tion between two data terminals.
Fig. 2 eine Tabelle mit möglichen Sende- und Emp fangsmoden; Fig. 2 is a table with possible transmission and Emp fangsmoden;
Fig. 3 die Verarbeitung von Handshake-Signalen der sendenden und empfangenden DDE; FIG. 3 shows the processing of handshake signals of the transmitting and receiving DDE;
Fig. 4 ein Beispiel für einen Ablauf einer Daten übertragung zwischen zwei Datenendeinhei ten; Fig. 4 shows an example of a sequence of data transmission between two data terminal units;
Fig. 5 den schematischen Aufbau einer Platine für ein erfindungsgemäßes Verbindungskabel und Fig. 5 shows the schematic structure of a circuit board for an inventive connecting cable and
Fig. 6 den schematischen Aufbau eines Verbindungs kabels. Fig. 6 shows the schematic structure of a connection cable.
Mit der erfindungsgemäßen Lösung soll es möglich sein, die Umleitung von Datenströmen bei der Übertra gung zwischen zwei Datenendeinheiten, entsprechend der Ausbildung der jeweiligen parallelen Schnittstel len der Datenendeinheiten vornehmen zu können und entsprechende Steuersignale hierfür verarbeiten zu können.It should be possible with the solution according to the invention be the redirection of data streams during the transfer between two data terminals, accordingly the formation of the respective parallel interface len of the data terminal units and process corresponding control signals for this can.
In der Fig. 1 ist eine Verbindung mit einem erfin dungsgemäßen Verbindungskabel zwischen einer Daten endeinheit DDE1 und DDE2 dargestellt. Dabei legt die sendende Datenendeinheit DDE1 bzw. DDE2 die zu sen denden Daten an den jeweiligen Datenport A an und sendet anschließend zur anderen DDE ein Handshake- Signal, das vom jeweiligen Steuerport über die An schlüsse Strobe oder AutoFd ausgegeben wird. An den beiden Enden des Verbindungskabels befinden sich Pla tinen A und B, auf denen bestimmte Schaltungen reali siert sind. So verfügen beide Platinen A und B je weils über einen Handshake-Ein- und einen Handshake- Ausgang über die das jeweilige Handshake-Signal an die andere Datenendeinheit gesendet bzw. von dieser empfangen wird.In the FIG. 1 is a connection to a connection cable to the invention OF INVENTION between a data terminal unit shown DDE1 and DDE2. The sending data end unit DDE1 or DDE2 creates the data to be sent to the respective data port A and then sends a handshake signal to the other DDE, which is output by the respective control port via the strobe or AutoFd connections. At both ends of the connecting cable there are boards A and B, on which certain circuits are realized. So both boards A and B each have a handshake input and a handshake output via which the respective handshake signal is sent to or received by the other data end unit.
Vor der eigentlichen Datenübertragung wird ein gün stiger Übertragungsmodus für die Daten ausgewählt und eingestellt, wobei hierfür Steuersignale aus den je weiligen Steuerports der Datenendeinheiten DDE1 und DDE2 benutzt werden.Before the actual data transfer, a green selected transmission mode for the data and set, with control signals from each because of the control ports of the data terminal units DDE1 and DDE2 can be used.
Bei dem in der Fig. 1 dargestelltem Beispiel kann der Datenport A der beiden Datenendeinheiten Daten mit einer Datenbreite von 8 Bit senden bzw. empfangen und der zweite Datenport B ist lediglich für den Emp fang von Daten mit einer Datenbreite von 4 Bit ausge legt.In the example shown in FIG. 1, the data port A of the two data terminal units can send or receive data with a data width of 8 bits and the second data port B is only designed for receiving data with a data width of 4 bits.
Zur Steuerung der Datenströme ist auf der Platine ein elektronischer Schalter, der hier schematisch darge stellt worden ist, vorhanden, der die Daten an den jeweils günstigsten Datenport A oder B weiterleitet.To control the data streams is on the board electronic switch, which is shown here schematically has been made available, the data to the forwards the cheapest data port A or B.
Nach der Übertragung einer bestimmten vorgegebenen Menge an Daten meldet die empfangene Datenendeinheit den Vollzug des Empfanges und gibt ein Handshake-Si gnal an die sendende Datenendeinheit, die daraufhin weitere Daten senden kann.After transferring a certain predetermined The received data terminal unit reports the amount of data the completion of the reception and gives a handshake Si gnal to the sending data terminal, which then can send more data.
Den jeweiligen Sende- und Empfangsmodus, der über die Datenbreite der zu sendenden Daten und die Verwendung der Handshake-Signale entscheidet, stellen die beiden Datenendeinheiten über zwei Leitungen am jeweiligen Steuerport ein, diese sind mit Modus-Auswahl bezeich net.The respective send and receive mode, which via the Data width of the data to be sent and the use the handshake signals decide the two Data end units over two lines on the respective Control port on, these are designated with mode selection net.
Im übrigen sind die Verbindungen von der parallelen Schnittstelle zur jeweiligen Platine des Verbindungs kabels entsprechend dem Centronicsstandard für par allele Schnittstellen gekennzeichnet, so daß das Ver ständnis erleichtert ist. Die in Klammern dahinter gesetzten Zahlen bezeichnen die jeweilige Pin-Nummer, wie sie an einem 25-poligen Sub-D-Stecker standardmä ßig verwendet werden.Otherwise, the connections are parallel Interface to the respective board of the connection cables according to the Centronics standard for par marked allele interfaces, so that the Ver confession is relieved. The brackets behind it Numbers set indicate the respective pin number, as standard on a 25-pin Sub-D connector be used igly.
Für die Auswahl des jeweiligen Übertragungsmodus wer den die zwei bereits erwähnten Leitungen vom Steuer port benutzt, dabei wird als erstes der jeweilige Übertragungsmodus mit dem elektronischen Schalter auf der Platine eingestellt, so daß neben der Aus- bzw. Eingabe der Handshake-Signale auch der Pfad für die zu übertragenden Daten festgelegt wird. Zur Auswahl des Modus für die Platine werden zwei Leitungen be nutzt. Erfolgt keine Unterstützung der Modusauswahl durch die Datenendeinheiten, befindet sich die Plati ne automatisch in ihrem Standardmodus, nämlich für die Übertragung von Daten mit einer Breite von 8 Bit.For the selection of the respective transmission mode who the two already mentioned lines from the wheel port is used, the first being the respective Transmission mode with the electronic switch on the board so that next to the Entering the handshake signals also the path for the data to be transferred is determined. To select The mode for the board is two lines uses. Mode selection is not supported due to the data end units, the plati is located ne automatically in their standard mode, namely for the transmission of data with a width of 8 bits.
Bei der Aus- bzw. Eingabe der Handshake-Signale kann die Platine entsprechend des ausgewählten Modus je weils eine von den zwei möglichen dargestellten Lei tungen (Strobe bzw. AutoFd) benutzen. Der Datenport A ist für das Senden bzw. Empfangen von Daten mit einer Breite von 8 Bit geeignet und der Datenport B kann ausschließlich Daten mit einer Breite von 4 Bit emp fangen. When handshake signals are output or entered, the board according to the selected mode because one of the two possible Lei shown use (strobe or AutoFd). The data port A is for sending or receiving data with a Width of 8 bits and the data port B can only data with a width of 4 bits emp to catch.
In der Fig. 2 werden mögliche Moden, mit denen die Datenübertragung nach der Erfindung möglich sind, in Form einer Tabelle erläutert.In FIG. 2, are possible modes by which the data transmission according to the invention are possible, illustrated in the form of a table.
Dabei ist davon auszugehen, daß bei den in der Tabel le angeführten Möglichkeiten die Daten jeweils von der Datenendeinheit DDE1 gesendet werden.It can be assumed that those in the table The options listed here include the data from the data terminal unit DDE1 are sent.
In den Spalten 3 und 4 ist Fluß der Handshake-Signale über die verschiedenen möglichen Anschlüsse bzw. Lei tungen schematisch dargestellt.In columns 3 and 4 there is a flow of handshake signals about the different possible connections or Lei tions shown schematically.
Bei der Übertragung von Daten ist zu berücksichtigen, daß der jeweilige Datenport B jeweils nur Daten mit einer Breite von 4 Bit empfangen kann und dabei die jeweils anderen 4 Bit von einer der Leitungen für die Datenübertragung übernommen werden. So können gleich zeitig durchaus verschiedene Daten empfangen werden. Demgegenüber ist eine Datenübertragung mit einer Da tenbreite von 8 Bit gleichzeitig nur in eine Richtung möglich.When transferring data, it must be taken into account that the respective data port B only data with a width of 4 bits and can receive the each other 4 bits from one of the lines for the Data transfer are taken over. So you can immediately different data can be received at the right time. In contrast, a data transmission with a Da width of 8 bits only in one direction at a time possible.
Mit der Auswahl des jeweiligen Übertragungsmodus wird für beide Datenendeinheiten festgelegt bzw. ausge wählt, mit welcher Datenbreite die Übertragung durch geführt wird, so daß dies auch von der empfangenden Datenendeinheit berücksichtigt wird, günstigerweise kann dies mit einem entsprechenden Übertragungsproto koll erfolgen.With the selection of the respective transmission mode set for both data end units or out selects the data width with which the transmission is carried out is carried out, so that this also by the receiving Data end unit is taken into account, favorably can do this with an appropriate transfer prototype koll done.
Bei dem in der Fig. 1 dargestellten Beispiel sind zusätzliche Leitungen Bestandteil des Verbindungska bels, die mit SWIN und SWOUT gekennzeichnet sind und der jeweils anderen Platine des Verbindungskabels die Information übermitteln, welcher Übertragungsmodus jeweils eingestellt worden ist, in dem die jeweilige Stellung der elektronischen Schalter mitgeteilt wird. Auf der jeweils anderen wird dann automatisch der jeweilige Übertragungsmodus entsprechend der Stellung der elektronischen Schalter berücksichtigt, so daß unerwünschte Kollisionen auf den verschiedenen Lei tungen zur Übertragung der Daten vermieden werden können.In the example shown in FIG. 1, additional lines are part of the connecting cable, which are identified by SWIN and SWOUT and each other the board of the connecting cable transmit the information as to which transmission mode has been set in which the respective position of the electronic switch is communicated. On the other, the respective transmission mode is then automatically taken into account in accordance with the position of the electronic switch, so that undesired collisions on the various lines for transmission of the data can be avoided.
Mit Hilfe der auf den Platinen vorhandenen Schaltun gen können jeweils 4 Bit (Nibble) vollduplex übertra gen werden oder eine unidirektionale Übertragung für 4 Bit oder 8 Bit in einer Richtung, die frei bestimm bar ist, durchgeführt werden. Dabei entscheidet die jeweils empfangene Datenendeinheit DDE1 bzw. DDE2, wie die Übertragungsdaten am Parallelport anliegen sollen. Entscheidet sich die empfangene Datenendein heit für den Empfang am Datenport B, können gleich zeitig über den Datenport A Daten nibbleweise gesen det werden. Dabei sind von den verfügbaren 8 Bits zwei Nibbles gleichen Inhalts auszugeben, da keine der beiden Datenendeinheiten DDE1 oder DDE2 wissen kann, welches Nibble an Datenport B der anderen Da tenendeinheit geleitet wird.With the help of the circuitry on the circuit boards 4 bits (nibble) can be transmitted in full duplex or unidirectional transmission for 4 bit or 8 bit in one direction, which is freely determined cash is carried out. The decision is made by respectively received data end unit DDE1 or DDE2, how the transmission data is at the parallel port should. The received data end decides unit for reception at data port B, can be the same timely data nibble via data port A. be det. There are 8 bits available output two nibbles of the same content since none of the two data end units DDE1 or DDE2 know can determine which nibble on data port B of the other da tenendeinheit is directed.
Ausgehend von den Steuerports der beiden miteinander verbundenen Datenendeinheiten werden die Steuersigna le für das Handshaking und die für die Steuerung (Mo dusauswahl) erforderlichen Signale ausgegeben bzw. empfangen. Dabei werden zwei Ausgabebits am Steuer port zur Steuerung des Verbindungskabels verwendet und die beiden anderen können als Handshake-Signale verwendet werden. Mit den Handshake-Signalen können die beiden Eingabebits des Steuerports korrespondie ren. Die Steuerbits definieren, welche der Signale als Handshake-Signale benutzt werden sollen.Starting from the control ports of the two with each other connected data end units become the control signals le for handshaking and for control (Mon the required signals are output or receive. Two output bits are at the wheel port used to control the connection cable and the other two can be used as handshake signals be used. With the handshake signals you can the two input bits of the control port correspond The control bits define which of the signals to be used as handshake signals.
Dabei ist es günstig, daß aus den Handshake-Signalen der beiden Datenendeinheiten DDE1 und DDE2 ein ge meinsames Handshake-Signal gebildet wird, wobei hier für immer nur die jeweils steigenden Flanken benutzt werden, wie dies in Fig. 3 deutlich gemacht ist. Dies führt dazu, daß das Handshaking von der jeweili gen Taktlänge der Handshake-Signale unabhängig wird, die bei verschiedenen Datenendeinheiten unterschied lich lang sein kann und es ist dadurch möglich, daß Datenendeinheiten mit sehr unterschiedlichem Hand shake-Verhalten miteinander kommunizieren können.It is favorable that a common handshake signal is formed from the handshake signals of the two data terminal units DDE1 and DDE2, only the rising edges being used here, as is made clear in FIG. 3. This leads to the fact that the handshaking is independent of the respective cycle length of the handshake signals, which can be different for different data end units and it is thereby possible that data end units with very different hand shake behavior can communicate with one another.
In der Fig. 3 ist ein möglicher Ablauf für eine Da tenübertragung in Form eines Flußdiagrammes wiederge geben. Dabei wird deutlich gemacht, wie beim Daten übertragen die Eigenschaften des Verbindungskabels benutzt werden können. Beim Aufbau und Abbau der Ver bindung für die Datenübertragung arbeitet das Verbin dungskabel normalerweise im 4 Bit Sende/Empfangsmo dus, so daß jede parallele Schnittstelle in der Lage ist, die Verbindung auf- bzw. abzubauen und mit der anderen Datenendeinheit entsprechend zu kommunizie ren. Während dieser Phase können dann beide Datenend einheiten einen anderen Modus für die eigentliche Datenübertragung auswählen, der die Möglichkeiten, die beide Datenendeinheiten mit ihren entsprechenden Schnittstellen bieten, am besten ausnutzen kann. Dies richtet sich in erster Linie nach den jeweiligen Fä higkeiten der zur Verfügung stehenden Datenports.In Fig. 3, a possible flow for a data transmission is given in the form of a flow chart. It is made clear how the properties of the connection cable can be used for data transmission. When setting up and clearing the connection for data transmission, the connecting cable normally works in 4-bit transmit / receive mode, so that each parallel interface is able to set up or clear the connection and to communicate with the other data end unit accordingly. During this phase, both data end units can then select a different mode for the actual data transmission, which can best utilize the possibilities that both data end units offer with their corresponding interfaces. This depends primarily on the respective capabilities of the available data ports.
In der Fig. 5 ist ein Beispiel eines Aufbaues einer Platine, die an einer Seite des Verbindungskabels angeordnet ist, als Schaltbild dargestellt. Dabei ist am oberen Rand schematisch der Verbindungsstecker als 25-poliger Sub-D-Stecker dargestellt und am unteren Rand die Anschlußleiste für die Leitungen für die Übertragung der Steuer-, Handshake- und Datensignale dargestellt. Die Anschlußenden mit den Rhomben und den darin enthaltenen Ziffern geben die jeweilige Pin- Nummer am Stecker, und die im Kreis die auf der ande ren Seite, wieder, wobei hier ebenfalls auf den Cen tronicsstandard zurückgegriffen worden ist. Der we sentliche Teil, der auf der Platine angeordnet ist, ist eine speicherprogrammierbare Schaltung GAL16V8, mit der die entsprechenden Steuersignale berücksich tigend, die Modusauswahl und die Datenübertragung ausgeführt wird.In FIG. 5 is an example of a structure of a circuit board that is disposed on a side of the connection cable, shown as a circuit diagram. The connector at the top is shown schematically as a 25-pin Sub-D connector and at the bottom the connector strip for the cables for the transmission of control, handshake and data signals is shown. The connection ends with the rhombuses and the digits contained therein reflect the respective pin number on the plug, and that in a circle that on the other side, whereby the cen tronics standard has also been used here. The essential part, which is arranged on the board, is a programmable logic circuit GAL16V8, with which the corresponding control signals are taken into account, the mode selection and the data transmission is carried out.
An einem Verbindungskabel befinden sich, wie bereits erwähnt, an beiden Enden jeweils identische Platinen, die mit den genormten Steckverbindern mit den paral lelen Schnittstellen der Datenendeinheiten verbunden werden können.As is already the case, there is a connecting cable mentioned, identical boards at both ends, the one with the standardized connectors with the paral all interfaces of the data terminal units connected can be.
In der Fig. 6 ist der schematische Aufbau eines Ver bindungskabels nach der Erfindung dargestellt, wobei hier lediglich die Leitungsführung zu den beiden end seitig angeordneten Platinen deutlich gemacht wird. Dabei ist deutlich zu erkennen, daß von den Datenlei tungen jeweils ein Paar an einen Analogschalter und dementsprechend an die Statusleitungen geführt sind. Aus diesem Grund ist auf jeder Platine nur ein Ana logschalter erforderlich und die übrigen freien Lei tungen können an Masse geschlossen werden.In FIG. 6, the schematic construction of a cable connection Ver is shown according to the invention, wherein only the line guide to the two end-side boards will be made clear here. It can be clearly seen that each of the data lines are a pair to an analog switch and accordingly to the status lines. For this reason, only one ana log switch is required on each board and the remaining free lines can be connected to ground.
Nachfolgend das Programm für die speicherprogrammier
bare Steuerung GAL16V8:
The following is the program for the GAL16V8 programmable logic controller:
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1997139849 DE19739849A1 (en) | 1997-09-11 | 1997-09-11 | Data transfer method via communications cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1997139849 DE19739849A1 (en) | 1997-09-11 | 1997-09-11 | Data transfer method via communications cable |
Publications (1)
Publication Number | Publication Date |
---|---|
DE19739849A1 true DE19739849A1 (en) | 1999-03-18 |
Family
ID=7841949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE1997139849 Withdrawn DE19739849A1 (en) | 1997-09-11 | 1997-09-11 | Data transfer method via communications cable |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE19739849A1 (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1987002830A1 (en) * | 1985-10-25 | 1987-05-07 | Anico Marketing, Inc. | Connector interface |
EP0506594A2 (en) * | 1991-03-26 | 1992-09-30 | International Business Machines Corporation | Bi-directional parallel printer interface |
DE4135471A1 (en) * | 1991-10-28 | 1993-04-29 | Pfaff Ag G M | Connector cable to link PC to sewing machine - has logic level converter in 25 pin end connector, and TTL inputs on DIN plug at other cable end, to interface sewing machine |
WO1993018449A1 (en) * | 1992-03-10 | 1993-09-16 | Siemens Nixdorf Informationssysteme Aktiengesellschaft | Parallel interface for connecting data processing machines |
US5261060A (en) * | 1991-03-13 | 1993-11-09 | Traveling Software, Inc. | Eight-bit parallel communications method and apparatus |
DE4140571C2 (en) * | 1991-12-10 | 1994-05-05 | Telefunken Microelectron | Circuit arrangement |
EP0612007A2 (en) * | 1993-02-15 | 1994-08-24 | Kabushiki Kaisha TEC | Parallel interface and data transfer system for printer using said interface |
DE3937807C2 (en) * | 1988-11-19 | 1995-04-06 | Vaillant Joh Gmbh & Co | Method for transferring data between two sending and receiving stations |
WO1996023261A1 (en) * | 1995-01-24 | 1996-08-01 | Parallel Technologies, Inc. | Method and apparatus for communication over a parallel port |
-
1997
- 1997-09-11 DE DE1997139849 patent/DE19739849A1/en not_active Withdrawn
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1987002830A1 (en) * | 1985-10-25 | 1987-05-07 | Anico Marketing, Inc. | Connector interface |
DE3937807C2 (en) * | 1988-11-19 | 1995-04-06 | Vaillant Joh Gmbh & Co | Method for transferring data between two sending and receiving stations |
US5261060A (en) * | 1991-03-13 | 1993-11-09 | Traveling Software, Inc. | Eight-bit parallel communications method and apparatus |
EP0506594A2 (en) * | 1991-03-26 | 1992-09-30 | International Business Machines Corporation | Bi-directional parallel printer interface |
DE4135471A1 (en) * | 1991-10-28 | 1993-04-29 | Pfaff Ag G M | Connector cable to link PC to sewing machine - has logic level converter in 25 pin end connector, and TTL inputs on DIN plug at other cable end, to interface sewing machine |
DE4140571C2 (en) * | 1991-12-10 | 1994-05-05 | Telefunken Microelectron | Circuit arrangement |
WO1993018449A1 (en) * | 1992-03-10 | 1993-09-16 | Siemens Nixdorf Informationssysteme Aktiengesellschaft | Parallel interface for connecting data processing machines |
EP0612007A2 (en) * | 1993-02-15 | 1994-08-24 | Kabushiki Kaisha TEC | Parallel interface and data transfer system for printer using said interface |
WO1996023261A1 (en) * | 1995-01-24 | 1996-08-01 | Parallel Technologies, Inc. | Method and apparatus for communication over a parallel port |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0019757B1 (en) | Data processing system in which several preprocessors and a main processor superior to the preprocessors are arranged in a tree-structure | |
DE2752724C2 (en) | Digital modem | |
EP2115539B1 (en) | Control and/or data transmission module | |
DE3020077C2 (en) | ||
DE10311395A1 (en) | Communications device with asynchronous data transmission via symmetrical serial data exchange interface, has connecting device between CAN reception line, asynchronous serial interface reception line | |
EP2683227B1 (en) | Electronics module for insertion in a holder unit | |
DE10008602A1 (en) | Data processing apparatus such as personal computer, printer etc. | |
EP0068482A1 (en) | Control system, particularly for automatic manufacturing plants | |
DE19532639A1 (en) | Device for single-channel transmission of data originating from two data sources | |
EP0740082A1 (en) | Modular electrical part for a valve block | |
DE102016116152A1 (en) | Electrical device with a functional device | |
DE19739849A1 (en) | Data transfer method via communications cable | |
DE4344904A1 (en) | Connection of activators and sensors to field bus | |
EP3244274A1 (en) | Electric device with a functional unit | |
EP1607810B1 (en) | Serviceable electrical equipment | |
EP3777226A1 (en) | Integrated communication unit | |
DE102006049636A1 (en) | Bus coupler and communication system with bus coupler | |
EP3620869A1 (en) | Method and conversion components for data exchange between two systems with different security concepts for functional safety | |
DE19534747C2 (en) | Magnetic card reader interface device | |
DE10146864A1 (en) | Data distribution using Ethernet switch to increase transfer speed and volume of transmission using active branching elements | |
DE3221819A1 (en) | Device for simulating a switching device with the aid of a computer | |
WO1998024275A1 (en) | Device for the monitoring, control and regulation of flush lights of a street lighting system | |
DE10358231A1 (en) | Device for connecting field appliances via bus system to supervisory control system e.g. for supervisory control system, has field bus connection module with bus circuit for connection to supervisory system | |
DE2641875C2 (en) | Microwave switch arrangement with three-arm circulators connected in a chain to switch several transmitters and receivers to a common antenna | |
DE4139314C1 (en) | Coupling circuit for transputer forming data processing network - uses complementary logic circuits coupled to data interfaces for generating service signals and decodes augmented acknowledge signal at receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OP8 | Request for examination as to paragraph 44 patent law | ||
8139 | Disposal/non-payment of the annual fee |