SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
A Demonstration
of PROFINET
Frame Analysis
using
Peter Thomas
Control Specialists Ltd
www.controlspecialists.co.
uk
An Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/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 see how Wireshark® can be used to analyse
the captured frames to gain an understanding
of the various protocols.
• This is a topic covered in more detail in the
Certified PROFINET Engineers Course
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
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 PROFINET and as
such cannot be compared to ProfiTrace.
• It is free to download and available from
www.wireshark.org
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
4
The need for Real Time
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
• Normal, office-like, Ethernet communication, as defined in
IEEE 802.3, is non-deterministic, i.e. the time to transmit a
message from one device to another, and then receive a
response, is undefined and cannot be guaranteed.
• Industrial Automation Control Systems require
Deterministic or “Real Time” Communications.
• Software and/or hardware solutions allow IEEE 802.3 to be
deterministic and operate in Real Time.
• Remote I/O (typical PLC) applications generally require
guaranteed responses in the order of 5-10mS.
• Motion Control applications are even more demanding
requiring cycle times of <1mS.
5
What is PROFINET
• It is an Industrial Ethernet Protocol.
• Unlike conventional, office-like, Ethernet,
PROFINET is deterministic meaning that it
is capable of supporting guaranteed cycle
times.
• There are two “real time” variants of
PROFINET, RT for conventional PLC
applications (Typ 10mS) and IRT for High
Speed applications (Typ 250µS but 31.25µS
ASICS have been developed).
• Although considered to be the modern-day
alternative to PROFIBUS DP, PROFINET is
NOT PROFIBUS over ETHERNET.
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
Device to Device Communication (Ethernet)
6
APPLICATION LAYER
(HTTP / SMTP / FTP)
PRESENTATION LAYER
SESSION LAYER
TRANSPORT LAYER
(TCP / UDP)
NETWORK LAYER (IP)
DATALINK LAYER
(MAC ADDRESS)
PHYSICAL LAYER
APPLICATION LAYER
(HTTP / SMPTP / FTP)
PRESENTATION LAYER
SESSION LAYER
TRANSPORT LAYER
(TCP / UDP)
NETWORK LAYER
(IP)
DATALINK LAYER
(MAC ADDRESS)
PHYSICAL LAYER
Device 1 Device 2
= Potential Delays
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
Device to Device Communication (PROFINET)
7
IO Controller IO Device
STANDARD
PRESENTATION
LAYER
SESSION LAYER
TRANSPORT
LAYER
(UDP)
NETWORK
LAYER
(IP ADDRESS)
DATALINK LAYER
(MAC ADDRESS)
PHYSICAL LAYER
REAL TIME STANDARD
PRESENTATION
LAYER
SESSION LAYER
TRANSPORT
LAYER
(UDP)
NETWORK
LAYER
(IP ADDRESS)
DATALINK LAYER
(MAC ADDRESS)
PHYSICAL LAYER
REAL TIME
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
8
Frame Capturing Ports
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
9
Frame Capturing – Mirrored Ports
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
10
Frame Capturing – Mirrored Ports
Switch A – Port 2
(IM153-3 & WAGO)
Switch B – Port 2
(IM153-3 ONLY)
LAN LAN
TO/FROM CPU
TO/FROM IM153-3
TO/FROM WAGO
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
11
Frame Capturing – ProfiTap
USBX
TO/FROM IM153-3
TO/FROM CPU
TO/FROM WAGO
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
12
Scope of this workshop
• Wireshark® can 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
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
13
Equipment used in this workshop
• Siemens S7 PLC Hardware & Switches.
• Wago IO
• ProfiTap from Procentec
• Wireshark® Network Protocol Analyser.
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
14
Siemens – Hardware Configuration
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
15
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 (Bandwidth Control / Prioritisation),
IFG (Inter Frame Gap), Preamble and
SFD (Start Frame Delimiter) bytes not shown.
ETHERNET FRAME
6 BYTES 2 BYTES 4 BYTES
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
16
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 --
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
17
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
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
18
Common Protocols seen on PROFINET
• PNIO-DCP – Device Name / IP Address Assignment
• PNIO-CM – Start-up Services between an IO
Controller and each IO Device.
• PNIO – Cyclic IO Data Exchange
• PN-PTCP – Time Syncronisation
• PNIO-AL – Acyclic Alarms / Events
• ARP – IP Address – MAC Address Lookup
• LLDP – Device Identity & Properties.
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
19
WIRESHARK - HomePage
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
20
WIRESHARK – Frame Analysis
Packet Filter
Expression Filter Buttons
Packet Details Window
Packet Bytes Window
Packet List Window
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
21
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 Cyclic 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
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
Determine MAC Address
22
Demonstration
Demonstration
www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Introduction to Embedded Systems a Practical Approach
Introduction to Embedded Systems a Practical ApproachIntroduction to Embedded Systems a Practical Approach
Introduction to Embedded Systems a Practical Approach
 
Modbus introduction
Modbus introductionModbus introduction
Modbus introduction
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
[Advantech] Modbus protocol training (ModbusTCP, ModbusRTU)
 
Profinet network qualification - Peter Thomas
Profinet network qualification - Peter ThomasProfinet network qualification - Peter Thomas
Profinet network qualification - Peter Thomas
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
Profibus vs profinet
Profibus vs profinetProfibus vs profinet
Profibus vs profinet
 
Ppt devicenet
Ppt devicenetPpt devicenet
Ppt devicenet
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
Introduction to PROFIBUS and PROFINET - andy verwer
Introduction to PROFIBUS and PROFINET -  andy verwerIntroduction to PROFIBUS and PROFINET -  andy verwer
Introduction to PROFIBUS and PROFINET - andy verwer
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Profibus
ProfibusProfibus
Profibus
 
Hart Protocol Introduction
Hart Protocol IntroductionHart Protocol Introduction
Hart Protocol Introduction
 
EtherCAT Training
EtherCAT TrainingEtherCAT Training
EtherCAT Training
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Step7
Step7Step7
Step7
 
RISC-V Introduction
RISC-V IntroductionRISC-V Introduction
RISC-V Introduction
 
1 asr9 k platform architecture
1   asr9 k platform architecture1   asr9 k platform architecture
1 asr9 k platform architecture
 
Metro Ethernet Concepts
Metro Ethernet ConceptsMetro Ethernet Concepts
Metro Ethernet Concepts
 

Andere mochten auch

Industrial protocols for pentesters
Industrial protocols for pentestersIndustrial protocols for pentesters
Industrial protocols for pentestersAleksandr Timorin
 

Andere mochten auch (20)

Introduction to PROFINET - Derek Lane
Introduction to PROFINET - Derek LaneIntroduction to PROFINET - Derek Lane
Introduction to PROFINET - Derek Lane
 
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
 
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
 
C5 wimes and spd, david bray
C5 wimes and spd, david brayC5 wimes and spd, david bray
C5 wimes and spd, david bray
 
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
 
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
 
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 ...
 
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
 
C1 profinet design, pete brown
C1 profinet design, pete brownC1 profinet design, pete brown
C1 profinet design, pete brown
 
Engineering with PROFIsafe - Peter Brown
Engineering with PROFIsafe - Peter BrownEngineering with PROFIsafe - Peter Brown
Engineering with PROFIsafe - Peter Brown
 
Profibus and Profinet system design - Andy Verwer
Profibus and Profinet system design - Andy VerwerProfibus and Profinet system design - Andy Verwer
Profibus and Profinet system design - Andy Verwer
 
C6 profibus system design, andy verwer
C6 profibus system design, andy verwerC6 profibus system design, andy verwer
C6 profibus system design, andy verwer
 
PROFIBUS and PROFINET update - Mark Freeman of Siemens A&D
PROFIBUS and PROFINET update -  Mark Freeman of Siemens A&DPROFIBUS and PROFINET update -  Mark Freeman of Siemens A&D
PROFIBUS and PROFINET update - Mark Freeman of Siemens A&D
 
Industrial protocols for pentesters
Industrial protocols for pentestersIndustrial protocols for pentesters
Industrial protocols for pentesters
 
Introduction to Profibus & Profinet - Mark Freeman
Introduction to Profibus & Profinet - Mark FreemanIntroduction to Profibus & Profinet - Mark Freeman
Introduction to Profibus & Profinet - Mark Freeman
 

Ähnlich wie PROFIBUS frame analysis - Peter Thomas of Control Specialists

Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_engFFRI, Inc.
 
Introduction to NBL
Introduction to NBLIntroduction to NBL
Introduction to NBLFei Ji Siao
 
Edge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video StreamingEdge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video StreamingTal Lavian Ph.D.
 
Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008Denny K
 
Transport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in KoreaTransport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in KoreaJustin Park
 
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...Iben Rodriguez
 
WebRTC overview
WebRTC overviewWebRTC overview
WebRTC overviewRouyun Pan
 
IRATI Experimentation, US-EU FIRE Workshop
IRATI Experimentation, US-EU FIRE WorkshopIRATI Experimentation, US-EU FIRE Workshop
IRATI Experimentation, US-EU FIRE WorkshopEleni Trouva
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaCPqD
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaCPqD
 
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...Fluke Networks
 
Future services on Janet
Future services on JanetFuture services on Janet
Future services on JanetJisc
 

Ähnlich wie PROFIBUS frame analysis - Peter Thomas of Control Specialists (20)

Profinet design basics - Andy Williams
Profinet design basics - Andy WilliamsProfinet design basics - Andy Williams
Profinet design basics - Andy Williams
 
Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
 
Introduction to NBL
Introduction to NBLIntroduction to NBL
Introduction to NBL
 
Profinet network design at e+h june 2018 andy williams
Profinet network design at e+h june 2018   andy williams Profinet network design at e+h june 2018   andy williams
Profinet network design at e+h june 2018 andy williams
 
Edge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video StreamingEdge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video Streaming
 
8. PROFINET network commissioning and testing - Peter Thomas
8. PROFINET network commissioning and testing - Peter Thomas8. PROFINET network commissioning and testing - Peter Thomas
8. PROFINET network commissioning and testing - Peter Thomas
 
5. profinet network design andy gilbert
5. profinet network design   andy gilbert5. profinet network design   andy gilbert
5. profinet network design andy gilbert
 
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
 
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
 
Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008Network Critical @ Sharkfest 2008
Network Critical @ Sharkfest 2008
 
Transport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in KoreaTransport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in Korea
 
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...
 
7. Ford_Dunton_TSN_CRM.pdf
7. Ford_Dunton_TSN_CRM.pdf7. Ford_Dunton_TSN_CRM.pdf
7. Ford_Dunton_TSN_CRM.pdf
 
Why choose pan
Why choose panWhy choose pan
Why choose pan
 
WebRTC overview
WebRTC overviewWebRTC overview
WebRTC overview
 
IRATI Experimentation, US-EU FIRE Workshop
IRATI Experimentation, US-EU FIRE WorkshopIRATI Experimentation, US-EU FIRE Workshop
IRATI Experimentation, US-EU FIRE Workshop
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur Channegowda
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur Channegowda
 
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...
OptiFiber Pro OTDR - Accelerates Enterprise Fiber Troubleshooting and Certifi...
 
Future services on Janet
Future services on JanetFuture services on Janet
Future services on Janet
 

Mehr von PROFIBUS and PROFINET InternationaI - PI UK

Mehr von 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
 
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 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
 
Profinet network design webinar - Peter Thomas may 2020 - v1.0
Profinet network design webinar - Peter Thomas   may 2020 - v1.0Profinet network design webinar - Peter Thomas   may 2020 - v1.0
Profinet network design webinar - Peter Thomas may 2020 - v1.0
 
EMC in Industrial Automation Systems webinar - May 2020 - Peter Thomas
EMC in Industrial Automation Systems webinar - May 2020 - Peter ThomasEMC in Industrial Automation Systems webinar - May 2020 - Peter Thomas
EMC in Industrial Automation Systems webinar - May 2020 - Peter Thomas
 

Kürzlich hochgeladen

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
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
 
"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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
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
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
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!
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
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
 
"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...
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
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
 
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?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

PROFIBUS frame analysis - Peter Thomas of Control Specialists

  • 1. A Demonstration of PROFINET Frame Analysis using Peter Thomas Control Specialists Ltd www.controlspecialists.co. uk An Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/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 see how Wireshark® can be used to analyse the captured frames to gain an understanding of the various protocols. • This is a topic covered in more detail in the Certified PROFINET Engineers Course www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 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 PROFINET and as such cannot be compared to ProfiTrace. • It is free to download and available from www.wireshark.org www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 4. 4 The need for Real Time www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013) • Normal, office-like, Ethernet communication, as defined in IEEE 802.3, is non-deterministic, i.e. the time to transmit a message from one device to another, and then receive a response, is undefined and cannot be guaranteed. • Industrial Automation Control Systems require Deterministic or “Real Time” Communications. • Software and/or hardware solutions allow IEEE 802.3 to be deterministic and operate in Real Time. • Remote I/O (typical PLC) applications generally require guaranteed responses in the order of 5-10mS. • Motion Control applications are even more demanding requiring cycle times of <1mS.
  • 5. 5 What is PROFINET • It is an Industrial Ethernet Protocol. • Unlike conventional, office-like, Ethernet, PROFINET is deterministic meaning that it is capable of supporting guaranteed cycle times. • There are two “real time” variants of PROFINET, RT for conventional PLC applications (Typ 10mS) and IRT for High Speed applications (Typ 250µS but 31.25µS ASICS have been developed). • Although considered to be the modern-day alternative to PROFIBUS DP, PROFINET is NOT PROFIBUS over ETHERNET. www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 6. Device to Device Communication (Ethernet) 6 APPLICATION LAYER (HTTP / SMTP / FTP) PRESENTATION LAYER SESSION LAYER TRANSPORT LAYER (TCP / UDP) NETWORK LAYER (IP) DATALINK LAYER (MAC ADDRESS) PHYSICAL LAYER APPLICATION LAYER (HTTP / SMPTP / FTP) PRESENTATION LAYER SESSION LAYER TRANSPORT LAYER (TCP / UDP) NETWORK LAYER (IP) DATALINK LAYER (MAC ADDRESS) PHYSICAL LAYER Device 1 Device 2 = Potential Delays www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 7. Device to Device Communication (PROFINET) 7 IO Controller IO Device STANDARD PRESENTATION LAYER SESSION LAYER TRANSPORT LAYER (UDP) NETWORK LAYER (IP ADDRESS) DATALINK LAYER (MAC ADDRESS) PHYSICAL LAYER REAL TIME STANDARD PRESENTATION LAYER SESSION LAYER TRANSPORT LAYER (UDP) NETWORK LAYER (IP ADDRESS) DATALINK LAYER (MAC ADDRESS) PHYSICAL LAYER REAL TIME www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 8. 8 Frame Capturing Ports www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 9. 9 Frame Capturing – Mirrored Ports www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 10. 10 Frame Capturing – Mirrored Ports Switch A – Port 2 (IM153-3 & WAGO) Switch B – Port 2 (IM153-3 ONLY) LAN LAN TO/FROM CPU TO/FROM IM153-3 TO/FROM WAGO www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 11. 11 Frame Capturing – ProfiTap USBX TO/FROM IM153-3 TO/FROM CPU TO/FROM WAGO www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 12. 12 Scope of this workshop • Wireshark® can 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 www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 13. 13 Equipment used in this workshop • Siemens S7 PLC Hardware & Switches. • Wago IO • ProfiTap from Procentec • Wireshark® Network Protocol Analyser. www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 14. 14 Siemens – Hardware Configuration www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 15. 15 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 (Bandwidth Control / Prioritisation), IFG (Inter Frame Gap), Preamble and SFD (Start Frame Delimiter) bytes not shown. ETHERNET FRAME 6 BYTES 2 BYTES 4 BYTES www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 16. 16 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 -- www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 17. 17 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 www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 18. 18 Common Protocols seen on PROFINET • PNIO-DCP – Device Name / IP Address Assignment • PNIO-CM – Start-up Services between an IO Controller and each IO Device. • PNIO – Cyclic IO Data Exchange • PN-PTCP – Time Syncronisation • PNIO-AL – Acyclic Alarms / Events • ARP – IP Address – MAC Address Lookup • LLDP – Device Identity & Properties. www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 19. 19 WIRESHARK - HomePage www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 20. 20 WIRESHARK – Frame Analysis Packet Filter Expression Filter Buttons Packet Details Window Packet Bytes Window Packet List Window www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)
  • 21. 21 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 Cyclic 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 www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013) Determine MAC Address
  • 22. 22 Demonstration Demonstration www.controlspecialists.co.ukAn Introduction to PROFINET Frame Analysis using Wireshark – V1.1 (21/08/2013)