Lecture 5 Serial Communication Device Net, Control Net, Ethernet RS232

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

20EEE653

Advanced Industrial Automation and


Building Automation
Credits: 3:0:0

Date: 17.04.2021

Lecture 5 Serial Communication Device Net, Control


Net, Ethernet RS232
Module : 1 : Introduction to Advanced PLC and SCADA
Course Instructor

Dr. Vinoth Kumar. K M.Tech., Ph.D., SMIEEE


Associate Professor
Department of Electrical & Electronics Engineering
COMMUNICATION
DeviceNet
 DeviceNet is a network protocol used in the automation industry to interconnect control
devices for data exchange. It utilizes the Common Industrial Protocol over a Controller Area
Network media layer and defines an application layer to cover a range of device profiles.

 Typical applications include information exchange, safety devices, and large I/O control networks.

 DeviceNet was originally developed by American company Allen-Bradley (now owned


by Rockwell Automation). It is an application layer protocol on top of the CAN (Controller Area
Network) technology, developed by Bosch.

 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

RS-232 interface external equipment with computers.

 RS232 is a Serial Communication Standard developed by


the Electronic Industry Association (EIA) and
Telecommunications Industry Association (TIA).

 RS232 defines the signals connecting between DTE and


DCE. Here, DTE stands for Data Terminal Equipment and
an example for DTE is a computer. DCE stands for Data
Communication Equipment or Data Circuit Terminating
Equipment and an example for DCE is a modem.
1. Data Carrier Detect – After a data terminal is detected, a signal is sent to the data set that is going to be
transmitted to the terminal.

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

RxD+ and RxD- used for receiving data


TxD+ and TxD- used for transmitting data
CTS+ and CTS- as well as RTS+ and RTS- are used as handshake
control signals
RS-232 VS RS-485
11

You might also like