SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
 
 
Control Specialists Ltd. PO Box 1048 Warrington Cheshire WA1 9BU United Kingdom. Tel +44(0)1925 824003
 
 
Profinet Frame Analysis 
Workshop 
 
INTRODUCTION 
 
This workshop will introduce you to Profinet Frame Analysis using Wireshark.  The type of traffic 
that will be captured for offline analysis will be dependent upon the point in the network that you 
are capturing from and the method used. WireShark is a free to download, established method of 
frame analysis and is used extensively in the IT world. 
 
ETHERNET FRAME STRUCTURE (GENERAL) 
 
The format of an Ethernet Frame is shown below. The structure and contents of the Data part of 
the frame are dependent upon the protocol being used of which there are many. 
 
 
 
   
Profinet Frame Analysis using Wireshark    Version 1.0 
____________________________________________________________________________ 
________________________________________________________________________________ 
www.controlspecialists.co.uk    2 
 
ETHERNET FRAME STRUCTURE (WIRESHARK ‐ PNIO) 
 
 
COMMON PROTOCOLS 
 
For  each  frame,  Wireshark  will  identify  the  protocol  that  the  frame  conforms  to.  For  Profinet 
networks, the most common are:‐ 
 
 ARP (Address Resolution Protocol) 
 
This is a protocol that is used to associate the hardware (MAC) address of a device with an IP 
address. Initially, a request is made using the format “who has this IP address? Send answer to 
me”.  The  response  from  the  device  with  the  given  IP  address  is  “I  have  the  requested  IP 
address  and  my  MAC  address  is  as  follows”.  By  definition,  ARP’s  are  sent  to  broadcast 
addresses so that every device has the opportunity of responding. 
 
 LLDP (Link Layer Discovery Protocol) 
 
A protocol used by devices to announce their presence on the network and their capabilities. 
This Protocol can be used by a Profinet System to determine who is connected to who and for 
automatic  assignment  of  a  device  name  to  a  device  when  a  replacement  is  added  to  the 
network. 
   
Profinet Frame Analysis using Wireshark    Version 1.0 
____________________________________________________________________________ 
________________________________________________________________________________ 
www.controlspecialists.co.uk    3 
 
 PN‐DCP (Discovery and Configuration Protocol)  
 
This is a Profinet‐specific protocol that has two main functions: 
 
1. Used  by  the  Supervisor  (PC)  to  assign  a  unique  name  (Siemens  Primary  Setup  Tool  / 
Procentec Netilities). 
2. Used by the IO Controller (CPU) to assign a unique IP address (as defined in the hardware 
config) in conjunction with ARP above. 
 
 PNIO‐CM (Profinet IO Context Manager) 
This is a Profinet‐specific protocol that is used to configure the AR (Application Relations) and 
CR  (Communication  Relations)  between  a  controller  and  an  IO  device.  This  process  will 
ultimately determine the amount and type of data that will be transmitted between the pair.  
 
There are several stages of the start‐up procedure using the Context Manager with the flow 
usually being as follows:‐ 
 
 CONNECT request from IO Controller followed by a CONNECT response from IO Device 
 WRITE request from IO Controller followed by a WRITE response from IO Device 
 DCONTROL request from IO Controller followed by a DCONTROL response from IO Device 
 CCONTROL request from IO Controller followed by a CCONTROL response from IO Device 
 
 PN‐PTCP (Precision Transparent Clock Protocol) 
 
This is a layer 2 Profinet‐specific protocol used to ensure time synchronisation on the network. 
 
 PNIO 
 
Profinet Data Exchange Traffic 
 
 PNIO‐AL 
 
Profinet Alarm Events 
 
   
Profinet Frame Analysis using Wireshark    Version 1.0 
____________________________________________________________________________ 
________________________________________________________________________________ 
www.controlspecialists.co.uk    4 
 
NETWORK 1 
 
 
EX01  Start‐Up, Data Exchange, Loss of Module 
 
EX01 ‐ FRAME CAPTURE 
 
 Put the CPU into STOP Mode and remove power from it. 
 Launch WireShark. 
 Select the Interface that Wireshark will capture frames from. 
 Start the Capturing process. 
 Apply power to the CPU. 
 After approx. 15s, put the CPU into RUN mode. 
 After a further 15s, remove an IO module. 
 Insert the module back into its slot shortly after. 
 Stop the capture process after approx. 30s. 
 
   
Profinet Frame Analysis using Wireshark    Version 1.0 
____________________________________________________________________________ 
________________________________________________________________________________ 
www.controlspecialists.co.uk    5 
 
EX01  Start‐Up, Data Exchange, Loss of Module (Continued) 
 
EX01 ‐ FRAME ANALYSIS 
 
 Click  on  the  “Profinet  DCP”  Filter  Expression  Button  and  observe  to  CPU 
setting the IP addresses of the Profinet devices. 
 Click on the “ARP” Filter Expression Button and observe the CPU looking for 
devices with specific IP addresses. 
 Click  on  the  “Profinet  CM”  Filter  Expression  Button  and  look  for  PNIO‐CM 
entries that show the CONNECT – WRITE – APP READY start‐up procedure. 
 Click on the “Profinet Data (Good)” Filter Expression Button and look for PNIO 
entries that show data exchange. 
 Click on the “Profinet Data (Bad)” Filter Expression Button and look for PNIO 
entries that show data exchange. 
 Click on the “Profinet Alarms” Filter Expression Button and look for PNIO‐AL 
entries that show alarm events. 
 
EX02  Duplicate Device Name 
 
EX02 ‐ FRAME CAPTURE 
 
 Put the CPU into STOP Mode. 
 Make a direct Ethernet connection from the laptop to the IM153‐3. 
 Use the Primary Setup Tool to rename the device to “wago‐750‐370” – 
without the quotes. 
 Connect the IM153‐3 onto the original network. 
 Put the CPU into RUN Mode. 
 Note the status of the IM153‐3: 
_______________________________________ 
 Note the status of the WAGO 750‐370 
_______________________________________ 
 Remove power from the CPU for a few seconds and then reapply. 
 Wait a few seconds for the PLC to go into RUN mode. 
 Note the status of the IM153‐3: 
_______________________________________ 
 Note the status of the WAGO 750‐370: 
_______________________________________ 
Profinet Frame Analysis using Wireshark    Version 1.0 
____________________________________________________________________________ 
________________________________________________________________________________ 
www.controlspecialists.co.uk    6 
 Launch WireShark. 
 Select the Interface that Wireshark will capture frames from. 
 Start the Capturing process. 
 Stop the capture process after approx. 30s. 
 
EX02  Duplicate Device Name (Continued) 
EX02 ‐ FRAME ANALYSIS 
 
 
 Click on the “Profinet DCP” Filter Expression Button and observe attempts by 
the CPU to find the Profinet devices. 
 
__________________________________________________________________ 
 

Mais conteúdo relacionado

Semelhante a W4 profinet frame analysis handout, peter thomas

The pattern and realization of zigbee wi-fi
The pattern and realization of zigbee  wi-fiThe pattern and realization of zigbee  wi-fi
The pattern and realization of zigbee wi-fieSAT Publishing House
 
The pattern and realization of zigbee wi-fi wireless pathway
The pattern and realization of zigbee  wi-fi wireless pathwayThe pattern and realization of zigbee  wi-fi wireless pathway
The pattern and realization of zigbee wi-fi wireless pathwayeSAT Journals
 
Banking and ATM networking reports
Banking and ATM networking reportsBanking and ATM networking reports
Banking and ATM networking reportsShakib Ansaar
 
NETWORKING SYSTEMS .docx
NETWORKING SYSTEMS                                                .docxNETWORKING SYSTEMS                                                .docx
NETWORKING SYSTEMS .docxdohertyjoetta
 
Opnet based simulation and investigation of wimax network using different qo s
Opnet based simulation and investigation of wimax network using different qo sOpnet based simulation and investigation of wimax network using different qo s
Opnet based simulation and investigation of wimax network using different qo seSAT Publishing House
 
Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...eSAT Publishing House
 
Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...eSAT Journals
 
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...IRJET Journal
 
Multi port network ethernet performance improvement techniques
Multi port network ethernet performance improvement techniquesMulti port network ethernet performance improvement techniques
Multi port network ethernet performance improvement techniquesIJARIIT
 
Networking tutorials introduction to networking
Networking tutorials   introduction to networkingNetworking tutorials   introduction to networking
Networking tutorials introduction to networkingVinod Jadhav
 
Simulation model of dc servo motor control
Simulation model of dc servo motor controlSimulation model of dc servo motor control
Simulation model of dc servo motor controlEvans Marshall
 
Experiment 7 traffic analysis
Experiment 7 traffic analysisExperiment 7 traffic analysis
Experiment 7 traffic analysisnikitaa25
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic AnalysisDavid Sweigert
 
Connected Vehicles, Zonal In Vehicle Network Architecture
Connected Vehicles, Zonal In Vehicle Network ArchitectureConnected Vehicles, Zonal In Vehicle Network Architecture
Connected Vehicles, Zonal In Vehicle Network Architectureijtsrd
 
enet-wp002_-en-p
enet-wp002_-en-penet-wp002_-en-p
enet-wp002_-en-pShuo Zhang
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescaleFernando
 

Semelhante a W4 profinet frame analysis handout, peter thomas (20)

The pattern and realization of zigbee wi-fi
The pattern and realization of zigbee  wi-fiThe pattern and realization of zigbee  wi-fi
The pattern and realization of zigbee wi-fi
 
The pattern and realization of zigbee wi-fi wireless pathway
The pattern and realization of zigbee  wi-fi wireless pathwayThe pattern and realization of zigbee  wi-fi wireless pathway
The pattern and realization of zigbee wi-fi wireless pathway
 
Banking and ATM networking reports
Banking and ATM networking reportsBanking and ATM networking reports
Banking and ATM networking reports
 
NETWORKING SYSTEMS .docx
NETWORKING SYSTEMS                                                .docxNETWORKING SYSTEMS                                                .docx
NETWORKING SYSTEMS .docx
 
En35793797
En35793797En35793797
En35793797
 
Opnet based simulation and investigation of wimax network using different qo s
Opnet based simulation and investigation of wimax network using different qo sOpnet based simulation and investigation of wimax network using different qo s
Opnet based simulation and investigation of wimax network using different qo s
 
Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...
 
Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...Design and implementation of an ancrchitecture of embedded web server for wir...
Design and implementation of an ancrchitecture of embedded web server for wir...
 
PROFIBUS frame analysis - Peter Thomas of Control Specialists
PROFIBUS frame analysis - Peter Thomas of Control SpecialistsPROFIBUS frame analysis - Peter Thomas of Control Specialists
PROFIBUS frame analysis - Peter Thomas of Control Specialists
 
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
 
Multi port network ethernet performance improvement techniques
Multi port network ethernet performance improvement techniquesMulti port network ethernet performance improvement techniques
Multi port network ethernet performance improvement techniques
 
W4 profinet frame analysis, peter thomas
W4 profinet frame analysis, peter thomasW4 profinet frame analysis, peter thomas
W4 profinet frame analysis, peter thomas
 
Networking tutorials introduction to networking
Networking tutorials   introduction to networkingNetworking tutorials   introduction to networking
Networking tutorials introduction to networking
 
Simulation model of dc servo motor control
Simulation model of dc servo motor controlSimulation model of dc servo motor control
Simulation model of dc servo motor control
 
Experiment 7 traffic analysis
Experiment 7 traffic analysisExperiment 7 traffic analysis
Experiment 7 traffic analysis
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
 
Connected Vehicles, Zonal In Vehicle Network Architecture
Connected Vehicles, Zonal In Vehicle Network ArchitectureConnected Vehicles, Zonal In Vehicle Network Architecture
Connected Vehicles, Zonal In Vehicle Network Architecture
 
enet-wp002_-en-p
enet-wp002_-en-penet-wp002_-en-p
enet-wp002_-en-p
 
Research_Paper (3)
Research_Paper (3)Research_Paper (3)
Research_Paper (3)
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescale
 

Mais de PROFIBUS and PROFINET InternationaI - PI UK

Mais 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
 

Último

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

W4 profinet frame analysis handout, peter thomas

  • 1.     Control Specialists Ltd. PO Box 1048 Warrington Cheshire WA1 9BU United Kingdom. Tel +44(0)1925 824003     Profinet Frame Analysis  Workshop    INTRODUCTION    This workshop will introduce you to Profinet Frame Analysis using Wireshark.  The type of traffic  that will be captured for offline analysis will be dependent upon the point in the network that you  are capturing from and the method used. WireShark is a free to download, established method of  frame analysis and is used extensively in the IT world.    ETHERNET FRAME STRUCTURE (GENERAL)    The format of an Ethernet Frame is shown below. The structure and contents of the Data part of  the frame are dependent upon the protocol being used of which there are many.           
  • 2. Profinet Frame Analysis using Wireshark    Version 1.0  ____________________________________________________________________________  ________________________________________________________________________________  www.controlspecialists.co.uk    2    ETHERNET FRAME STRUCTURE (WIRESHARK ‐ PNIO)      COMMON PROTOCOLS    For  each  frame,  Wireshark  will  identify  the  protocol  that  the  frame  conforms  to.  For  Profinet  networks, the most common are:‐     ARP (Address Resolution Protocol)    This is a protocol that is used to associate the hardware (MAC) address of a device with an IP  address. Initially, a request is made using the format “who has this IP address? Send answer to  me”.  The  response  from  the  device  with  the  given  IP  address  is  “I  have  the  requested  IP  address  and  my  MAC  address  is  as  follows”.  By  definition,  ARP’s  are  sent  to  broadcast  addresses so that every device has the opportunity of responding.     LLDP (Link Layer Discovery Protocol)    A protocol used by devices to announce their presence on the network and their capabilities.  This Protocol can be used by a Profinet System to determine who is connected to who and for  automatic  assignment  of  a  device  name  to  a  device  when  a  replacement  is  added  to  the  network.     
  • 3. Profinet Frame Analysis using Wireshark    Version 1.0  ____________________________________________________________________________  ________________________________________________________________________________  www.controlspecialists.co.uk    3     PN‐DCP (Discovery and Configuration Protocol)     This is a Profinet‐specific protocol that has two main functions:    1. Used  by  the  Supervisor  (PC)  to  assign  a  unique  name  (Siemens  Primary  Setup  Tool  /  Procentec Netilities).  2. Used by the IO Controller (CPU) to assign a unique IP address (as defined in the hardware  config) in conjunction with ARP above.     PNIO‐CM (Profinet IO Context Manager)  This is a Profinet‐specific protocol that is used to configure the AR (Application Relations) and  CR  (Communication  Relations)  between  a  controller  and  an  IO  device.  This  process  will  ultimately determine the amount and type of data that will be transmitted between the pair.     There are several stages of the start‐up procedure using the Context Manager with the flow  usually being as follows:‐     CONNECT request from IO Controller followed by a CONNECT response from IO Device   WRITE request from IO Controller followed by a WRITE response from IO Device   DCONTROL request from IO Controller followed by a DCONTROL response from IO Device   CCONTROL request from IO Controller followed by a CCONTROL response from IO Device     PN‐PTCP (Precision Transparent Clock Protocol)    This is a layer 2 Profinet‐specific protocol used to ensure time synchronisation on the network.     PNIO    Profinet Data Exchange Traffic     PNIO‐AL    Profinet Alarm Events       
  • 4. Profinet Frame Analysis using Wireshark    Version 1.0  ____________________________________________________________________________  ________________________________________________________________________________  www.controlspecialists.co.uk    4    NETWORK 1      EX01  Start‐Up, Data Exchange, Loss of Module    EX01 ‐ FRAME CAPTURE     Put the CPU into STOP Mode and remove power from it.   Launch WireShark.   Select the Interface that Wireshark will capture frames from.   Start the Capturing process.   Apply power to the CPU.   After approx. 15s, put the CPU into RUN mode.   After a further 15s, remove an IO module.   Insert the module back into its slot shortly after.   Stop the capture process after approx. 30s.       
  • 5. Profinet Frame Analysis using Wireshark    Version 1.0  ____________________________________________________________________________  ________________________________________________________________________________  www.controlspecialists.co.uk    5    EX01  Start‐Up, Data Exchange, Loss of Module (Continued)    EX01 ‐ FRAME ANALYSIS     Click  on  the  “Profinet  DCP”  Filter  Expression  Button  and  observe  to  CPU  setting the IP addresses of the Profinet devices.   Click on the “ARP” Filter Expression Button and observe the CPU looking for  devices with specific IP addresses.   Click  on  the  “Profinet  CM”  Filter  Expression  Button  and  look  for  PNIO‐CM  entries that show the CONNECT – WRITE – APP READY start‐up procedure.   Click on the “Profinet Data (Good)” Filter Expression Button and look for PNIO  entries that show data exchange.   Click on the “Profinet Data (Bad)” Filter Expression Button and look for PNIO  entries that show data exchange.   Click on the “Profinet Alarms” Filter Expression Button and look for PNIO‐AL  entries that show alarm events.    EX02  Duplicate Device Name    EX02 ‐ FRAME CAPTURE     Put the CPU into STOP Mode.   Make a direct Ethernet connection from the laptop to the IM153‐3.   Use the Primary Setup Tool to rename the device to “wago‐750‐370” –  without the quotes.   Connect the IM153‐3 onto the original network.   Put the CPU into RUN Mode.   Note the status of the IM153‐3:  _______________________________________   Note the status of the WAGO 750‐370  _______________________________________   Remove power from the CPU for a few seconds and then reapply.   Wait a few seconds for the PLC to go into RUN mode.   Note the status of the IM153‐3:  _______________________________________   Note the status of the WAGO 750‐370:  _______________________________________ 
  • 6. Profinet Frame Analysis using Wireshark    Version 1.0  ____________________________________________________________________________  ________________________________________________________________________________  www.controlspecialists.co.uk    6   Launch WireShark.   Select the Interface that Wireshark will capture frames from.   Start the Capturing process.   Stop the capture process after approx. 30s.    EX02  Duplicate Device Name (Continued)  EX02 ‐ FRAME ANALYSIS       Click on the “Profinet DCP” Filter Expression Button and observe attempts by  the CPU to find the Profinet devices.    __________________________________________________________________