Professional Documents
Culture Documents
Industrial Communication
Industrial Communication
Communication
Basics Modbus
TCP / IP
Device-Net
Introduction
Basics Network Topology
Only two devices are Centralized controller Several devices share Devices occupying
connected together connected to several the same wires positions along the ring
transmitters and actuators
Introduction
Basics Communication Modes
Introduction
Basics
OSI Model
OSI Model Data amount units
Application Data
Host
Presentation Data
Session Data
Transport Segments
Network Packets
Media
Data-Link Frames
Physical Bits
OSI Model
OSI Model
Signal Layer
n
Electrical specifications
Cable specifications
Physical medium
Copper wires Optical fibers
Physical
OSI Model
OSI Model
Protocol Layer
n
Physical addressing
MAC LLC
Error detection
Data-Link
Media Access Control -MAC
Logic Link Control -LLC
OSI Model
OSI Model
Packet Layer
n
Logical addressing
Path determination
Network Sends data to the correct
destination
OSI Model
OSI Model
Data Transmission
n
Determines:
Transport • How much data to send
• How fast
• Where it goes
OSI Model
OSI Model
Interhost communication
n
Session Data transfer organizing
Determines:
• The start and the end of
a specific transmission
• The response rate
OSI Model
OSI Model
Data Representation
Encryption
Presentation
Translating data for the
application layer
OSI Model
OSI Model
OSI Model
OSI Model
Sending host Receiving host
Application
Presentation
Session
Transport
Network
Data-Link
Physical link
Physical
OSI Model
OSI Model
Application Industrial
Presentation
Session
Transport
Network
Data-Link
Physical
OSI Model
Serial Communication Standards
RS-232 Serial data communication
Communication link
010111
010111
RS-232
Image: ethernut.de DB-9 connector
Transfer data
-5v → -25v
-3v → -25v
Hardware Handshaking
Transmit RTS Request to Send
CTS Clear to Send
Receive
DSR Dataset Ready
Signal common ground
Software Handshaking DTR Data Terminal Ready
20m * 20kbps
Extension of RS-422
• Multi-drop on 2 wires
• Distance up to 1200m **
• Data rates up to 10Mbps **
** Maximum bit rate and maximum length cannot be achieved at the same time
Serial Communication Standards
RS-485
4 - 20mA
Current measurement
Voltage drop due to long distances don’t employ measurement error
Industrial Protocols
Modbus
HART
AS-I
TCP / IP
Device-Net
Modbus
Modbus
Fixed Selectable
Modbus
Characteristics
Selectable
Fixed
RTU ACII
Errors handling
Modbus
Structure
Frame format
Modbus
Structure
Frame format
Modbus
HART
Challenge
With no interference
20mA
4mA
Layers Structure HART Network
Application
Layer
Physical Layer
HART
Point to Point HART Network
Hardware Implementation
▪ Power Supply
▪ Field Device
Smart sensor with an output current signal in range of 4-20mA
▪ Host
Primary controller can be sufficient, such as PLC
or DCS, and a handheld can be a secondary controller
HART
Multi-drop HART Network
HART
Communication Modes
Request
Master Slave
HART
Burst Mode Communication
Mode
▪ No message request
needed
HART
Data Link Layer
Preamble
Delimiter
Address
Command
Byte Count
Command Response
Code
Field Device Status
Checksum
HART
Data Link Layer
Preamble
HART
Data Link Layer
HART
Data Link Layer
Polling
ID Address
Address
HART
Data Link Layer
HART
Data Link Layer
HART
Data Link Layer
Command Response
▪ Single byte field
Code
▪ Error type detection in the received
message is available "Response Messages"
HART
Data Link Layer
HART
Data Link Layer
HART
Application Layer
Universal commands
HART
Application Layer
HART
Application Layer
HART
Application Layer
Device Specific Command Provides functions that are unique to a particular field
device (Specified by the device manufacturer):
HART
AS-Interface
Specifications
▪ Master-Slave mode
▪ 62 slave devices can be connected
▪ Simultaneously, different data type can
be transmitted and received
▪ Can be installed up to 100-600 m
with repeaters
AS-I
Benefits
Cost Savings
Fast Response
AS-I
Benefits
Cost Savings
Power and data can be merged in
the same cable, then:
AS-I
Benefits
▪ Star connection
▪ Line arrangement
▪ Line with layer switches
▪ Tree configuration
AS-I
Benefits
▪ Safety systems
AS-I
Device-Net
Layers Structure
Physical Layer
Device-Net
Layers Structure
▪ MAC ID
▪ Message (signal to user)
Device-Net
Layers Structure
Device-Net
Layers Structure
Software interface:
▪ RS Networx license
▪ EDS (Electronic Data Sheet)
Device-Net
Physical-Hardware
Device-Net
Physical-Software
RS Networx license
▪ Graphical interface
▪ Spreadsheet layout
Device-Net
Pros and Cons
Pros Cons
TCP/IP
Layers Structure
TCP/IP
TCP Protocol
Receiver Transmitter
IP Layer IP Layer
TCP/IP
Layers Structure
AS-I
Serial Link Standards
Current TCP / IP
RS-232 RS-485
Loop
Device-Net
References
1.Practical Data Communications for Instrumentation and Control, by: Steve Mackay
2.Practical Industrial Data Networks: Design, Installation and Troubleshooting, by: Steve Mackay
3.Publication of International CAN Conference, sponsored by: Motorola Semiconductor,
National Semiconductor, Philips Semiconductors
4.Advanced Industrial Control Technology, by: Peng Zhang
5.Getting Results with RS-Networx for Device –Net, by: Rockwell Automation
6.TCP/IP Tutorial and Technical Overview, supported by IBM
7.User Manual for Allen Bradley
8.Demystifying the full stack TCP/IP on computer networks
Thanks