SlideShare a Scribd company logo
Copyright © by HiveMQ. All Rights Reserved.
WELCOME
Christofer Dutz Florian Raschbichler
● Senior Software Engineer
at Mapped
● Member of Apache
Software Foundation
● Committer in 13 Apache
Projects
● VP Apache PLC4X Project
linkedin.com/in/christofer-dutz linkedin.com/in/fraschbi/
● Head of Support at
HiveMQ
● 7 years of MQTT
experience
● Blogger & Speaker
● Helped 130+ customers
to go into production with
IoT use cases
Copyright © by HiveMQ. All Rights Reserved.
Current Situation
Copyright © by HiveMQ. All Rights Reserved.
● Most important components: PLCs
○ Little Computers that run machinery
○ Very limited resources (CPU & Memory)
○ Up to Real-Time operation
○ Actually never crash
● Currently the industry is all about industry 4.0
● industry 4.0 is all about AI & Machine Learning
● AI & Machine Learning is all about data
○ It’s actually about lots of data
● Data is everywhere
● Accessing Data is easy (on new PLCs)
○ Using OPC UA or MQTT
Current Situation in Manufacturing/Automation
Copyright © by HiveMQ. All Rights Reserved.
What is OPC UA?
Copyright © by HiveMQ. All Rights Reserved.
Introducing OPC UA
● OPC Unified Architecture
● Standard & Protocol for
○ Platform independent data
exchange
○ Service-Oriented architecture
● Also defines the semantics of data
● Created by the OPC Foundation
● Development time: about 10 years
● Sort of final version released 2 years ago
Copyright © by HiveMQ. All Rights Reserved.
Problems with OPC UA?
● A highly complex standard
● Incompatible Asset Administration Shells
● Need to add application-server to PLC
● Great for accessing small amounts of
data (for Dashboards, Logging, etc.)
● Inacceptable performance when
accessing large amounts of data -
especially at high frequencies (for AI &
Machine learning)
Copyright © by HiveMQ. All Rights Reserved.
What is MQTT?
Copyright © by HiveMQ. All Rights Reserved.
Introducing MQTT
● IoT messaging protocol
● Publish/subscribe
● Minimal overhead for client and
bandwidth
● Lightweight client implementations
● Designed for reliable communications
over unreliable channels
● 3 Quality of Service (QoS) levels
● MQTT 5 is required for IIoT
Copyright © by HiveMQ. All Rights Reserved.
Publish / Subscribe Pattern
Copyright © by HiveMQ. All Rights Reserved.
MQTT Pub/Sub Advantages
• Push Communication
• Message filtering based on subjects topics
• Synchronization Decoupling
• Time Decoupling
• Space Decoupling
• Dynamic Topics
Copyright © by HiveMQ. All Rights Reserved.
So why not just concentrate on MQTT?
● Industrial Hardware usually built for
lifespans of 20 years
● MQTT enabled PLCs available for 1-2
years
● Assuming that every PLC built into
machinery in the last 2 years supports
MQTT:
○ 5% of machinery replaced per year
○ -> Max. 10% availability
● What to do with the remaining >90%?
Copyright © by HiveMQ. All Rights Reserved.
MQTT Open Standard - Freedom¹
● Free and open ISO standard
● OASIS standard
● Technical committee of users
● Periodic improvements
Copyright © by HiveMQ. All Rights Reserved.
● Accessing data on PLCs older than 1-2 years is
difficult
○ Hundreds (if not even thousands) of protocols
○ Incompatibilities between manufacturers
○ Most have absolutely no security
○ Those with security features mostly
implemented in a useless fashion
● Especially when using OPC UA mostly performance
is unacceptable for:
○ Lots of data
○ In high frequencies
Current Situation in Manufacturing/Automation
Copyright © by HiveMQ. All Rights Reserved.
● Usage of integration platforms
○ Extremely expensive
○ Usually Monoliths -> Don’t scale well
● Usage of commercial or open-source drivers
○ Commercial usually == Expensive
○ Open-Source mostly:
■ Very old projects
■ Badly maintained
■ Bady licensed
● Usage of (hardware) gateways
○ Gateway PLCs
○ Protocol Adapters/Gateways
Current Solutions
Copyright © by HiveMQ. All Rights Reserved.
Introducing Apache PLC4X
Copyright © by HiveMQ. All Rights Reserved.
Apache PLC4X Open Source - Freedom²
“PLC4X is a set of libraries for communicating
with industrial programmable logic controllers
(PLCs) using a variety of protocols but with a
shared API”
Copyright © by HiveMQ. All Rights Reserved.
Supported Operations:
● Read ✓
● Write ✓
● Subscribe ✓
○ On value change
○ Cyclic
○ Events
● Browse ✗
● Execute ✗
Apache PLC4X Implementation
Copyright © by HiveMQ. All Rights Reserved.
Supported Protocols:
● Siemens S7 ✓
● Beckhoff ADS ✓
● Modbus ✓
● EtherNet/IP ✓
● OPC-UA ✓
● Firmata ✓
● KnxNet/IP ✓
● CAN ✓
Apache PLC4X Implementation - Freedom³
● Allen-Bradley AB-ETH ✗
● Allen-Bradley DF1 ✗
● BacNet ✗
● Emerson DeltaV ✗
● Luxtronic ✗
● Siemens S7 (TIA) ✗
● ProfiNet ✗
● …
Copyright © by HiveMQ. All Rights Reserved.
Supported Languages:
● Java ✓
● Go ✓
● C ✗
● Python ✗
● C# ✗
● C++ ✗
● ...
Apache PLC4X Implementation - Freedom³
Copyright © by HiveMQ. All Rights Reserved.
● One API for all drivers
● One software can handle any type of machinery
○ Different Vendors in different Plants
○ Upgrading / Replacing machinery
● No need to retrofit existing machinery
● No license costs
● Passive-Mode drivers
Apache PLC4X USPs - Freedom⁴
Copyright © by HiveMQ. All Rights Reserved.
Apache PLC4X Passive - Mode Drivers
● Secure by design
● Only listen to network traffic
● Make data in production network available 100% secure
● No need to validate/certify drivers
● Support subscription API
Copyright © by HiveMQ. All Rights Reserved.
Apache PLC4X Passive-Mode Drivers
● Wiesemann & Theis GmbH built “Data-Diode”
● Explicitly built for usage with Apache PLC4X passive-mode drivers
● Product name: Fix Defined Firewall
● https://www.wut.de/e-55312-ww-dade-000.php
Copyright © by HiveMQ. All Rights Reserved.
Apache PLC4X Commercial Support
● https://industrial-opensource.com
● 14 Businesses around Apache PLC4X and other Apache IoT project
● Formed alliance for providing support for IoT Open-Source projects
● Services:
○ Trainings & Workshops
○ Consulting Services
○ Implementation (assistance)
○ Technical Support
○ Legal Consulting
Copyright © by HiveMQ. All Rights Reserved.
Tit
MQTT for the new and upcoming devices
Apache PLC4X for all the existing & old
Machines
Perfect Match
Copyright © by HiveMQ. All Rights Reserved.
Demo Time
Copyright © by HiveMQ. All Rights Reserved.
Data-Diode
Copyright © by HiveMQ. All Rights Reserved.
Demo Setup
Copyright © by HiveMQ. All Rights Reserved.
Demo Client
• Go to:
http://www.hivemq.com/demos/websocket-client/
• connect to Host: broker.hivemq.com with Port: 8000
• Subscribe to topic plc4x/sorting-line-topic
Copyright © by HiveMQ. All Rights Reserved.
Questions?
THANK YOU
Copyright © by HiveMQ. All Rights Reserved.
Stay updated on upcoming webinars
Subscribe to our Newsletternewsletter.social/hivemq
Reach out to HiveMQ Community Forum if you have
questions
Submit your question now!

More Related Content

Similar to Free Your Manufacturing Data with Apache PLC4X & MQTT

Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the Cloud
HiveMQ
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
Dominik Obermaier
 
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ CloudDebugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
HiveMQ
 
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integrationHiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
MargarethaErber
 
Connecting the smart factory to the cloud with MQTT and Sparkplug
Connecting the smart factory to the cloud with MQTT and SparkplugConnecting the smart factory to the cloud with MQTT and Sparkplug
Connecting the smart factory to the cloud with MQTT and Sparkplug
Ian Skerrett
 
Industrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplugIndustrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplug
HugoMller5
 
MQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfallsMQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfalls
Dominik Obermaier
 
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging LayerHiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
Dominik Obermaier
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ Cloud
MargarethaErber
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloud
MargarethaErber
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
HiveMQ
 
IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTT
HiveMQ
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud Webinar
HiveMQ
 
Media processing with serverless architecture
Media processing with serverless architectureMedia processing with serverless architecture
Media processing with serverless architecture
Kensaku Komatsu
 
Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5
Florian Raschbichler
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
InfluxData
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
HiveMQ
 
Turn Any Panel PC Into an Ignition HMI
Turn Any Panel PC Into an Ignition HMITurn Any Panel PC Into an Ignition HMI
Turn Any Panel PC Into an Ignition HMI
Inductive Automation
 
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdfUC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
Wlamir Molinari
 
Iot in-production
Iot in-productionIot in-production
Iot in-production
Florian Raschbichler
 

Similar to Free Your Manufacturing Data with Apache PLC4X & MQTT (20)

Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the Cloud
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
 
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ CloudDebugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
 
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integrationHiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
 
Connecting the smart factory to the cloud with MQTT and Sparkplug
Connecting the smart factory to the cloud with MQTT and SparkplugConnecting the smart factory to the cloud with MQTT and Sparkplug
Connecting the smart factory to the cloud with MQTT and Sparkplug
 
Industrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplugIndustrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplug
 
MQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfallsMQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfalls
 
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging LayerHiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ Cloud
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloud
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
 
IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTT
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud Webinar
 
Media processing with serverless architecture
Media processing with serverless architectureMedia processing with serverless architecture
Media processing with serverless architecture
 
Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
 
Turn Any Panel PC Into an Ignition HMI
Turn Any Panel PC Into an Ignition HMITurn Any Panel PC Into an Ignition HMI
Turn Any Panel PC Into an Ignition HMI
 
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdfUC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
 
Iot in-production
Iot in-productionIot in-production
Iot in-production
 

More from HiveMQ

Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with Confidence
HiveMQ
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoT
HiveMQ
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
HiveMQ
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ
 
How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases Possible
HiveMQ
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
HiveMQ
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
HiveMQ
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ Extension
HiveMQ
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
HiveMQ
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car Platforms
HiveMQ
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTT
HiveMQ
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future
HiveMQ
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT
HiveMQ
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
HiveMQ
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
HiveMQ
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
HiveMQ
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
HiveMQ
 

More from HiveMQ (17)

Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with Confidence
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoT
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
 
How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases Possible
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ Extension
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car Platforms
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTT
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
 

Recently uploaded

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Free Your Manufacturing Data with Apache PLC4X & MQTT

  • 1.
  • 2. Copyright © by HiveMQ. All Rights Reserved. WELCOME Christofer Dutz Florian Raschbichler ● Senior Software Engineer at Mapped ● Member of Apache Software Foundation ● Committer in 13 Apache Projects ● VP Apache PLC4X Project linkedin.com/in/christofer-dutz linkedin.com/in/fraschbi/ ● Head of Support at HiveMQ ● 7 years of MQTT experience ● Blogger & Speaker ● Helped 130+ customers to go into production with IoT use cases
  • 3. Copyright © by HiveMQ. All Rights Reserved. Current Situation
  • 4. Copyright © by HiveMQ. All Rights Reserved. ● Most important components: PLCs ○ Little Computers that run machinery ○ Very limited resources (CPU & Memory) ○ Up to Real-Time operation ○ Actually never crash ● Currently the industry is all about industry 4.0 ● industry 4.0 is all about AI & Machine Learning ● AI & Machine Learning is all about data ○ It’s actually about lots of data ● Data is everywhere ● Accessing Data is easy (on new PLCs) ○ Using OPC UA or MQTT Current Situation in Manufacturing/Automation
  • 5. Copyright © by HiveMQ. All Rights Reserved. What is OPC UA?
  • 6. Copyright © by HiveMQ. All Rights Reserved. Introducing OPC UA ● OPC Unified Architecture ● Standard & Protocol for ○ Platform independent data exchange ○ Service-Oriented architecture ● Also defines the semantics of data ● Created by the OPC Foundation ● Development time: about 10 years ● Sort of final version released 2 years ago
  • 7. Copyright © by HiveMQ. All Rights Reserved. Problems with OPC UA? ● A highly complex standard ● Incompatible Asset Administration Shells ● Need to add application-server to PLC ● Great for accessing small amounts of data (for Dashboards, Logging, etc.) ● Inacceptable performance when accessing large amounts of data - especially at high frequencies (for AI & Machine learning)
  • 8. Copyright © by HiveMQ. All Rights Reserved. What is MQTT?
  • 9. Copyright © by HiveMQ. All Rights Reserved. Introducing MQTT ● IoT messaging protocol ● Publish/subscribe ● Minimal overhead for client and bandwidth ● Lightweight client implementations ● Designed for reliable communications over unreliable channels ● 3 Quality of Service (QoS) levels ● MQTT 5 is required for IIoT
  • 10. Copyright © by HiveMQ. All Rights Reserved. Publish / Subscribe Pattern
  • 11. Copyright © by HiveMQ. All Rights Reserved. MQTT Pub/Sub Advantages • Push Communication • Message filtering based on subjects topics • Synchronization Decoupling • Time Decoupling • Space Decoupling • Dynamic Topics
  • 12. Copyright © by HiveMQ. All Rights Reserved. So why not just concentrate on MQTT? ● Industrial Hardware usually built for lifespans of 20 years ● MQTT enabled PLCs available for 1-2 years ● Assuming that every PLC built into machinery in the last 2 years supports MQTT: ○ 5% of machinery replaced per year ○ -> Max. 10% availability ● What to do with the remaining >90%?
  • 13. Copyright © by HiveMQ. All Rights Reserved. MQTT Open Standard - Freedom¹ ● Free and open ISO standard ● OASIS standard ● Technical committee of users ● Periodic improvements
  • 14. Copyright © by HiveMQ. All Rights Reserved. ● Accessing data on PLCs older than 1-2 years is difficult ○ Hundreds (if not even thousands) of protocols ○ Incompatibilities between manufacturers ○ Most have absolutely no security ○ Those with security features mostly implemented in a useless fashion ● Especially when using OPC UA mostly performance is unacceptable for: ○ Lots of data ○ In high frequencies Current Situation in Manufacturing/Automation
  • 15. Copyright © by HiveMQ. All Rights Reserved. ● Usage of integration platforms ○ Extremely expensive ○ Usually Monoliths -> Don’t scale well ● Usage of commercial or open-source drivers ○ Commercial usually == Expensive ○ Open-Source mostly: ■ Very old projects ■ Badly maintained ■ Bady licensed ● Usage of (hardware) gateways ○ Gateway PLCs ○ Protocol Adapters/Gateways Current Solutions
  • 16. Copyright © by HiveMQ. All Rights Reserved. Introducing Apache PLC4X
  • 17. Copyright © by HiveMQ. All Rights Reserved. Apache PLC4X Open Source - Freedom² “PLC4X is a set of libraries for communicating with industrial programmable logic controllers (PLCs) using a variety of protocols but with a shared API”
  • 18. Copyright © by HiveMQ. All Rights Reserved. Supported Operations: ● Read ✓ ● Write ✓ ● Subscribe ✓ ○ On value change ○ Cyclic ○ Events ● Browse ✗ ● Execute ✗ Apache PLC4X Implementation
  • 19. Copyright © by HiveMQ. All Rights Reserved. Supported Protocols: ● Siemens S7 ✓ ● Beckhoff ADS ✓ ● Modbus ✓ ● EtherNet/IP ✓ ● OPC-UA ✓ ● Firmata ✓ ● KnxNet/IP ✓ ● CAN ✓ Apache PLC4X Implementation - Freedom³ ● Allen-Bradley AB-ETH ✗ ● Allen-Bradley DF1 ✗ ● BacNet ✗ ● Emerson DeltaV ✗ ● Luxtronic ✗ ● Siemens S7 (TIA) ✗ ● ProfiNet ✗ ● …
  • 20. Copyright © by HiveMQ. All Rights Reserved. Supported Languages: ● Java ✓ ● Go ✓ ● C ✗ ● Python ✗ ● C# ✗ ● C++ ✗ ● ... Apache PLC4X Implementation - Freedom³
  • 21. Copyright © by HiveMQ. All Rights Reserved. ● One API for all drivers ● One software can handle any type of machinery ○ Different Vendors in different Plants ○ Upgrading / Replacing machinery ● No need to retrofit existing machinery ● No license costs ● Passive-Mode drivers Apache PLC4X USPs - Freedom⁴
  • 22. Copyright © by HiveMQ. All Rights Reserved. Apache PLC4X Passive - Mode Drivers ● Secure by design ● Only listen to network traffic ● Make data in production network available 100% secure ● No need to validate/certify drivers ● Support subscription API
  • 23. Copyright © by HiveMQ. All Rights Reserved. Apache PLC4X Passive-Mode Drivers ● Wiesemann & Theis GmbH built “Data-Diode” ● Explicitly built for usage with Apache PLC4X passive-mode drivers ● Product name: Fix Defined Firewall ● https://www.wut.de/e-55312-ww-dade-000.php
  • 24. Copyright © by HiveMQ. All Rights Reserved. Apache PLC4X Commercial Support ● https://industrial-opensource.com ● 14 Businesses around Apache PLC4X and other Apache IoT project ● Formed alliance for providing support for IoT Open-Source projects ● Services: ○ Trainings & Workshops ○ Consulting Services ○ Implementation (assistance) ○ Technical Support ○ Legal Consulting
  • 25. Copyright © by HiveMQ. All Rights Reserved. Tit MQTT for the new and upcoming devices Apache PLC4X for all the existing & old Machines Perfect Match
  • 26. Copyright © by HiveMQ. All Rights Reserved. Demo Time
  • 27. Copyright © by HiveMQ. All Rights Reserved. Data-Diode
  • 28. Copyright © by HiveMQ. All Rights Reserved. Demo Setup
  • 29. Copyright © by HiveMQ. All Rights Reserved. Demo Client • Go to: http://www.hivemq.com/demos/websocket-client/ • connect to Host: broker.hivemq.com with Port: 8000 • Subscribe to topic plc4x/sorting-line-topic
  • 30. Copyright © by HiveMQ. All Rights Reserved. Questions?
  • 31. THANK YOU Copyright © by HiveMQ. All Rights Reserved. Stay updated on upcoming webinars Subscribe to our Newsletternewsletter.social/hivemq Reach out to HiveMQ Community Forum if you have questions Submit your question now!