Documente Academic
Documente Profesional
Documente Cultură
Source
Tx.
Transmission System
Rx.
Destination
1-22
Fundamentals Of Communication :
Points To Be Looked into ...
Communication Modes Transmission Format (Synchronous versus Asynchronous) Data Coding Open Systems Model
3-22
Communication Modes
In any communications link between two devices, data can either be sent in one of three commun. modes :
Simplex
Transmitter
Receiver
Simplex
Half Duplex :
Transmitter Receiver Half Duplex Transmitter
Receiver
1. Data flows in both directions,only one direction at a time. 2. Half duplex communications is provided by the RS-485. 3. Only one station can transmit or Receive at a time. 4. Protocol can be MPI, Profibus, MODBUS etc.
5-22
Full Duplex :
Full Duplex Transmitter Receiver Receiver
Transmitter
1. Data flows in Both directions. 2. Full duplex communications is provided by the RS-232C. 3. Both station can transmit or Receive simultaneously.
6-22
Asynchronous Transmission :
Start Bit
Transmitter
Stop Bit
Receiver Clock
D0 D1 D2 D3 D4 D5 D6 D7
Clock
Start
ASCII Character
Time
An asynchronous system is one in which each character or byte is sent within a frame.
The receiver does not start detection until it receives the first bit, known as the start bit. The start bit is in the opposite voltage state to the idle voltage and allows the receiver to synchronize to the bits following.
7-22
Start Bit
DATA
Parity Bit
Stop Bit
Start Bit
Data
Synchronous Transmission :
Clock
Sync Sync
Receiver
Synchronous system uses a string of bits to synchronise the receiver before the data is detected. Synchronous systems detect bits by a change in voltage rather than by reading an absolute value as with asynchronous systems.. This fomat is generally used for High Speed Transmission.
9-22
Protocol
All communication partners involved in data transmission must follow fixed rules for handling and implementing the data traffic. Such rules are called protocols.
13-22
4
3 2 1
Transport
Network Data Link Physical
Network Topology :
Line or Bus
Station 1 Station 2 Station 3
All stations on the N/W require only one interface It has to be ensured that only one station is able to transmitts at a time and all other are permitted to listen. It is necessary to define that when station has right to transmit. this is defined in the access technique.
15-22
Ring
Station 1
Station 2
Station 3
Station 4
Station 5
Station 6
Permission to send also has to be controlled via bus access technique. Advantage : This type of ring is that each node can operate as a repeater so that large distance can be covered. Disadvantage :Failure of node causes grater problem as compare to line Structure.
16-22
Star
Station 1
Station 2
Station 3
*
*
= Star Coupler
It controls the entire communication and if it fails, the entire network usually fails with it.
17-22
Tree
Station 1
Station 2
Station 3 = Repeater
= Repeater
Station 4
Station 5
It is mainly a chain of a number of line structures of diff. Length and types. To connect different types there can be converters like Routers, Bridges and Gateways.
18-22
Bus
Slave 1
Slave 2
Slave 3
The master directs the entire bus traffic. It sends data to the slaves (polling) and gives the slaves the command to send. Direct communication between slaves is usually not possible. The advantage of master/slave techniques is simple and efficient bus control. This is why they are often used in field buses such as PROFIBUS-DP.
20-22
DTE
DCE
Physical Interface
DCE
DTE
Physical Interface
Unbalanced
Balanced
1-8
A DCE device receives data from the DTE and retransmits via another data communications link, such as the telephone system.
4-8
1 2 3 4 5 6
Computer
5 6
Modem
7
8 20
7
8 20
22
22
23
5-8
Workstation, PC
Industrial Ethernet
Cell level
PLC, PC
Field level
PROFIBUS PLC, , PC
Drives Valves
PCs, OS OPs
PGs
Cell level
SIMATIC S5 PROFIBUSDP
S7-400
M7400
S7-300
Field level
AS-I power supply Field device with AS-I ASIC Sensors and Actuators
AS-I submodules
ASIlevel
Plant Level
ASi bus
Cycle time
Transmission medium Max. no. of nodes Network size (approx.) Topology Protocols Applications
AS-Interface
Standard to EN 50 295
For fieldbus connection of
S7-200 S7-300
S5
ET 200
Transfer of data and auxiliary power via a single cable AS-Interface Master for many target systems
V 2.0
V 2.1
LED displays mean reduction in downtimes and servicing times Shorter commissioning times with pushbutton configuration More flexible design through use in ET 200M DP Slave
Configuration Example
Master
max. 100 m
max. 100 m
Repeater
Customer Expectations
PROFIBUS International *
China
102 Members
NAFTA
136 Members
Germany
230 Members
*Status: Q1/2000
Organizations)
Market leadership More than 300,000 applications are already operational Cost reduction and improved flexibility
*Status: Q1/2000
Internet
Enterprise
Peer-to-Peer
Cell Level
Field Level
Valves
Tools
SIEMENS
Drives
Controllers
Instruments
Profibus = Process Field Bus A general purpose open fieldbus for factory, process and buildings automation
DP - Decentralised Periphery for fast communication tasks FMS - Fieldbus Message Specification for complex communication tasks PA- Process Automation for process applications or intrinsic safety
Solution for all your (continued) Peer-to-Peer (Field bus Message Specification - FMS) Connection oriented communication Definition of communication objects Transmission rate up to 12 Mbaud Several masters can participate Master-master communication Several master can write to the same field device Up to 244 bytes of user data
Peer-to-Peer
Solution for all your (continued) High Speed I/O (Decentralized Periphery - DP) High speed data exchange Transmission rate up to 12Mbaud Several masters can participate ONE master ONLY can write to a field device Up to 244 bytes of user data Same cables & components as Peerto-Peer Operation together with Peer-to-Peer in one network possible
Solution for all your (continued) Hazardous Area (Process Automation PA) Protocol is DP - PA field devices are controlled by standard DP Master According to IEC 1158-2 - different physical setup Transmission rate 31.25kbaud Power and data are transferred via the same wire
Conventional Profibus-DP
Control Cabinet
Terminal blocks
PROFIBUS-DP
Advantages:
Distr. Distributor Distr.
Fewer components in the control cabinet. Less cabling required &direct links to devices . Cost reduction in hardware and installation, Less hardware components needed Easy, fast and cheaper installation.
150%
100%
100%
Assembly Hardware
22% 27%
50%
51%
0%
Today (4...20mA)
PROFIBUS
Max. nodes
: 126
Transmission rate : 9.6 kbit/s 12 Mbit/s Access Technique : Token Bus, Master/Slave
Topology
Max. distance (FO) Telegram size
Hazardous area use : Yes (Profibus PA - IEC 1158-2) Data and Power : Yes (Profibus PA)
Electrical network:
Two-wire cable for areas subject to explosion hazards (IEC 11582) Nodes can be connected via Bus terminal or Bus connector. Bus or tree topology
Optical network:
Active Terminator
S7-400
Bus terminal
Repeater
Repeater
TD ET 200
Mbit/s
Connects two PROFIBUS or MPI segments in the RS 485 technique For increasing node count and expansion Segment isolation
DP Master
SIEMENS
SIEMENS
SIEMENS
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15 130
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15 130
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15 130
(2)
(3)
(4)
(5)
(6)
PROFIBUS-DP
It is a protocol optimized for speed, which was specially designed for communication between PLCs (DP masters) and distributed I/Os (DP slaves). It is a low-cost, flexible substitute for transmission of signals on cumbersome parallel 24V and 20mA lines. PROFIBUS-DP is based on DIN 19245 Part 1 and the user-specific extensions in DIN 19245 Part 3.
Slaves
PROFIBUS slaves are simple I/O devices, such as actuators, sensors, transducers, etc. They do not receive the token, that is, they can only acknowledge the receipt of messages or send messages (data) to a master on request. Slaves are also referred to as passive nodes.
Profibus
S7-300
Slaves
PS IM S7 S7 S7 S7 153
intelligent slave
DPNORMSLAVE
compact slaves
modular slave
P G 720
PROFIBUS
FM
SV
MPI interface
PROFIBUS interface
S7-300 CPU with integrated DP Port S7-400 CPU with integrated DP Port
CPs for the SIMATIC S7-400 CP 443-5 Ext. and CP 443-5 Basic(FMS)
CPs for the SIMATIC S7300 CP 342-5 and CP 3435(FMS) CPs for PC/PG
PROFIBUS Slaves
CP 5613 CP 5611
N= Profibus-DP node
CPU with Profibus-DP interface Terminating resistor required Terminating resistor required
N= Profibus-DP node
14
500 Kbit/s
10
2 0 Conditions:
12 Mbit/s
5 30 20 10 Each slave has 2 bytes of input data and 2 bytes of output data. The minimum slave interval time is 200 microseconds Tsdi= 37 bit times, Tsdr= 11 bit times
DP Master
DP Slave
Immediate reply
Printer
CPU 214
SIEMENS
RUN ST OP
SIMATIC S7-200
I0.6 I0.7
SIEMENS
TD 200
F5 F1
F6 F2
F7 F3
F8 F4
SHIFT ESC ENTER
Modem
SF I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I1.0 I1.1 I1.2 I1.3 I1.4 I1.5 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 Q1.0 Q1.1
Operator interface
SIEMENS
CPU 214
RUN ST OP
SIMATIC S7-200
I0.6 I0.7
PLC
SF I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I1.0 I1.1 I1.2 I1.3 I1.4 I1.5 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 Q1.0 Q1.1
SIEMENS
CPU 214
RUN ST OP
SIMATIC S7-200
I0.6 I0.7
SF
Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 SF I0.0 I0.1 I0.2 I0.3 I0.4 I0.5
Q1.0 Q1.1
SIEMENS
CPU 214
RUN ST OP
PG 702
I0.6 I0.7
Q1.0 Q1.1
CPU 214
RUN ST OP
SIMATIC S7-200
I0.6 I0.7
Master The CPU is connected to the COM2 port of the PG via a PC/PPI cable
Master
PG with MPI card Station 0
PPI Protocol
SF I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I1.0 I1.1 I1.2 I1.3 I1.4 I1.5 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 Q1.0 Q1.1
SIEMENS
CPU 214
SF
Q1.0 Q1.1
RUN STOP
SIEMENS
CPU 214
SF
Q1.0 Q1.1
RUN STOP
SIEMENS
CPU 214
RUN STOP
SIMATIC S7-200
I0.6 I0.7
SIMATIC S7-200
I0.6 I0.7
SIMATIC S7-200
I0.6 I0.7
Micro/Win
S7-224 Station 3
S7-224 Station n
SIEMENS TD 200
F5 F1
F6 F2
F7 F3
SIEMENS
RS-485
F5 F1 F6 F2 F7 F3
TD 200
TD-200 Station 5
F8 F4 SHIFT ESC ENTER
TD-200 Station 1
MPI Protocol
S7-221 Station 3
SIEMENS SF RUN STOP I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 SIMATIC S7-200 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 X 3 2 4 SIMATIC S7-200 M i c r o P LC 2 1 2 SIEMENS SF RUN STOP I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 X 3 2 4 SIMATIC S7-200 M i c r o P LC 2 1 2
S7-224 Station 4
S7-226 Station 5
SIEMENS SF RUN STOP I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 X 3 2 4 M i c r o P LC 2 1 2
S7-314 Station 2
Profibus DP : EM 277
S7-315 Master EM-277
SF I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I1.0 I1.1 I1.2 I1.3 I1.4 I1.5 Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 Q1.0 Q1.1
SIEMENS
CPU 214
RUN STOP
S7-226 Slave
SF
Q1.0 Q1.1
SIEMENS
CPU 214
RUN
STOP
SIMATIC S7-200
I0.6 I0.7
SIMATIC S7-200
I0.6 I0.7
3 Profibus MPI
0
PPI
Memory Mapping
CPU 224 V Memory VB0 EM 277 PB-DP module CPU 315 - 2DP I/O address area P 000
VB515 VB516
VB531 VB532
PI 256
PI 271
VB XX
FMS DP
S5-compatible-Communication PG/OP-Communication
SIMATIC Communications
SFC
SFC
SFB
SFB
S7-400
CPU 1 CP CP
S7-300
MPI PROFIBUS S7 Connection using MPI Industrial Ethernet S7 Connection using PROFIBUS
PG 720
Resource :
At the participating stations,connection resources for the end position(e.g.CPU) or for the transition position (e.g. CP) are required for every connection. The number of connection resources depends on the CPU/CP. If all connection resources of a communication partner are occupied, no new connection can be established.
S7 Functions to CPUs
For the S7 functions via the integrated MPI-/PROFIBUS-DP interface, one connection resource is occupied on the CPU for the end position per S7 connection. For the S7 functions via an external CP interface, one connection resource each is occupied on the CPU and on the CP (transition position) per S7 connection.
S7 Functions to FMs
For the S7 functions to a function module (FM) via the internal MPI-/PROFIBUS-DP interface, two connection resources (for two transition positions) are occupied on the CPU per S7 connection and on the FM one connection resource each (for the end position) is occupied.
FM
CP
CPU
FM
FM
PG 720
Main features of the MPI interface Physical Interface : RS 485 PG Transmission rate 19.2 Kbps or 187.5 Kbps. Distance S7 200 up to 50 m (between 2odes) and with 2 repeaters,1100 m SIMATIC-HMI and 23.8 km with optical fiber and star coupler. Profibus components MPI -Network cables, connectors
S7-400
OP
S7-300
S7-300
SFC
SFC
Global Data
0 8 1 5 IW 4 (IW 2)
0 8 1 5 QW 12 (QW 6)
Station 1 4 7 1 1
QW 12 (QW 6)
Station 2 4 7 1 1
IW 4 (IW 2)
S7-300/400 (Client/Server)
X-Send X-Rcv
X-Put X-Get
NAME
X_SEND X_RCV X_GET X_PUT
Short Description
Send block for sending data to the X_RCV (Client) block Receive block for receiving the data of the X_SEND block Read data from the partner PLC Write data to the partner PLC
SFC 69
SFC 72 SFC 73 SFC 74
X_ABORT
I_GET I_PUT I_ABORT
Ethernet Fundamentals
Network components
IE/PB Link
CP 1612
Redundant networks
CP 1613
CP 1515
Fiber-optic cable
Mail server
Access to data
Industrial Ethernet
CP 343-1 IT
CP 343-1 IT
S5-K
IT
TF
OPC
ET200M/F
Operator panel
Safety monitor
EM. STOP
AS-i module
Changes in technology
Industry Software Controller/ Automation System Process Control System Motion Control System HumanMachine Interface
PC based Automation
Distributed I/0
Drives Technology
Industrial Communication
Communication
PC PC Ethernet
Changes in technology
PLC PLC
PLC Fieldbus
PC-based Automation
1990
2000
2010
Changes in technology
Ethernet
Mechanical
PC-based Automation
PROFIBUS
Electrical/Electronics
Distributed I/O
Ethernet
Technological module:
Changes in technology
Ethernet/ ProfibusLink
PROFIBUS
PC-based Automation
Functional Diagram
MPI
SIMATIC FM 353
CPU
PG, PC
FM STEPDRIVE
OP
Human-machine interface Fault diagnosis Drive interface STEP STEP 7 programming Pulses, FM parameterizing Sequence control direction signal
Starting/stopping of positioning
SIMATIC FM 353
Start-Stop frequency
Maximum frequency Acceleration Traversing range Traversing speed
10 Hz to 10 kHz
200 kHz 10Hz/s to 10MHz/s +/- 100m 10 Hz to 50 kHz
Axis error corrections Non-reversing compensation Offset compensation Drift compensation Override Feed and time override Acceleration override (programmable) Switching functions (M functions) Acknowledgement-controlled Timed Path-dependent
Functional Diagram
MPI PG/PC OP CPU FM 354
SIMATIC FM 354
SIMODRIVE 611U
Encoder servo motor interface SSI/incremen Drive interface +/Sequence control tal 10V Starting/stopping of positioning
SIMATIC FM 354
Position control for linear and round axes Universal drive interface +/- 10V Selectable position encoder Incremental encoder (RS 422) Absolute value encoder (SSI) 1 reference point with incremental encoder 2 software limit switches
Simulation mode Parking axis Teach In Operating modes Reference point approach Setting up Incremental dimension MDI Automatic/single block Control
SIMATIC FM 354
SIMATIC FM 354
0s to 9.999s
SIMATIC FM 354
Axis error corrections Non-reversing compensation Offset compensation Drift compensation Monitoring following error Override Feed and time override Acceleration override (programmable) Switching functions (M functions) Acknowledgement-controlled Timed, Path-dependent
Machine data
Traversing programs Incremental dimension table 1 to 100 incremental dimensions can be defined Tool corrections 20 correction and wear values can be defined
SIMATIC FM 354
Abrupt acceleration
Lower wear
Structure Diagram
M PI Setup Monitoring SIMATIC S7-400
Stepper driver
Machine
FM 453
e.g. Field PG
e.g. OP 27
SIMATIC FM 453
CPU
Stepper motor S IM O D R IV E 6 1 1U
S IE M E N S
1 F T6
VS A
E / R
STEP 7 programming Setup of the FM Monitoring & Control Diagnostics in case of error Machine control Start, Stop of positioning Drive interface Pulses and Direction Communication of the S7 CPU with FM 453 via function blocks