Moin,
für eine ModBus Bastelei habe einen Konverter nach folgender Schaltung:
(Seite 28 Fig. 7.2)
Egal ob ich in IPS als I/0 „Serial Port“ oder „FTDI“ nehme, alle gesendeten Daten kommen
auf der Empfangsseite wieder an:
TRANSMITTED | 01 03 00 00 00 01 84 0A
RECEIVED | 01 03 00 00 00 01 84 0A 01 03 02 FF FF B9 F4
Das führt natürlich zu Fehlern: „…Zeitüberschreitung beim Warten auf Antwort“
Das ist KEIN Echo vom Node! Der Konverter alleine erzeugt schon diese „Schleife“
Im obigen Dokument ist nun folgendes zu lesen:
In this example the data transmitted by the FT232R is also present on the receive path of the SP481.
This is a common feature of RS485 and requires the application software to remove the transmitted data from
the received data stream. With the FT232R it is possible to do this entirely in hardware by modifying the
example shown in Figure 7.2 by logically OR‟ing the FT232R TXDEN and the SP481 receiver output and
connecting the output of the OR gate to the RXD of the FT232R.
Benötige ich nun einen Konverter mit so einer Oder-Verknüfung?
Oder kann ich da noch etwas in IPS einstellen/ändern?
Gruß aus Bremen,
Joe