MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Bedienungsanleitung Seite 326

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 408
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 325
8 Serial Port I/O
8-6
If you connect two DTE’s or two DCE’s using a straight serial cable, then the
TD pin on each device are connected to each other, and the RD pin on each
device are connected to each other. Therefore, to connect two like devices, you
must use a null modem cable. As shown below, null modem cables cross the
transmit and receive lines in the cable.
Note You can connect multiple RS-422 or RS-485 devices to a serial port. If
you have an RS-232/RS-485 adaptor, then you can use MATLAB’s serial port
object with these devices.
Serial Port Signals and Pin Assignments
Serial ports consist of two signal types: data signals and control signals. To
support these signal types, as well as the signal ground, the RS-232 standard
defines a 25-pin connection. However, most PC’s and UNIX platforms use a
9-pin connection. In fact, only three pins are required for serial port
communications: one for receiving data, one for transmitting data, and one for
the signal ground.
DTE
DTE
TD
Pin 2
Pin 3
Pin 2
Pin 3
TD
RDRD
Computer Computer
Seitenansicht 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 407 408

Kommentare zu diesen Handbüchern

Keine Kommentare