Profibus Basics Slides 1
Transcript of Profibus Basics Slides 1
PROFIBUS BasicsDate 09/06/00, Page 1
PROFIBUS Basics
s
Active Stations
Passive Stations (Field Devices)
PLCPC
PROFIBUS
PROFIBUS BasicsDate 09/06/00, Page 2
PROFIBUS Basics
s
All PROFIBUS servicesHigh Speed Data Exchange
Peer to Peer
Hazardous Area
can be used together in one networkTherefore Communication is Transparent for the UserSame Cable and Components for High Speed Data Exchange and Peer to Peer
PROFIBUS BasicsDate 09/06/00, Page 3
PROFIBUS Basics
s
High-Speed Data Exchange FeaturesSame priority for all field devices
Communication is permanent & cyclic
Amount of data specified during configuration
Only one master can write to outputs (safety aspect)
Acyclic communication to field devices possible by using extended functions (DP Extended/DPV1)
Alarm acknowledgment
Up to 244 bytes input AND 244 bytes output data per field device
Fastest fieldbus system (up to 12Mbaud)
PROFIBUS BasicsDate 09/06/00, Page 4
PROFIBUS Basics
s
System Configuration
PLC
PROFIBUS
GSD GSD GSD GSD GSD GSD
Plug & Play With Electronic Device Data SheetsPROFIBUS
Configuration Tool
Electronic Device Data Sheets (GSD, GSE, GSF, GSG, GSI, GSP, GSS Files)
PROFIBUS BasicsDate 09/06/00, Page 5
PROFIBUS Basics
s
High-Speed Data Exchange - Startup Sequence
Power ON/Reset
Power ON/Reset of Master or Slave
ParameterizationDownload of Parameters into the Field Device (selected during Configuration by the User)
I/O ConfigurationDownload of I/O Configuration into the Field Device (selected during Configuration by the User)
Data ExchangeCyclic Data Exchange (I/O Data)and Field Device reports Diagnostics
PROFIBUS BasicsDate 09/06/00, Page 6
PROFIBUS Basics
s
High-Speed Data Exchange - Parameterization
Master Slave
Features Implemented in DeviceDescribed in GSD FileProcessed by Configuration ToolSelected at ConfigurationExamples:
Enable Channel DiagnosticOperation Range for Analog Channels
(e.g. ±10V or 0..10V)Fail Safe Behavior (e.g. Hold Last
Value)
Parameter Download (up to 244 bytes)
= Parameterization Data = Confirmation (Data Received)
PROFIBUS BasicsDate 09/06/00, Page 7
PROFIBUS Basics
s
Parameterization (continued)Parameter selection with Configuration Tool
jsdfehrgihw[orijth]ewj]ypokjekygadfgsadfhsfghjjsffghsfghfdhsdldajhtviertivetvert34524575687356nj8467knggnhngjtrby5yik57859mnnbvt456hn,g76nkbvijyuftisdt0iewryt9eiuoriyrywkrowrgowrtohworthorthwrthrthwrthrwthtryjtyjyukytyjy7u79jtyu568566utrtjhyuiuikujkhyjiyuiyuiithjyukiuio7ujtyujytuoiukytyjyukuikyukuiluiliuioliuiluiil6buhyijtiu8o67m8m747567n8567n75567nm78m78,om87o,56nu78m,,9o,0p.90.p;0;.;’-;/
jsdfehrgihw[orijth]ewj]ypokjekygadfgsadfhsfghjjsffghsfghfdhsdldajhtviertivetvert34524575687356nj8467knggnhngjtrby5yik57859mnnbvt456hn,g76nkbvijyuftisdt0iewryt9eiuoriyrywkrowrgowrtohworthorthwrthrthwrthrwthtryjtyjyukytyjy7u79jtyu568566utrtjhyuiuikujkhyjiyuiyuiithjyukiuio7ujtyujytuoiukytyjyukuikyukuiluiliuioliuiluiil6buhyijtiu8o67m8m747567n8567n75567nm78m78,om87o,56nu78m,,9o,0p.90.p;0;.;’-;/
Fewer DIP Switches - NO Handheld - NO Extensive Additional DocumentationUser defines every Function in ONE Tool.
PROFIBUS BasicsDate 09/06/00, Page 8
PROFIBUS Basics
s
High-Speed Data Exchange - Configuration
Master
Configuration Download (up to 244 bytes)
= Configuration Data = Confirmation (Data Received)
Possible I/O Selections described in GSD FileProcessed by Configuration ToolSelected at ConfigurationExamples
8DI (1 Byte), 8DO (1 Byte)2AI (2 Words), 2AO (2 Words)RS232 Interface, Counter Module
Slave
PROFIBUS BasicsDate 09/06/00, Page 9
PROFIBUS Basics
s
Configuration Tool (continued)I/O selection with Configuration Tool
PROFIBUS BasicsDate 09/06/00, Page 10
PROFIBUS Basics
s
PROFIBUS Demo
Parameter & I/O
Selection
Parameter & I/O
Selection
PROFIBUS BasicsDate 09/06/00, Page 11
PROFIBUS Basics
s
High-Speed I/O - Data Exchange & Diagnostics
Master Slave
= Output Data = Input Data
Master Slave
Slave indicates diagnostics to report
Data Exchange (up to 244 bytes)
= Diagnostic Indicator
PROFIBUS BasicsDate 09/06/00, Page 12
PROFIBUS Basics
s
Data Exchange & Diagnostics (continued)
Master Slave
= Diagnostic Request = Diagnostic Response
Master Slave
Data Exchange (up to 244 bytes)
Diagnostic Request and Response (up to 244 bytes)
PROFIBUS BasicsDate 09/06/00, Page 13
PROFIBUS Basics
s
Diagnostic Response (continued)
6 Bytes Mandatory
Header Header Header
Device Related
(Optional)
Identifier Related
(Optional)
Channel Related
(Optional)
Up to 244 Bytes
e.g. wrong
configuratione.g. no load
powere.g. module #4
has diagnostice.g. wire break or
short circuit
PROFIBUS BasicsDate 09/06/00, Page 14
PROFIBUS Basics
s
High-Speed Data Exchange - Fail Safe
What happens if my bus fails:valve open, valve closed, valve 1/2 open…???
Optional feature Fail Safe specifies behavior of
Outputs in case of Communication Loss
Optional feature Fail Safe specifies behavior of
Outputs in case of Communication Loss
PROFIBUS BasicsDate 09/06/00, Page 15
PROFIBUS Basics
s
Fail Safe (continued)Optional Feature for Field Devices
Defined in Electronic Device Data Sheet
Manufacturer has the capability to allow the End User to specify the action on loss of communication
Hold outputs at the last value received (e.g. valve 1/2 open)Set outputs to a specified value (e.g. open or close valve completely)
User defines action during Parameterization
PROFIBUS BasicsDate 09/06/00, Page 16
PROFIBUS Basics
s
Fail Safe (continued)
PROFIBUS BasicsDate 09/06/00, Page 17
PROFIBUS Basics
s
PROFIBUS Demo
Diagnostics & Fail Safe
Diagnostics & Fail Safe
PROFIBUS BasicsDate 09/06/00, Page 18
PROFIBUS Basics
s
High-Speed Data Exchange Timing10 Stations With 2 Byte I/O (160 In/Output Signals)
Bus Cycle Time 0.8ms
PROFIBUS BasicsDate 09/06/00, Page 19
PROFIBUS Basics
s
High-Speed Data Exchange Timing10 Stations With 128 byte I/O (10,240 In/ Output Signals)
Bus Cycle Time 2.0ms
PROFIBUS BasicsDate 09/06/00, Page 20
PROFIBUS Basics
s
High-Speed Data Exchange TimingTypical Cycle Time - Each Station With 2 Byte I/O
0.3 0.52.1
8.8
2.0
20.5
1.50.8
3.32.00.9
6.14.6
7.7
14.1
0.0
2.0
4.0
6.0
8.0
10.0
12.0
14.0
16.0
18.0
20.0
1 5 10 20 30 [Number ofSlaves]
[ms]
12MBaud
1.5MBaud
500kBaud
PROFIBUS BasicsDate 09/06/00, Page 21
PROFIBUS Basics
s
PROFIBUS SummaryExtensive Parameterization Features
Extensive Diagnostic Features
Fail-Safe Behavior
Deterministic
Fast (Up to 12 MBaud)
Safe and Reliable
Easy Configuration
Capabilities for Complete Plant Solution from Cell to Bit Level