Lecture 5 Serial Communication Device Net, Control Net, Ethernet RS232
Lecture 5 Serial Communication Device Net, Control Net, Ethernet RS232
Lecture 5 Serial Communication Device Net, Control Net, Ethernet RS232
Date: 17.04.2021
Typical applications include information exchange, safety devices, and large I/O control networks.
DeviceNet adapts the technology from the Common Industrial Protocol and takes advantage of CAN,
making it low-cost and robust compared to the traditional RS-485 based protocols.
3
COMMUNICATION
RS232 is one of the most widely used techniques to
2. Received Data – The data set receives the initial signal via the receive data line (RxD).
3. Transmitted Data – The data terminal gets a signal from the data set, a confirmation that there is a connection
between the data terminal and the data set.
4. Data Terminal Ready – A positive voltage is applied to the data terminal ready (DTR) line, a sign that the data
terminal is prepared for the transmission of data.
5. Signal Ground – A return for all the signals on a single interface, the signal ground (SG) offers a return path for
serial communications. Without SG, serial data cannot be transmitted between devices.
6. Data Set Ready – A positive voltage is applied to the data set ready (DSR) line, which ensures the serial
communications between a data terminal and a data set can be completed.
7. Request to Send – A positive voltage indicates the request to send (RTS) can be performed, which means the data
set is able to send information to the data terminal without interference.
8. Clear to Send – After a connection has been established between a data terminal and a distant modem, a clear to
send (CS) signal ensures the data terminal recognizes that communications can be performed.
9. Ring Indicator – The ring indicator (RI) signal will be activated if a modem that operates as a data set detects low
frequency. When this occurs, the data terminal is alerted, but the RI will not stop the flow of serial data between devices.
The pins in DE-9 connector, their names and description are given in the following table.
7
Advantage
• RS232 uses serial communication, where one bit of data is sent at a time along a single data
line. This is contrast to parallel communication, where multiple bits of data are sent at a time
using multiple data lines.
• The advantage of using serial communication over parallel communication is the number of
wires required to make a full duplex data transmission will be very less (two wires are
sufficient without considering electrical lines).
Disadvantage
But the main drawback of RS232 standard is data rate and length of cable. RS232 supports a
maximum baud rate of 19200 bps and the maximum length of the cable is 20 meters.
8
RS-485