SlideShare une entreprise Scribd logo
1  sur  16
An Introduction to
PROFINET Frame
Analysis using
Peter Thomas
Control Specialists Ltd
www.controlspecialists.co.uk
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 (07/05/2013)
2
Objectives
• To gain an understanding of the way in
which PROFINET devices communicate
with one another over Ethernet.
• To learn how to capture the PROFINET
Frames using Wireshark®.
• To analyse the captured frames to gain an
understanding and purpose of the various
protocols.
• This is a topic covered in more detail in
the Certified Profinet Engineers Course
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
3
What is Wireshark?
• Wireshark® is a network protocol
analyser. It lets you capture and
interactively browse the traffic running on
a computer network.
• It is not dedicated to Proifinet and as such
cannot be compared to ProfiTrace.
• It is free to download and available from
www.wireshark.org
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
4
Frame Capturing – Mirrored Ports
Switch A – Port 2
(IM153-3 & WAGO)
Switch B – Port 2
(IM153-3 ONLY)
LAN LAN
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
5
Frame Capturing – ProfiTap
USBX
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
6
Frame Capturing Ports
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
7
Scope of this workshop
• Wireshark® will be used to capture and analyse
Profinet traffic during the following events:-
– Start-Up
– Data Exchange
– Loss of Module
– Loss of Communications
– Duplicate Device Name
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
8
Equipment used in this workshop
• Siemens S7 PLC Hardware & Switches.
• Wago IO
• ProfiTap & Netilities from Procentec
• Wireshark® Network Protocol Analyser.
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
9
WIRESHARK - HomePage
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
10
WIRESHARK – Frame Analysis
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
Packet Filter
Expression Filter Buttons
Packet Details Window
Packet Bytes Window
Packet List Window
11
IEEE 802.3 EtherNet Frame
40 – 1500 BYTES
DATA
SOURCE
MAC
6 BYTES
DEST
MAC
ETHER
TYPE
FRAME
CHECK
SEQ
ETHER TYPE EXAMPLES
0800: Internet Protocol (IPV4)
0806: ARP
8892: PROFINET
88CC: LLDP
Format / Contents dependent
upon the value of the
ETHER TYPE
ETHERNET HEADER ETHERNET TRAILER
Note – VLAN Tags, IFG, Preamble and SFD bytes not shown.
ETHERNET FRAME
6 BYTES 2 BYTES 4 BYTES
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
12
Profinet Frame
SOURCE ADDRESS DESTINATION ADDRESS ETHERTYPE
PROFINET IO DATA CYCLE COUNTER DATA STATUS
FRAME ID
TXFR STATUS
ETHERTYPE 8892 = PROFINET, FRAME ID 8000 = REAL TIME CLASS 2
-- APPLICATION PROTOCOL DATA UNIT STATUS --
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
13
Profinet Frame (CPU to OUTPUTS)
SLOT 1
SLOT 2
SLOT 3
SLOT 4
IOPS SLOT 3/4
DIG OUT DATA
DAP
DAP = DEVICE ACCESS POINT (IO DEVICE STATUS) 00 = BAD, 80 = GOOD
IOPS = IO PROVIDER STATUS (DATA STATUS @ CPU) 00 = BAD, 80 = GOOD
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
14
Common Protocols
• PNIO-DCP – Name / IP Address Assignment
• PNIO-CM – Start-up Services.
• PNIO – Cyclic IO Data Exchange
• PN-PTCP – Time Syncronisation
• PNIO-AL – Acyclic Alarms / Events
• ARP – IP Address – MAC Address Lookup
• LLDP – Device Identity & Properties.
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
15
Protocol Usage: Start-up to Data Exchange
Assign Device Name *
PNIO-DCP /
ARP Assign IP Address
Establish Connection
PNIO-DCP
or LLDP
PNIO-CM
PNIO Data Exchange
IO Device confirms Name SET
IO Device confirms IP Address SET
Connection Established
* DEVICE NAME ASSIGNMENT
Device Names can be set up Manually,
prior to connecting to the network, or
Automatically on power-up.
Manual name assignment uses PNIO-DCP
and tools such as the Primary Set-Up Tool
from Siemens or Netilities from Procentec.
Automatic name assignment uses the
LLDP protocol and requires the use of a
Profinet Topology Configuration Tool.
Primary Setup Tool
An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
16
An Introduction to Profinet Frame Analysis using Wireshark – V1.0
Practical Workshop
• Step-by-Step Guide
• Overview
www.controlspecialists.co.uk

Contenu connexe

Tendances

Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
3abooodi
 
Modbus Data Communication Systems
Modbus Data Communication SystemsModbus Data Communication Systems
Modbus Data Communication Systems
Living Online
 

Tendances (20)

Foundation fieldbus
Foundation fieldbusFoundation fieldbus
Foundation fieldbus
 
Hart Protocol Introduction
Hart Protocol IntroductionHart Protocol Introduction
Hart Protocol Introduction
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
 
Modbus Data Communication Systems
Modbus Data Communication SystemsModbus Data Communication Systems
Modbus Data Communication Systems
 
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)
 
Fieldbus wiring guide
Fieldbus wiring guideFieldbus wiring guide
Fieldbus wiring guide
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
 
Erico Rebar Clamps
Erico Rebar ClampsErico Rebar Clamps
Erico Rebar Clamps
 
C1 profinet design, pete brown
C1 profinet design, pete brownC1 profinet design, pete brown
C1 profinet design, pete brown
 
Lan & vlan
Lan & vlanLan & vlan
Lan & vlan
 
OPC PPT
OPC PPTOPC PPT
OPC PPT
 
Ethernet
EthernetEthernet
Ethernet
 
Network cabling
Network cablingNetwork cabling
Network cabling
 
profibus
profibusprofibus
profibus
 
CCNA training 101
CCNA training 101CCNA training 101
CCNA training 101
 
OPC OLE for Process Control (OPC)
OPC OLE for Process Control (OPC)OPC OLE for Process Control (OPC)
OPC OLE for Process Control (OPC)
 
The Network Layer
The Network LayerThe Network Layer
The Network Layer
 
Introduction to network switches
Introduction to network switchesIntroduction to network switches
Introduction to network switches
 
Fieldbus Tutorial Part 1 - Fieldbus Overview
Fieldbus Tutorial Part 1 - Fieldbus OverviewFieldbus Tutorial Part 1 - Fieldbus Overview
Fieldbus Tutorial Part 1 - Fieldbus Overview
 
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu JiPractical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
 

En vedette

Networking Chapter 5
Networking Chapter 5Networking Chapter 5
Networking Chapter 5
mlrbrown
 
Networking Chapter 4
Networking Chapter 4Networking Chapter 4
Networking Chapter 4
mlrbrown
 

En vedette (20)

Introduction to PROFINET - Derek Lane
Introduction to PROFINET - Derek LaneIntroduction to PROFINET - Derek Lane
Introduction to PROFINET - Derek Lane
 
Introduction to Profibus & Profinet - Mark Freeman
Introduction to Profibus & Profinet - Mark FreemanIntroduction to Profibus & Profinet - Mark Freeman
Introduction to Profibus & Profinet - Mark Freeman
 
Networking Chapter 5
Networking Chapter 5Networking Chapter 5
Networking Chapter 5
 
Networking Chapter 4
Networking Chapter 4Networking Chapter 4
Networking Chapter 4
 
Profinet Design
Profinet DesignProfinet Design
Profinet Design
 
Profinet system design - Andy Verwer
Profinet system design - Andy VerwerProfinet system design - Andy Verwer
Profinet system design - Andy Verwer
 
C5 wimes and spd, david bray
C5 wimes and spd, david brayC5 wimes and spd, david bray
C5 wimes and spd, david bray
 
C4 small scale pa application, james powell
C4 small scale pa application, james powellC4 small scale pa application, james powell
C4 small scale pa application, james powell
 
Updates on Profibus and Profinet technology karsten schneider
Updates on Profibus and Profinet technology   karsten schneiderUpdates on Profibus and Profinet technology   karsten schneider
Updates on Profibus and Profinet technology karsten schneider
 
State of the nation keynote address by brian holliday
State of the nation keynote address by brian hollidayState of the nation keynote address by brian holliday
State of the nation keynote address by brian holliday
 
W2 profibus health monitoring dale fittes, hitex
W2 profibus health monitoring   dale fittes, hitexW2 profibus health monitoring   dale fittes, hitex
W2 profibus health monitoring dale fittes, hitex
 
C3 profibus profiles, steffen ochsenreither
C3 profibus profiles, steffen ochsenreitherC3 profibus profiles, steffen ochsenreither
C3 profibus profiles, steffen ochsenreither
 
W5a profibus pa device configuration using fdt, andy smith
W5a profibus pa device configuration using fdt, andy smithW5a profibus pa device configuration using fdt, andy smith
W5a profibus pa device configuration using fdt, andy smith
 
Profibus commissioning and maintenance - Richard Needham
Profibus commissioning and maintenance - Richard NeedhamProfibus commissioning and maintenance - Richard Needham
Profibus commissioning and maintenance - Richard Needham
 
W4 profinet frame analysis handout, peter thomas
W4 profinet frame analysis handout, peter thomasW4 profinet frame analysis handout, peter thomas
W4 profinet frame analysis handout, peter thomas
 
Profibus device configuration and commissioning using fdtdtm and eddl tools ...
Profibus device configuration and commissioning using fdtdtm and eddl tools  ...Profibus device configuration and commissioning using fdtdtm and eddl tools  ...
Profibus device configuration and commissioning using fdtdtm and eddl tools ...
 
Basics of sockets
Basics of socketsBasics of sockets
Basics of sockets
 
PROFIsafe and IT security - Peter Brown of Siemens A&D
PROFIsafe and IT security  - Peter Brown of Siemens A&DPROFIsafe and IT security  - Peter Brown of Siemens A&D
PROFIsafe and IT security - Peter Brown of Siemens A&D
 
W1 profibus configuration, andy verwer
W1 profibus configuration, andy verwerW1 profibus configuration, andy verwer
W1 profibus configuration, andy verwer
 
Profibus project management, design and component selection andy smith
Profibus project management, design and component selection   andy smithProfibus project management, design and component selection   andy smith
Profibus project management, design and component selection andy smith
 

Similaire à W4 profinet frame analysis, peter thomas

Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
FFRI, Inc.
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
Freddy Buenaño
 

Similaire à W4 profinet frame analysis, peter thomas (20)

Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
 
Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008
 
Introduction to NBL
Introduction to NBLIntroduction to NBL
Introduction to NBL
 
Addressing Network Operator Challenges in YANG push Data Mesh Integration
Addressing Network Operator Challenges in YANG push Data Mesh IntegrationAddressing Network Operator Challenges in YANG push Data Mesh Integration
Addressing Network Operator Challenges in YANG push Data Mesh Integration
 
Tech 101: Understanding Firewalls
Tech 101: Understanding FirewallsTech 101: Understanding Firewalls
Tech 101: Understanding Firewalls
 
Stun turn poc_pilot
Stun turn poc_pilotStun turn poc_pilot
Stun turn poc_pilot
 
Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with Wireshark
 
Security defined routing_cybergamut_v1_1
Security defined routing_cybergamut_v1_1Security defined routing_cybergamut_v1_1
Security defined routing_cybergamut_v1_1
 
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorial
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
 
Рекомендации по настройке контроллеров БЛВС Cisco
Рекомендации по настройке контроллеров БЛВС CiscoРекомендации по настройке контроллеров БЛВС Cisco
Рекомендации по настройке контроллеров БЛВС Cisco
 
4.1-cnse-study-guide.pdf
4.1-cnse-study-guide.pdf4.1-cnse-study-guide.pdf
4.1-cnse-study-guide.pdf
 
Why choose pan
Why choose panWhy choose pan
Why choose pan
 
Wireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance toolsWireshark, Tcpdump and Network Performance tools
Wireshark, Tcpdump and Network Performance tools
 
Network analysis Using Wireshark 4: Capture Filters
Network analysis Using Wireshark 4: Capture FiltersNetwork analysis Using Wireshark 4: Capture Filters
Network analysis Using Wireshark 4: Capture Filters
 
Network Monitoring System
Network Monitoring SystemNetwork Monitoring System
Network Monitoring System
 
[old] Network Performance Monitoring for DevOps and IT
[old] Network Performance Monitoring for DevOps and IT[old] Network Performance Monitoring for DevOps and IT
[old] Network Performance Monitoring for DevOps and IT
 
Cisco connect winnipeg 2018 a look at network assurance in dna center
Cisco connect winnipeg 2018   a look at network assurance in dna centerCisco connect winnipeg 2018   a look at network assurance in dna center
Cisco connect winnipeg 2018 a look at network assurance in dna center
 
Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...
 
PROFINET network qualification Peter Thomas - oct 2015
PROFINET network qualification   Peter Thomas - oct 2015PROFINET network qualification   Peter Thomas - oct 2015
PROFINET network qualification Peter Thomas - oct 2015
 

Plus de PROFIBUS and PROFINET InternationaI - PI UK

Plus de PROFIBUS and PROFINET InternationaI - PI UK (20)

11. PI_Ford_Dunton_IOLINK_Safety.pdf
11. PI_Ford_Dunton_IOLINK_Safety.pdf11. PI_Ford_Dunton_IOLINK_Safety.pdf
11. PI_Ford_Dunton_IOLINK_Safety.pdf
 
7. Ford_Dunton_TSN_CRM.pdf
7. Ford_Dunton_TSN_CRM.pdf7. Ford_Dunton_TSN_CRM.pdf
7. Ford_Dunton_TSN_CRM.pdf
 
6. SRCI Profibus International v2.pdf
6. SRCI Profibus International v2.pdf6. SRCI Profibus International v2.pdf
6. SRCI Profibus International v2.pdf
 
13. CEMA - AUTOMOTIVE.pdf
13. CEMA - AUTOMOTIVE.pdf13. CEMA - AUTOMOTIVE.pdf
13. CEMA - AUTOMOTIVE.pdf
 
12. PI_OPC_UK.pdf
12. PI_OPC_UK.pdf12. PI_OPC_UK.pdf
12. PI_OPC_UK.pdf
 
4. APL PI Presentation 2023.pdf
4. APL PI Presentation 2023.pdf4. APL PI Presentation 2023.pdf
4. APL PI Presentation 2023.pdf
 
10. PI_Dunton - OT Security.pdf
10. PI_Dunton - OT Security.pdf10. PI_Dunton - OT Security.pdf
10. PI_Dunton - OT Security.pdf
 
9. PA DIM presentation.pdf
9. PA DIM presentation.pdf9. PA DIM presentation.pdf
9. PA DIM presentation.pdf
 
3. Ford Dunton Mark Freeman.pdf
3. Ford Dunton Mark Freeman.pdf3. Ford Dunton Mark Freeman.pdf
3. Ford Dunton Mark Freeman.pdf
 
2. Ford_Dunton_Introductions_CRM.pdf
2. Ford_Dunton_Introductions_CRM.pdf2. Ford_Dunton_Introductions_CRM.pdf
2. Ford_Dunton_Introductions_CRM.pdf
 
PI UK Seminar (Nov 2021) - Online Certified Training Courses
PI UK Seminar (Nov 2021) - Online Certified Training CoursesPI UK Seminar (Nov 2021) - Online Certified Training Courses
PI UK Seminar (Nov 2021) - Online Certified Training Courses
 
PI UK Seminar (Nov 2021) - PROFINET Implementation and Testing
PI UK Seminar (Nov 2021) - PROFINET Implementation and TestingPI UK Seminar (Nov 2021) - PROFINET Implementation and Testing
PI UK Seminar (Nov 2021) - PROFINET Implementation and Testing
 
PI UK Seminar (Nov 2021) - PROFINET Design Basics
PI UK Seminar (Nov 2021) - PROFINET Design BasicsPI UK Seminar (Nov 2021) - PROFINET Design Basics
PI UK Seminar (Nov 2021) - PROFINET Design Basics
 
PI UK Seminar (Nov 2021) - PROFINET Gateways
PI UK Seminar (Nov 2021) - PROFINET GatewaysPI UK Seminar (Nov 2021) - PROFINET Gateways
PI UK Seminar (Nov 2021) - PROFINET Gateways
 
PI UK Seminar (Nov 2021) - PROFIBUS and PROFINET Device Configuration
PI UK Seminar (Nov 2021) - PROFIBUS and PROFINET Device ConfigurationPI UK Seminar (Nov 2021) - PROFIBUS and PROFINET Device Configuration
PI UK Seminar (Nov 2021) - PROFIBUS and PROFINET Device Configuration
 
PI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of ThingsPI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of Things
 
PI UK Seminar (Nov 2021) - Update on APL
PI UK Seminar (Nov 2021) - Update on APLPI UK Seminar (Nov 2021) - Update on APL
PI UK Seminar (Nov 2021) - Update on APL
 
PROFINET to PROFIBUS gateways - Peter Thomas - 03 june 2020
PROFINET to PROFIBUS gateways - Peter Thomas - 03 june 2020PROFINET to PROFIBUS gateways - Peter Thomas - 03 june 2020
PROFINET to PROFIBUS gateways - Peter Thomas - 03 june 2020
 
PROFIBUS lightning surge protection - Peter Thomas, CSL - 10 june 2020
PROFIBUS lightning surge protection -  Peter Thomas, CSL - 10 june 2020 PROFIBUS lightning surge protection -  Peter Thomas, CSL - 10 june 2020
PROFIBUS lightning surge protection - Peter Thomas, CSL - 10 june 2020
 
PROFINET network diagnostics and support - May 2020 - Peter Thomas
PROFINET network diagnostics and support - May 2020 - Peter ThomasPROFINET network diagnostics and support - May 2020 - Peter Thomas
PROFINET network diagnostics and support - May 2020 - Peter Thomas
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

W4 profinet frame analysis, peter thomas

  • 1. An Introduction to PROFINET Frame Analysis using Peter Thomas Control Specialists Ltd www.controlspecialists.co.uk An Introduction to Profinet Frame Analysis using Wireshark – V1.0 (07/05/2013)
  • 2. 2 Objectives • To gain an understanding of the way in which PROFINET devices communicate with one another over Ethernet. • To learn how to capture the PROFINET Frames using Wireshark®. • To analyse the captured frames to gain an understanding and purpose of the various protocols. • This is a topic covered in more detail in the Certified Profinet Engineers Course An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 3. 3 What is Wireshark? • Wireshark® is a network protocol analyser. It lets you capture and interactively browse the traffic running on a computer network. • It is not dedicated to Proifinet and as such cannot be compared to ProfiTrace. • It is free to download and available from www.wireshark.org An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 4. 4 Frame Capturing – Mirrored Ports Switch A – Port 2 (IM153-3 & WAGO) Switch B – Port 2 (IM153-3 ONLY) LAN LAN An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 5. 5 Frame Capturing – ProfiTap USBX An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 6. 6 Frame Capturing Ports An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 7. 7 Scope of this workshop • Wireshark® will be used to capture and analyse Profinet traffic during the following events:- – Start-Up – Data Exchange – Loss of Module – Loss of Communications – Duplicate Device Name An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 8. 8 Equipment used in this workshop • Siemens S7 PLC Hardware & Switches. • Wago IO • ProfiTap & Netilities from Procentec • Wireshark® Network Protocol Analyser. An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 9. 9 WIRESHARK - HomePage An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 10. 10 WIRESHARK – Frame Analysis An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk Packet Filter Expression Filter Buttons Packet Details Window Packet Bytes Window Packet List Window
  • 11. 11 IEEE 802.3 EtherNet Frame 40 – 1500 BYTES DATA SOURCE MAC 6 BYTES DEST MAC ETHER TYPE FRAME CHECK SEQ ETHER TYPE EXAMPLES 0800: Internet Protocol (IPV4) 0806: ARP 8892: PROFINET 88CC: LLDP Format / Contents dependent upon the value of the ETHER TYPE ETHERNET HEADER ETHERNET TRAILER Note – VLAN Tags, IFG, Preamble and SFD bytes not shown. ETHERNET FRAME 6 BYTES 2 BYTES 4 BYTES An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 12. 12 Profinet Frame SOURCE ADDRESS DESTINATION ADDRESS ETHERTYPE PROFINET IO DATA CYCLE COUNTER DATA STATUS FRAME ID TXFR STATUS ETHERTYPE 8892 = PROFINET, FRAME ID 8000 = REAL TIME CLASS 2 -- APPLICATION PROTOCOL DATA UNIT STATUS -- An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 13. 13 Profinet Frame (CPU to OUTPUTS) SLOT 1 SLOT 2 SLOT 3 SLOT 4 IOPS SLOT 3/4 DIG OUT DATA DAP DAP = DEVICE ACCESS POINT (IO DEVICE STATUS) 00 = BAD, 80 = GOOD IOPS = IO PROVIDER STATUS (DATA STATUS @ CPU) 00 = BAD, 80 = GOOD An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 14. 14 Common Protocols • PNIO-DCP – Name / IP Address Assignment • PNIO-CM – Start-up Services. • PNIO – Cyclic IO Data Exchange • PN-PTCP – Time Syncronisation • PNIO-AL – Acyclic Alarms / Events • ARP – IP Address – MAC Address Lookup • LLDP – Device Identity & Properties. An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 15. 15 Protocol Usage: Start-up to Data Exchange Assign Device Name * PNIO-DCP / ARP Assign IP Address Establish Connection PNIO-DCP or LLDP PNIO-CM PNIO Data Exchange IO Device confirms Name SET IO Device confirms IP Address SET Connection Established * DEVICE NAME ASSIGNMENT Device Names can be set up Manually, prior to connecting to the network, or Automatically on power-up. Manual name assignment uses PNIO-DCP and tools such as the Primary Set-Up Tool from Siemens or Netilities from Procentec. Automatic name assignment uses the LLDP protocol and requires the use of a Profinet Topology Configuration Tool. Primary Setup Tool An Introduction to Profinet Frame Analysis using Wireshark – V1.0 www.controlspecialists.co.uk
  • 16. 16 An Introduction to Profinet Frame Analysis using Wireshark – V1.0 Practical Workshop • Step-by-Step Guide • Overview www.controlspecialists.co.uk