SlideShare a Scribd company logo
1 of 26
Download to read offline
Unrestricted © Siemens 2020
www.siemens.com/profinet
Unrestricted © Siemens 2020
PROFINET – RT vs IRT
Unrestricted © Siemens 2020
Communication Basics
Ethernet + Profinet = Industrial Ethernet
Page 2
• Profinet is complimentary to Ethernet
• Profinet is “Industrial Ethernet”
• Profinet devices include IO-controllers and IO-Devices
• Profinet is “Fast Ethernet” ie 100Mbit/s Full Duplex
• Profinet devices, connectors and cable are suited to
industrial applications
IO-Controller
IO-Devices
Unrestricted © Siemens 2020
Communication Basics
Transmission methods
Page 3
• PROFINET follows a “Consumer-Provider” Model
• Cyclic, deterministic data transfer for time-critical applications
• Prioritization of time-critical data
• Acyclic data transmission for configuration, monitoring and diagnostics/alarming
Acyclic Data:
Parameterization, Diagnostics,
Monitoring/Controlling
Cyclic Data:
Process Data
Acyclic Data:
Configuration, Alarms
IO-Controller
IO-Device
IO-Supervisor
Unrestricted © Siemens 2020
Communication Basics
Profinet communication channels
Page 4
None Real Time (NRT) <100ms cycle
• Acyclic
• Uses TCP/IP
• Left lane
Real Time (RT) <10ms cycle
• Cyclic
• Skips the TCP/IP layers
• Over taking lane
Isochronous Real Time (IRT) <1ms cycle
• Cyclic
• Reserved Bus lane
NRT
NRT
IRT
RT
RT RT
NRT
NRT
NRT
IRT IRT
Unrestricted © Siemens 2020
Open
Controller
S7-1200
Page 5
Function
S7-1500
IO-Controller
RT IRT
Controller
S7-300 /
S7-400
Communication Basics
Controller selection
RT
• ~80% applications require RT only
• In this case any controller is suitable
IRT
• The remaining applications will require
high speed capabilities
• Synchronised Motion
• Precision Measuring
• Precision IO
• Ethernet switches can be used but
selection guidelines must be followed
• ie IRT = Conformance Class C
NRT
Unrestricted © Siemens 2020
Application
Presentation
Session
Transport (TCP)
Network (IP)
Data Link
Physical
Communication Basics
OSI 7 layer model
Page 6
2
3
4
5
6
7
1
PROFINET RT
IEEE 802
PROFINET RT
PROFINET NRT
• Each layer adds processing time
• NRT is used for configuration, web server, diagnostics and other none real time tasks
• RT is typically used for standard cyclic data acquisition
• IRT is used for high speed data transfer
PROFINET IRT
Modified 802.3
PROFINET IRT
PROFINET NRT
Cyclic Data:
Process Data
Acyclic Data:
Configuration,
Diagnostic/Alarms
Unrestricted © Siemens 2020
Communication Basics
OSI 7 layer model – closer look
Page 7
The OSI layer model for structured communication
Physical
Data link
Network
Transport
Session
Presentation
Application
1
2
3
4
5
6
7
Ethernet
IP
TCP, UDP
Services
100 Base TX/FX
Layer
HTTP, SNMP usw.
Ethernet
Header
IP
Header
TCP
Header
user data
Ethernet
Trailer
IP
Header
TCP
Header
user data
TCP
Header
user data
Ethernet
Header
PN
Header
PN Application data
Ethernet
Trailer
Web pages, email, live pictures, etc. IO data
Unrestricted © Siemens 2020
Profinet RT
No synchronization of cycles
Page 8
T1
T2
T3
T4
T7
T6
T5
Various uncoordinated cycles
• T1: sampling of input
• T2: backplane bus ET 200
• T3: Profinet I/O
• T4: CPU cycle (OB1)
• T5: Profinet I/O
• T6: backplane bus ET 200
• T7: setting output
Time precision of output signal (OB1-output)
2 x sum of all cycles from CPU to output (T4 - T7)
Controller
Device Device
Reaction time (input-output)
• Best case: sum of all individual cycles
• Worst case: 2 x (sum of all individual cycles)
RT – Real Time:
• Real-time communication between controller and
device
• Each device has its own update time
• Processing in the standard user program (e.g. OB1)
Input Output
Unrestricted © Siemens 2020
T1
T2
T3
T4
T7
T6
T5
TI: Read in ALL inputs of ALL devices at a fixed predefined
time
Profinet IRT
Isochronous mode for fast reaction time
Page 9
T1
T2
T3
T8
T7
T6
T5
Controller
Device Device
TO
Q
OB
I Q
OB
I Q
OB
I
System clock
TI
OB: processing in the CPU
TO: Writes ALL outputs of all devices at a fixed predefined
time
IRT – Isochronous Real Time:
• All cycles are synchronized with each other
• Special hardware is needed ie HF modules
• IRT packets are transmitted in a reserved bandwidth
• Isochronous mode: Synchronized processing in the
user program using "synchronous cycle" OB6x (T8)
Input Output
Unrestricted © Siemens 2020
Cycle time Time based IO
Oversampling
Typical 500 µs cycle
CPU1518 V2.0: 125 µs
By optimized packing of data the
transmission time gets reduced:
▪ Less time on LAN
▪ More time of the cycle for
Sync-OB
▪ More time for Non-IRT on LAN
Peripheral module separates PN
cycle into smaller sampling cycle.
All samples are sent to the PLC.
Rising and falling edge of signal
are transmitted with timestamp
→ high precision signal capturing
Outputs triggered with timestamp
→ high precision reaction
I/O update time
1ms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Value capturing
Sending
16
values
System update time
E
t1 t2
TIO Time
tΔ := t2 - t1;
sΔ := v * tΔ;
Synchronous OB
Profinet IRT
Additional capabilities
Page 10
Unrestricted © Siemens 2020
Profinet RT/IRT
Functional Overview
Page 11
• Real-time communication
• Update time >=250µs
• Applications:
• manufacturing
engineering
• building automation
• automation equipment
RT
• Real-time communication with
reserved bandwidth and
synchronized cycles
• Update time >=125µs
• Special hardware
• Requirement for
isochronous mode
• Applications:
• Motion control
• Precise reactions
• Real-time communication with
synchronized OB61
• Synchronization of the user
program to all other
synchronized cycles
• Requirement for further
functions
e.g. Oversampling and time-
based IO
• Applications:
• Motion control
• Precise reactions
• measuring technology
IRT Isochronous
Unrestricted © Siemens 2020
Profinet IRT
Key requirements
Page 12
• Define Topology in TIA ‘Topology view’
o Ensures optimised data transfer
o Allows scheduled transfers
• Configure interface real time settings and
set synchronization role
• Ensure correct settings for the sync
domain
o Optional High performance
o Optional Fast forwarding
Unrestricted © Siemens 2020
Profinet IRT
Key requirements
Page 13
Insert Synchronous OB6x or Motion OB
Enable Isochronous mode on each IO Device
• Will ensure IO is sync’d with Motion or
OB6x
Unrestricted © Siemens 2020
Profinet IRT
IRT in reality (oscilloscope)
Page 14
IRT on the oscilloscope vs. TIA Portal
• TIA / Step7 calculates timing beforehand
• Reaction time predefined
• Live result as expected
Data processing
Data In
Data Out
IRT RT/NRT NRT
t
Controller Application
T_DCn (CACF = 1)
Controller Application
T_DCn+1 (CACF = 1)
Controller Application
T_DCn-1 (CACF = 1)
T0
TI
Time of
acquisition
Time of output
(response to the
process)
Minimum response time
Maximum response time
Change of the input signal
Time of acquisition
referring to the
IRT-cycle
Time of output
referring to the
IRT-cycle
= TI + T_DC + T0
= TI + 2xT_DC + T0
Time IO
Output
Valid
TI
Data
transmission on
the bus
Peripheral device
Data
processing
Data
processing
Control unit
Input
Output
Unrestricted © Siemens 2020
Profinet IRT
Time slice model
Page 15
Partitioning of the bus cycle
• Separate time slices (time domains) for IRT and rest (RT, TCP/UDP,..)
• High precision cycle synchronization
• Based on optimized switch ASIC → special hardware needed
Cycle 1 Cycle 2
= time domain
Cycle n
IRT-
channel
Standard
channel
Isochronous
communication
RT/ Standard
communication
IRT-
channel
Standard
channel
IRT-
channel
E.g. 1 ms position control cycle
IRT-data
Synchro-
nization
RT-data / TCP/IP-data
Unrestricted © Siemens 2020
Profinet IRT
Time slice model in detail
Page 16
Cycle 1 Cycle 2
IRT-
channel
Standard
channel
IRT-
channel
Standard
channel
Send clock 500µs – 1ms
PN IO
RT/IRT NRT
0% 50% 100%
Send clock > 1ms
PN IO
RT/IRT NRT
0% 500µs
fix
1,125 –
4ms
max 50% PN
0-500µs
~ 50% - 12,5% PN
0-500µs
Send clock 250µs
PN IO
RT/IRT NRT
0%
100µs
fix
250µs
40% PN
0-100µs
Overview in TIA Portal:
• Reserved bandwidth can be set in TIA Portal
• Used bandwidth is displayed separately for IRT and
RT
Fixed bandwidth for IRT in theory:
1
2
1
2
Unrestricted © Siemens 2020
Profinet IRT
Fast forwarding
Page 17
• To forward frames, a device needs to
see the frame ID
• This typically takes 1440ns
• Using performance mode, this is
improved to 320ns
• Frame ID leads the Profinet frame
Unrestricted © Siemens 2020
Profinet IRT
Dynamic Frame Packing
Page 18
• Each DFP frame includes a specific
device data along with other devices
on the line
• Each device takes its data and
forwards on
• This leads to an overall improvement
in network bandwidth
Unrestricted © Siemens 2020
Profinet IRT
Fragmentation
Page 19
• A complete standard Ethernet TCP/IP
frame takes 125uS so cycle time cannot
be reduced
• Performance mode allows fragmentation
of these frames into sub frames
• Cycles times <250us are achievable
• Fragmented frames reassembled at the
target device
• Fragmentation requires one port to be
blocked on the IO controller
Unrestricted © Siemens 2020
IRT Use Case 1: Motion Control
Flying Saw
• Saw axis is synchronised to the primary feed axis
• Configuration of Topology
• Each Servo drive is assigned to a Technology Object (TO)
• Primary = Positioning axis
• Saw = Synchronous axis
• Syncronisation done via OB91 MC-Servo
Page 20
Unrestricted © Siemens 2020
IRT Use Case 2: Time based IO
Measure box length on conveyor
• Speed detection can be from various sources
• Sinamic Drive/Servo
• Profinet encoder
• TM Timer DIDQ and a suitable encoder
• Sensor input via TM Timer DIDQ 16x24V or TM Timer DIDQ
10x24V
• Sensor input rising and failing edges are time stamped
• Measuring function block is called within Synchronous OB6x
• Independant of varying cyclic variations of standad OBs
Page 21
Unrestricted © Siemens 2020
IRT Use Case 3: Precise Control
Precise hydraulic pressure control
• Utilises ET200SP TM Pulse 2x24V
• Various output modes to suit proportional valve
• PWM
• Pulse train
• On/Off delay
• Freq output
• PWM with DC motor
• Dithering can be superimposed on the PWM output to ensure
easy movement even with sticky valves
• Isochronous mode improves control properties but not
essential
Page 22
Unrestricted © Siemens 2020
IRT Use Case 4: Precise measurements
CAM shaft measurement
• Measure each cam during rotation with high accuracy
• Measurements are syncronously caputured while in motion
• Program code is managed within Synchronous OB6x
• Due to high speed measurements, machine cycle is reduced
Page 23
Unrestricted © Siemens 2020
IRT Use Case 5: Measured values
Signal Oversampling
• Allows high speed inline testing of product
• Can be activated in ET200SP High Speed (HS) modules
• Requires distributed IO
• Oversample range 2 -16 sub cycles/cycle
• Requires Isocronous mode via OB6x
Page 24
Unrestricted © Siemens 2020
Profinet RT vs IRT
Page 25
1. RT monitoring via Oscilloscope
2. TIA Portal Settings
3. Isochronous OB + Settings
4. IRT monitoring via Oscilloscope
in 50 min.
L I V E D E M O
Unrestricted © Siemens 2020
Q&A
Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may
not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested
performance features are binding only when they are expressly agreed upon in the concluded contract.
All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties.
Their unauthorized use may infringe the rights of the respective owner.
siemens.com
Robert Westlake
Siemens – Application Engineer
robert.westlake@siemens.com
siemens.com
Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may
not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested
performance features are binding only when they are expressly agreed upon in the concluded contract.
All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties.
Their unauthorized use may infringe the rights of the respective owner.

More Related Content

Similar to Siemens-profinet-rt-vs-irt-webinar-13oct2020.pdf

Ls catalog thiet bi tu dong master p 5000-e
Ls catalog thiet bi tu dong master p 5000-eLs catalog thiet bi tu dong master p 5000-e
Ls catalog thiet bi tu dong master p 5000-eDien Ha The
 
Real-time Ethernet for Machine Control
Real-time Ethernet for Machine ControlReal-time Ethernet for Machine Control
Real-time Ethernet for Machine ControlDesign World
 
PLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptPLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptSachin Patidar
 
Lecture+9+-+SCADA+Systems.pdf
Lecture+9+-+SCADA+Systems.pdfLecture+9+-+SCADA+Systems.pdf
Lecture+9+-+SCADA+Systems.pdfSmritiGarg21
 
Microsemi tp5000 datasheet_vf
Microsemi tp5000 datasheet_vfMicrosemi tp5000 datasheet_vf
Microsemi tp5000 datasheet_vfCharlie Ateenyi
 
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S..."Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...Marina Krotofil
 
Lecture+9+-+SCADA+Systems.pptx
Lecture+9+-+SCADA+Systems.pptxLecture+9+-+SCADA+Systems.pptx
Lecture+9+-+SCADA+Systems.pptxsurangagw
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulADVA
 
ICP DAS USA Products Presentation
ICP DAS USA Products PresentationICP DAS USA Products Presentation
ICP DAS USA Products PresentationColin McLeod
 
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...PROFIBUS and PROFINET InternationaI - PI UK
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزEssosElectronic
 
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIONicolas Lesconnec
 
Methods for Improving NTP
Methods for Improving NTPMethods for Improving NTP
Methods for Improving NTPADVA
 
Intelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationIntelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationTal Lavian Ph.D.
 

Similar to Siemens-profinet-rt-vs-irt-webinar-13oct2020.pdf (20)

Ls catalog thiet bi tu dong master p 5000-e
Ls catalog thiet bi tu dong master p 5000-eLs catalog thiet bi tu dong master p 5000-e
Ls catalog thiet bi tu dong master p 5000-e
 
Cip motion cip sync
Cip motion   cip sync Cip motion   cip sync
Cip motion cip sync
 
Real-time Ethernet for Machine Control
Real-time Ethernet for Machine ControlReal-time Ethernet for Machine Control
Real-time Ethernet for Machine Control
 
SDI to IP 2110 Transition Part 2
SDI to IP 2110 Transition Part 2SDI to IP 2110 Transition Part 2
SDI to IP 2110 Transition Part 2
 
PLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptPLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.ppt
 
Lecture+9+-+SCADA+Systems.pdf
Lecture+9+-+SCADA+Systems.pdfLecture+9+-+SCADA+Systems.pdf
Lecture+9+-+SCADA+Systems.pdf
 
PROFINET - applying the Ethernet standard to industral automation - Peter Th...
PROFINET  - applying the Ethernet standard to industral automation - Peter Th...PROFINET  - applying the Ethernet standard to industral automation - Peter Th...
PROFINET - applying the Ethernet standard to industral automation - Peter Th...
 
Microsemi tp5000 datasheet_vf
Microsemi tp5000 datasheet_vfMicrosemi tp5000 datasheet_vf
Microsemi tp5000 datasheet_vf
 
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S..."Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...
"Man-in-the-SCADA": Anatomy of Data Integrity Attacks in Industrial Control S...
 
Lecture+9+-+SCADA+Systems.pptx
Lecture+9+-+SCADA+Systems.pptxLecture+9+-+SCADA+Systems.pptx
Lecture+9+-+SCADA+Systems.pptx
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaul
 
Introduction to PROFINET - Derek Lane of Wago
Introduction to PROFINET -  Derek Lane of WagoIntroduction to PROFINET -  Derek Lane of Wago
Introduction to PROFINET - Derek Lane of Wago
 
ICP DAS USA Products Presentation
ICP DAS USA Products PresentationICP DAS USA Products Presentation
ICP DAS USA Products Presentation
 
DTS_4148-grandmaster
DTS_4148-grandmasterDTS_4148-grandmaster
DTS_4148-grandmaster
 
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنز
 
IO-Link for the last metres communication - Derek Lane
IO-Link for the last metres communication - Derek LaneIO-Link for the last metres communication - Derek Lane
IO-Link for the last metres communication - Derek Lane
 
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
 
Methods for Improving NTP
Methods for Improving NTPMethods for Improving NTP
Methods for Improving NTP
 
Intelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationIntelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow Manipulation
 

Recently uploaded

Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 

Recently uploaded (20)

Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 

Siemens-profinet-rt-vs-irt-webinar-13oct2020.pdf

  • 1. Unrestricted © Siemens 2020 www.siemens.com/profinet Unrestricted © Siemens 2020 PROFINET – RT vs IRT
  • 2. Unrestricted © Siemens 2020 Communication Basics Ethernet + Profinet = Industrial Ethernet Page 2 • Profinet is complimentary to Ethernet • Profinet is “Industrial Ethernet” • Profinet devices include IO-controllers and IO-Devices • Profinet is “Fast Ethernet” ie 100Mbit/s Full Duplex • Profinet devices, connectors and cable are suited to industrial applications IO-Controller IO-Devices
  • 3. Unrestricted © Siemens 2020 Communication Basics Transmission methods Page 3 • PROFINET follows a “Consumer-Provider” Model • Cyclic, deterministic data transfer for time-critical applications • Prioritization of time-critical data • Acyclic data transmission for configuration, monitoring and diagnostics/alarming Acyclic Data: Parameterization, Diagnostics, Monitoring/Controlling Cyclic Data: Process Data Acyclic Data: Configuration, Alarms IO-Controller IO-Device IO-Supervisor
  • 4. Unrestricted © Siemens 2020 Communication Basics Profinet communication channels Page 4 None Real Time (NRT) <100ms cycle • Acyclic • Uses TCP/IP • Left lane Real Time (RT) <10ms cycle • Cyclic • Skips the TCP/IP layers • Over taking lane Isochronous Real Time (IRT) <1ms cycle • Cyclic • Reserved Bus lane NRT NRT IRT RT RT RT NRT NRT NRT IRT IRT
  • 5. Unrestricted © Siemens 2020 Open Controller S7-1200 Page 5 Function S7-1500 IO-Controller RT IRT Controller S7-300 / S7-400 Communication Basics Controller selection RT • ~80% applications require RT only • In this case any controller is suitable IRT • The remaining applications will require high speed capabilities • Synchronised Motion • Precision Measuring • Precision IO • Ethernet switches can be used but selection guidelines must be followed • ie IRT = Conformance Class C NRT
  • 6. Unrestricted © Siemens 2020 Application Presentation Session Transport (TCP) Network (IP) Data Link Physical Communication Basics OSI 7 layer model Page 6 2 3 4 5 6 7 1 PROFINET RT IEEE 802 PROFINET RT PROFINET NRT • Each layer adds processing time • NRT is used for configuration, web server, diagnostics and other none real time tasks • RT is typically used for standard cyclic data acquisition • IRT is used for high speed data transfer PROFINET IRT Modified 802.3 PROFINET IRT PROFINET NRT Cyclic Data: Process Data Acyclic Data: Configuration, Diagnostic/Alarms
  • 7. Unrestricted © Siemens 2020 Communication Basics OSI 7 layer model – closer look Page 7 The OSI layer model for structured communication Physical Data link Network Transport Session Presentation Application 1 2 3 4 5 6 7 Ethernet IP TCP, UDP Services 100 Base TX/FX Layer HTTP, SNMP usw. Ethernet Header IP Header TCP Header user data Ethernet Trailer IP Header TCP Header user data TCP Header user data Ethernet Header PN Header PN Application data Ethernet Trailer Web pages, email, live pictures, etc. IO data
  • 8. Unrestricted © Siemens 2020 Profinet RT No synchronization of cycles Page 8 T1 T2 T3 T4 T7 T6 T5 Various uncoordinated cycles • T1: sampling of input • T2: backplane bus ET 200 • T3: Profinet I/O • T4: CPU cycle (OB1) • T5: Profinet I/O • T6: backplane bus ET 200 • T7: setting output Time precision of output signal (OB1-output) 2 x sum of all cycles from CPU to output (T4 - T7) Controller Device Device Reaction time (input-output) • Best case: sum of all individual cycles • Worst case: 2 x (sum of all individual cycles) RT – Real Time: • Real-time communication between controller and device • Each device has its own update time • Processing in the standard user program (e.g. OB1) Input Output
  • 9. Unrestricted © Siemens 2020 T1 T2 T3 T4 T7 T6 T5 TI: Read in ALL inputs of ALL devices at a fixed predefined time Profinet IRT Isochronous mode for fast reaction time Page 9 T1 T2 T3 T8 T7 T6 T5 Controller Device Device TO Q OB I Q OB I Q OB I System clock TI OB: processing in the CPU TO: Writes ALL outputs of all devices at a fixed predefined time IRT – Isochronous Real Time: • All cycles are synchronized with each other • Special hardware is needed ie HF modules • IRT packets are transmitted in a reserved bandwidth • Isochronous mode: Synchronized processing in the user program using "synchronous cycle" OB6x (T8) Input Output
  • 10. Unrestricted © Siemens 2020 Cycle time Time based IO Oversampling Typical 500 µs cycle CPU1518 V2.0: 125 µs By optimized packing of data the transmission time gets reduced: ▪ Less time on LAN ▪ More time of the cycle for Sync-OB ▪ More time for Non-IRT on LAN Peripheral module separates PN cycle into smaller sampling cycle. All samples are sent to the PLC. Rising and falling edge of signal are transmitted with timestamp → high precision signal capturing Outputs triggered with timestamp → high precision reaction I/O update time 1ms 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Value capturing Sending 16 values System update time E t1 t2 TIO Time tΔ := t2 - t1; sΔ := v * tΔ; Synchronous OB Profinet IRT Additional capabilities Page 10
  • 11. Unrestricted © Siemens 2020 Profinet RT/IRT Functional Overview Page 11 • Real-time communication • Update time >=250µs • Applications: • manufacturing engineering • building automation • automation equipment RT • Real-time communication with reserved bandwidth and synchronized cycles • Update time >=125µs • Special hardware • Requirement for isochronous mode • Applications: • Motion control • Precise reactions • Real-time communication with synchronized OB61 • Synchronization of the user program to all other synchronized cycles • Requirement for further functions e.g. Oversampling and time- based IO • Applications: • Motion control • Precise reactions • measuring technology IRT Isochronous
  • 12. Unrestricted © Siemens 2020 Profinet IRT Key requirements Page 12 • Define Topology in TIA ‘Topology view’ o Ensures optimised data transfer o Allows scheduled transfers • Configure interface real time settings and set synchronization role • Ensure correct settings for the sync domain o Optional High performance o Optional Fast forwarding
  • 13. Unrestricted © Siemens 2020 Profinet IRT Key requirements Page 13 Insert Synchronous OB6x or Motion OB Enable Isochronous mode on each IO Device • Will ensure IO is sync’d with Motion or OB6x
  • 14. Unrestricted © Siemens 2020 Profinet IRT IRT in reality (oscilloscope) Page 14 IRT on the oscilloscope vs. TIA Portal • TIA / Step7 calculates timing beforehand • Reaction time predefined • Live result as expected Data processing Data In Data Out IRT RT/NRT NRT t Controller Application T_DCn (CACF = 1) Controller Application T_DCn+1 (CACF = 1) Controller Application T_DCn-1 (CACF = 1) T0 TI Time of acquisition Time of output (response to the process) Minimum response time Maximum response time Change of the input signal Time of acquisition referring to the IRT-cycle Time of output referring to the IRT-cycle = TI + T_DC + T0 = TI + 2xT_DC + T0 Time IO Output Valid TI Data transmission on the bus Peripheral device Data processing Data processing Control unit Input Output
  • 15. Unrestricted © Siemens 2020 Profinet IRT Time slice model Page 15 Partitioning of the bus cycle • Separate time slices (time domains) for IRT and rest (RT, TCP/UDP,..) • High precision cycle synchronization • Based on optimized switch ASIC → special hardware needed Cycle 1 Cycle 2 = time domain Cycle n IRT- channel Standard channel Isochronous communication RT/ Standard communication IRT- channel Standard channel IRT- channel E.g. 1 ms position control cycle IRT-data Synchro- nization RT-data / TCP/IP-data
  • 16. Unrestricted © Siemens 2020 Profinet IRT Time slice model in detail Page 16 Cycle 1 Cycle 2 IRT- channel Standard channel IRT- channel Standard channel Send clock 500µs – 1ms PN IO RT/IRT NRT 0% 50% 100% Send clock > 1ms PN IO RT/IRT NRT 0% 500µs fix 1,125 – 4ms max 50% PN 0-500µs ~ 50% - 12,5% PN 0-500µs Send clock 250µs PN IO RT/IRT NRT 0% 100µs fix 250µs 40% PN 0-100µs Overview in TIA Portal: • Reserved bandwidth can be set in TIA Portal • Used bandwidth is displayed separately for IRT and RT Fixed bandwidth for IRT in theory: 1 2 1 2
  • 17. Unrestricted © Siemens 2020 Profinet IRT Fast forwarding Page 17 • To forward frames, a device needs to see the frame ID • This typically takes 1440ns • Using performance mode, this is improved to 320ns • Frame ID leads the Profinet frame
  • 18. Unrestricted © Siemens 2020 Profinet IRT Dynamic Frame Packing Page 18 • Each DFP frame includes a specific device data along with other devices on the line • Each device takes its data and forwards on • This leads to an overall improvement in network bandwidth
  • 19. Unrestricted © Siemens 2020 Profinet IRT Fragmentation Page 19 • A complete standard Ethernet TCP/IP frame takes 125uS so cycle time cannot be reduced • Performance mode allows fragmentation of these frames into sub frames • Cycles times <250us are achievable • Fragmented frames reassembled at the target device • Fragmentation requires one port to be blocked on the IO controller
  • 20. Unrestricted © Siemens 2020 IRT Use Case 1: Motion Control Flying Saw • Saw axis is synchronised to the primary feed axis • Configuration of Topology • Each Servo drive is assigned to a Technology Object (TO) • Primary = Positioning axis • Saw = Synchronous axis • Syncronisation done via OB91 MC-Servo Page 20
  • 21. Unrestricted © Siemens 2020 IRT Use Case 2: Time based IO Measure box length on conveyor • Speed detection can be from various sources • Sinamic Drive/Servo • Profinet encoder • TM Timer DIDQ and a suitable encoder • Sensor input via TM Timer DIDQ 16x24V or TM Timer DIDQ 10x24V • Sensor input rising and failing edges are time stamped • Measuring function block is called within Synchronous OB6x • Independant of varying cyclic variations of standad OBs Page 21
  • 22. Unrestricted © Siemens 2020 IRT Use Case 3: Precise Control Precise hydraulic pressure control • Utilises ET200SP TM Pulse 2x24V • Various output modes to suit proportional valve • PWM • Pulse train • On/Off delay • Freq output • PWM with DC motor • Dithering can be superimposed on the PWM output to ensure easy movement even with sticky valves • Isochronous mode improves control properties but not essential Page 22
  • 23. Unrestricted © Siemens 2020 IRT Use Case 4: Precise measurements CAM shaft measurement • Measure each cam during rotation with high accuracy • Measurements are syncronously caputured while in motion • Program code is managed within Synchronous OB6x • Due to high speed measurements, machine cycle is reduced Page 23
  • 24. Unrestricted © Siemens 2020 IRT Use Case 5: Measured values Signal Oversampling • Allows high speed inline testing of product • Can be activated in ET200SP High Speed (HS) modules • Requires distributed IO • Oversample range 2 -16 sub cycles/cycle • Requires Isocronous mode via OB6x Page 24
  • 25. Unrestricted © Siemens 2020 Profinet RT vs IRT Page 25 1. RT monitoring via Oscilloscope 2. TIA Portal Settings 3. Isochronous OB + Settings 4. IRT monitoring via Oscilloscope in 50 min. L I V E D E M O
  • 26. Unrestricted © Siemens 2020 Q&A Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested performance features are binding only when they are expressly agreed upon in the concluded contract. All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties. Their unauthorized use may infringe the rights of the respective owner. siemens.com Robert Westlake Siemens – Application Engineer robert.westlake@siemens.com siemens.com Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested performance features are binding only when they are expressly agreed upon in the concluded contract. All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties. Their unauthorized use may infringe the rights of the respective owner.