SlideShare a Scribd company logo
1 of 41
Download to read offline
DIGITIZING YOUR FACTORY THE OPENDIGITIZING YOUR FACTORY THE OPEN
SOURCE WAYSOURCE WAY
05.02.2020: OOP 2020
Christofer Dutz
@ChristoferDutz
codecentric AG
1
AGENDAAGENDA
Current Situation in the (production) Industry
Introduction Apache PLC4X
Open software can outperform an expensive proprietary
product by far
Community development and commercial support work
together nicely
Innovation cycles of weeks instead of years can help you
get the most out of your invest
What is to come?
2
THE CURRENT SITUATION IN THETHE CURRENT SITUATION IN THE
INDUSTRYINDUSTRY
3
THE CURRENT SITUATION IN THETHE CURRENT SITUATION IN THE
INDUSTRYINDUSTRY
Industry 4.0 is everywhere
The industry is adopting more and more:
IoT technology
Cloud technology
Big Data technology
Machine learning and AI technology
4
THE FUTURE SITUATION IN THETHE FUTURE SITUATION IN THE
INDUSTRYINDUSTRY
2017 2018 2019 2020 2021
0
50
100
150
200
250
300
350
400
450
500
550
600
650
700
IoT Market in Billions of $
5 . 1
ALL CHARTS SORT OF LOOK THE SAMEALL CHARTS SORT OF LOOK THE SAME
5 . 2
BUTBUT
These topics are completely new to the industry
There is usually no know-how in the company
Customers turn to their established vendors
These try to close the gap
6
BUUTBUUT
These topics are completely new to the vendors
There is usually no know-how at the vendor
Vendors start buying companies that have the necessary
know-how
Additionally they start hiring talented people to close the
gap
7
BUUUTBUUUT
Unfortunately they’re doing it the same way they have been
doing it for the last 20 years
Closed-Source
Restrictive-Licenses
Insanely expensive
Restricted connectivity
8
BUUUUTBUUUUT
9
BUUUUTBUUUUT
These topics are what we’ve been doing for almost a decade
Modern IT has plenty of great tools to use
Modern IT has plenty of skilled people to take on the fight
All the industry needs to do, is start asking us instead
10
BARRIER: CONNECTIVITYBARRIER: CONNECTIVITY
Source: Bain IoT Customer Survey 2018
Security
IT/OT Integration
Unclear ROI
Technical Expertise
Interoperability
Data Portability
Vendor Risk
Transition Risk
Legal/regulatory
issues
Network constraints
Vendor lock-in
0 5 10 15 20 25 30 35 40 45
%
11
BARRIER: CONNECTIVITYBARRIER: CONNECTIVITY
Most major vendors of industrial hardware defined their own
proprietary protocols for communication
These protocols are usually always incompatible with each
other
Some standards (Modbus, EtherNet/IP, OPC)
PLCs usually provide multiple protocols
No universal way to communicate with (open-source) SW
New protocol: OPC-UA aiming at becoming the standard
12
OPC-UAOPC-UA
OPC-UA is a standard for inter-machine communication
Defined by OPC Foundation
It’s members come from almost all major automation
vendors
Been working on it for about 10 Years
Defines how to transport machine data
But also the semantics of this data
13
OPC-UA IS (CURRENTLY) NOT AOPC-UA IS (CURRENTLY) NOT A
SOLUTIONSOLUTION
OPC-UA support by adding application server to the PLC
Performance is currently less than ideal
In my opinion highly over-engineered for most current use-
cases
Usable version released end of 2018
Availability probably somewhere around 2% - 7%
14
OTHER ALTERNATIVE: MQTTOTHER ALTERNATIVE: MQTT
A number of new PLCs support MQTT directly
Been available for the last 1-2 years
Gut feeling says, number of MQTT enabled devices is less
than OPC-UA
Same Problem as with OPC-UA
→ It will take years for reasonable coverage
15
APACHE PLC4XAPACHE PLC4X
— Apache PLC4X Project Statement
PLC4X is a set of libraries for communicating
with industrial programmable logic controllers
(PLCs) using a variety of protocols but with a
shared API.
16
APACHE PLC4XAPACHE PLC4X
Applications only use API module
Integration modules available for multiple frameworks
Generally available for Java
Working on C++, C#, Python
Scala, C, JavaScript, … will follow
Ability to write software (almost) independent of the actual
PLC used
17
PLC4X SUPPORTED OPERATIONSPLC4X SUPPORTED OPERATIONS
Read
Write
Publish-Subscribe
Call Functions
Browse Resources



18
PLC4X SUPPORTED PROTOCOLSPLC4X SUPPORTED PROTOCOLS
Siemens S7 (Step7)
Beckhoff ADS
Modbus (TCP/Serial)
EtherNet/IP
OPC-UA
Allen-Bradley AB-ETH
Allen-Bradley DF1
BacNet
Emerson DeltaV
KnxNet/IP
Siemens S7 (TIA)
ProfiNet
…












19
INTEGRATION TO OTHER PROJECTSINTEGRATION TO OTHER PROJECTS
Apache Calcite
Apache Camel
Apache Edgent
Apache Kafka Connect
Apache NiFi
Apache StreamPipes
Logstash
Apache IoTDB
Eclipse Ditto
Apache MyNewt
Eclipse Kura
EdgeX Foundry
OpenHAB
…













20
OPEN SOFTWARE CAN OUTPERFORMOPEN SOFTWARE CAN OUTPERFORM
AN EXPENSIVE PROPRIETARYAN EXPENSIVE PROPRIETARY
PRODUCT BY FARPRODUCT BY FAR
21
EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE
DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA
22
EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE
DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA
Challenge:
2600 data points
Every 2 seconds
On 26000 PLCs
From 13 factories from all over the world
Making that data available in Apache Kafka
23
EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE
DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA
24
EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE
DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA
Open-Source Solution:
Apache Kafka Connect
Apache PLC4X Kafka Connect Source
Apache Kafka
2600 data points
Every 2 seconds (200ms would be possible)
600 PLCs per Kafka Connect Node
Additional Kafka Cluster
25
EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION
DATA AVAILABILITYDATA AVAILABILITY
26
EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION
DATA AVAILABILITYDATA AVAILABILITY
Large pharmaceutical company wants to optimize
production using data science
Data scientists need production data
Compliance rules and regulations make it difficult to get the
data
27
EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION
DATA AVAILABILITYDATA AVAILABILITY
Industry solution:
OSIsoft PI
Validated Software for making data available outside
28
EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION
DATA AVAILABILITYDATA AVAILABILITY
Open-Source solution:
Raspberry PI
Apache PLC4X passive mode driver
Data-Diode
29
EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION
DATA AVAILABILITYDATA AVAILABILITY
30
COMMERCIAL SUPPORTCOMMERCIAL SUPPORT
In general with Open-Source: No right for instant support
But usually around open-source projects companies offer
commercial support offerings
Ideally supporting companies also involved in the
community
get patches, fixes and improvements into the project
Commercial industry support usually just expensive
Guaranteed reaction times usually just for creating an
issue, not for delivering a fix
Hot-Fixes cost (a lot!!!) extra
31
INNOVATION CYCLES OF YEARS IN THEINNOVATION CYCLES OF YEARS IN THE
INDUSTRYINDUSTRY
Industrial Products: usually release cycles measured in
years
Available solutions usually represent "state of the art" at
inception-time
Often already deprecated on market entry
Reaction-Time on bugs and issues usually also
measured in months or even years
32
INNOVATION CYCLES OF DAYS ANDINNOVATION CYCLES OF DAYS AND
WEEKS IN OPEN-SOURCEWEEKS IN OPEN-SOURCE
Open-Source projects usually have release cycles of weeks
if not even days
Foundations even demand fast reaction on security issues
New ideas and concepts can be adopted within weeks
Short cycles allow fast adoption to new needs and
situations
Extremely fast feedback loops
33
WHAT IS TO COME (APACHE PLC4X)?WHAT IS TO COME (APACHE PLC4X)?
C-type drivers for running Apache PLC4X on:
Embedded devices
Integration into Apache MyNewt
Apache MiNiFi (Edge Gateways)
EdgeX Foundry
34
EMBEDDED PLC4XEMBEDDED PLC4X
35
THAT’S ALL FOLKS (… FOR NOW)THAT’S ALL FOLKS (… FOR NOW)
Please join our mailing list:
Apache IoT mailing list
Twitter
@ApachePLC4X
dev@plc4x.apache.org
iot@apache.org
36

More Related Content

What's hot

Embedded Linux Multimedia
Embedded Linux MultimediaEmbedded Linux Multimedia
Embedded Linux Multimedia
Caglar Dursun
 
HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009
Louis Göhl
 

What's hot (20)

101 Use Cases for IoT
101 Use Cases for IoT101 Use Cases for IoT
101 Use Cases for IoT
 
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...
 
PCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform TopologiesPCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform Topologies
 
Embedded Linux Multimedia
Embedded Linux MultimediaEmbedded Linux Multimedia
Embedded Linux Multimedia
 
ADVA aPNT+™ security enhancements
ADVA aPNT+™ security enhancementsADVA aPNT+™ security enhancements
ADVA aPNT+™ security enhancements
 
INDUSTRY 4.0 -PRASHANT MULGE
INDUSTRY 4.0 -PRASHANT MULGEINDUSTRY 4.0 -PRASHANT MULGE
INDUSTRY 4.0 -PRASHANT MULGE
 
HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009
 
Intel® QuickAssist Technology Introduction, Applications, and Lab, Including ...
Intel® QuickAssist Technology Introduction, Applications, and Lab, Including ...Intel® QuickAssist Technology Introduction, Applications, and Lab, Including ...
Intel® QuickAssist Technology Introduction, Applications, and Lab, Including ...
 
The State of Edge Computing for IoT
The State of Edge Computing for IoTThe State of Edge Computing for IoT
The State of Edge Computing for IoT
 
LPWAN technology overview
LPWAN technology overviewLPWAN technology overview
LPWAN technology overview
 
Ready
ReadyReady
Ready
 
Cloud Network Virtualization with Juniper Contrail
Cloud Network Virtualization with Juniper ContrailCloud Network Virtualization with Juniper Contrail
Cloud Network Virtualization with Juniper Contrail
 
Broadcom PCIe & CXL Switches OCP Final.pptx
Broadcom PCIe & CXL Switches OCP Final.pptxBroadcom PCIe & CXL Switches OCP Final.pptx
Broadcom PCIe & CXL Switches OCP Final.pptx
 
The convergence of IoT and Quantum Computing
The convergence of IoT and Quantum ComputingThe convergence of IoT and Quantum Computing
The convergence of IoT and Quantum Computing
 
Huawei 6 month industrail training program
Huawei 6 month industrail training programHuawei 6 month industrail training program
Huawei 6 month industrail training program
 
NVIDIA Keynote #GTC21
NVIDIA Keynote #GTC21 NVIDIA Keynote #GTC21
NVIDIA Keynote #GTC21
 
Enabling the metaverse with 5G- web.pdf
Enabling the metaverse with 5G- web.pdfEnabling the metaverse with 5G- web.pdf
Enabling the metaverse with 5G- web.pdf
 
Supermicro’s Universal GPU: Modular, Standards Based and Built for the Future
Supermicro’s Universal GPU: Modular, Standards Based and Built for the FutureSupermicro’s Universal GPU: Modular, Standards Based and Built for the Future
Supermicro’s Universal GPU: Modular, Standards Based and Built for the Future
 
INDUSTRY 4.0 (Economics for Engineers)
INDUSTRY 4.0 (Economics for Engineers)INDUSTRY 4.0 (Economics for Engineers)
INDUSTRY 4.0 (Economics for Engineers)
 
AI firsts: Leading from research to proof-of-concept
AI firsts: Leading from research to proof-of-conceptAI firsts: Leading from research to proof-of-concept
AI firsts: Leading from research to proof-of-concept
 

Similar to Digitizing your factory the open source way

Open computer systems
Open computer systemsOpen computer systems
Open computer systems
Yasushi Hara
 
Open computer systems
Open computer systemsOpen computer systems
Open computer systems
Yasushi Hara
 
Open computer systems
Open computer systemsOpen computer systems
Open computer systems
Yasushi Hara
 

Similar to Digitizing your factory the open source way (20)

IIB Manufacturing Pack v1001
IIB Manufacturing Pack v1001IIB Manufacturing Pack v1001
IIB Manufacturing Pack v1001
 
OPC UA: Ready for realtime
OPC UA: Ready for realtimeOPC UA: Ready for realtime
OPC UA: Ready for realtime
 
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
 
Flexible and Scalable Integration in the Automation Industry/Industrial IoT
Flexible and Scalable Integration in the Automation Industry/Industrial IoTFlexible and Scalable Integration in the Automation Industry/Industrial IoT
Flexible and Scalable Integration in the Automation Industry/Industrial IoT
 
Open computer systems
Open computer systemsOpen computer systems
Open computer systems
 
Open computer systems
Open computer systemsOpen computer systems
Open computer systems
 
Open computer systems
Open computer systemsOpen computer systems
Open computer systems
 
Cl16 wit io_t
Cl16 wit io_tCl16 wit io_t
Cl16 wit io_t
 
Platform independent secure data exchange not only for RFID
Platform independent secure data exchange not only for RFIDPlatform independent secure data exchange not only for RFID
Platform independent secure data exchange not only for RFID
 
Red Hat OpenShift Enterprise 2 Launch Webcast Slides Dec 3, 2013
Red Hat OpenShift Enterprise 2 Launch Webcast Slides Dec 3, 2013Red Hat OpenShift Enterprise 2 Launch Webcast Slides Dec 3, 2013
Red Hat OpenShift Enterprise 2 Launch Webcast Slides Dec 3, 2013
 
Juniper Jumpstarts Innovation: Open Sources SDN Controller
Juniper Jumpstarts Innovation: Open Sources SDN ControllerJuniper Jumpstarts Innovation: Open Sources SDN Controller
Juniper Jumpstarts Innovation: Open Sources SDN Controller
 
OPC -Connectivity using Java
OPC -Connectivity using JavaOPC -Connectivity using Java
OPC -Connectivity using Java
 
Catching the Internet of Things (IoT) Wave
Catching the Internet of Things (IoT) WaveCatching the Internet of Things (IoT) Wave
Catching the Internet of Things (IoT) Wave
 
From idea to the field - Simplify Your IoT project (Acal BFi Nordic & Sierra ...
From idea to the field - Simplify Your IoT project (Acal BFi Nordic & Sierra ...From idea to the field - Simplify Your IoT project (Acal BFi Nordic & Sierra ...
From idea to the field - Simplify Your IoT project (Acal BFi Nordic & Sierra ...
 
FIWARE Global Summit - Cloud and Edge Standards for Industrial Instrumentatio...
FIWARE Global Summit - Cloud and Edge Standards for Industrial Instrumentatio...FIWARE Global Summit - Cloud and Edge Standards for Industrial Instrumentatio...
FIWARE Global Summit - Cloud and Edge Standards for Industrial Instrumentatio...
 
Webinar: Desenvolvendo Projetos com soluções Wi-Fi e Bluetooth da Infineon
Webinar: Desenvolvendo Projetos com soluções Wi-Fi e Bluetooth da InfineonWebinar: Desenvolvendo Projetos com soluções Wi-Fi e Bluetooth da Infineon
Webinar: Desenvolvendo Projetos com soluções Wi-Fi e Bluetooth da Infineon
 
Open platform communication
Open platform communicationOpen platform communication
Open platform communication
 
Overview of PROFIBUS and PROFINET International's current and developing tech...
Overview of PROFIBUS and PROFINET International's current and developing tech...Overview of PROFIBUS and PROFINET International's current and developing tech...
Overview of PROFIBUS and PROFINET International's current and developing tech...
 
HPC the new normal: from HPC to HPEC
HPC the new normal: from HPC to HPECHPC the new normal: from HPC to HPEC
HPC the new normal: from HPC to HPEC
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
 

Recently uploaded

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Recently uploaded (20)

%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 

Digitizing your factory the open source way

  • 1. DIGITIZING YOUR FACTORY THE OPENDIGITIZING YOUR FACTORY THE OPEN SOURCE WAYSOURCE WAY 05.02.2020: OOP 2020 Christofer Dutz @ChristoferDutz codecentric AG 1
  • 2. AGENDAAGENDA Current Situation in the (production) Industry Introduction Apache PLC4X Open software can outperform an expensive proprietary product by far Community development and commercial support work together nicely Innovation cycles of weeks instead of years can help you get the most out of your invest What is to come? 2
  • 3. THE CURRENT SITUATION IN THETHE CURRENT SITUATION IN THE INDUSTRYINDUSTRY
  • 4. 3
  • 5. THE CURRENT SITUATION IN THETHE CURRENT SITUATION IN THE INDUSTRYINDUSTRY Industry 4.0 is everywhere The industry is adopting more and more: IoT technology Cloud technology Big Data technology Machine learning and AI technology 4
  • 6. THE FUTURE SITUATION IN THETHE FUTURE SITUATION IN THE INDUSTRYINDUSTRY 2017 2018 2019 2020 2021 0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 IoT Market in Billions of $ 5 . 1
  • 7. ALL CHARTS SORT OF LOOK THE SAMEALL CHARTS SORT OF LOOK THE SAME 5 . 2
  • 8. BUTBUT These topics are completely new to the industry There is usually no know-how in the company Customers turn to their established vendors These try to close the gap 6
  • 9. BUUTBUUT These topics are completely new to the vendors There is usually no know-how at the vendor Vendors start buying companies that have the necessary know-how Additionally they start hiring talented people to close the gap 7
  • 10. BUUUTBUUUT Unfortunately they’re doing it the same way they have been doing it for the last 20 years Closed-Source Restrictive-Licenses Insanely expensive Restricted connectivity 8
  • 12. BUUUUTBUUUUT These topics are what we’ve been doing for almost a decade Modern IT has plenty of great tools to use Modern IT has plenty of skilled people to take on the fight All the industry needs to do, is start asking us instead 10
  • 13. BARRIER: CONNECTIVITYBARRIER: CONNECTIVITY Source: Bain IoT Customer Survey 2018 Security IT/OT Integration Unclear ROI Technical Expertise Interoperability Data Portability Vendor Risk Transition Risk Legal/regulatory issues Network constraints Vendor lock-in 0 5 10 15 20 25 30 35 40 45 % 11
  • 14. BARRIER: CONNECTIVITYBARRIER: CONNECTIVITY Most major vendors of industrial hardware defined their own proprietary protocols for communication These protocols are usually always incompatible with each other Some standards (Modbus, EtherNet/IP, OPC) PLCs usually provide multiple protocols No universal way to communicate with (open-source) SW New protocol: OPC-UA aiming at becoming the standard 12
  • 15. OPC-UAOPC-UA OPC-UA is a standard for inter-machine communication Defined by OPC Foundation It’s members come from almost all major automation vendors Been working on it for about 10 Years Defines how to transport machine data But also the semantics of this data 13
  • 16. OPC-UA IS (CURRENTLY) NOT AOPC-UA IS (CURRENTLY) NOT A SOLUTIONSOLUTION OPC-UA support by adding application server to the PLC Performance is currently less than ideal In my opinion highly over-engineered for most current use- cases Usable version released end of 2018 Availability probably somewhere around 2% - 7% 14
  • 17. OTHER ALTERNATIVE: MQTTOTHER ALTERNATIVE: MQTT A number of new PLCs support MQTT directly Been available for the last 1-2 years Gut feeling says, number of MQTT enabled devices is less than OPC-UA Same Problem as with OPC-UA → It will take years for reasonable coverage 15
  • 18. APACHE PLC4XAPACHE PLC4X — Apache PLC4X Project Statement PLC4X is a set of libraries for communicating with industrial programmable logic controllers (PLCs) using a variety of protocols but with a shared API. 16
  • 19. APACHE PLC4XAPACHE PLC4X Applications only use API module Integration modules available for multiple frameworks Generally available for Java Working on C++, C#, Python Scala, C, JavaScript, … will follow Ability to write software (almost) independent of the actual PLC used 17
  • 20. PLC4X SUPPORTED OPERATIONSPLC4X SUPPORTED OPERATIONS Read Write Publish-Subscribe Call Functions Browse Resources    18
  • 21. PLC4X SUPPORTED PROTOCOLSPLC4X SUPPORTED PROTOCOLS Siemens S7 (Step7) Beckhoff ADS Modbus (TCP/Serial) EtherNet/IP OPC-UA Allen-Bradley AB-ETH Allen-Bradley DF1 BacNet Emerson DeltaV KnxNet/IP Siemens S7 (TIA) ProfiNet …             19
  • 22. INTEGRATION TO OTHER PROJECTSINTEGRATION TO OTHER PROJECTS Apache Calcite Apache Camel Apache Edgent Apache Kafka Connect Apache NiFi Apache StreamPipes Logstash Apache IoTDB Eclipse Ditto Apache MyNewt Eclipse Kura EdgeX Foundry OpenHAB …              20
  • 23. OPEN SOFTWARE CAN OUTPERFORMOPEN SOFTWARE CAN OUTPERFORM AN EXPENSIVE PROPRIETARYAN EXPENSIVE PROPRIETARY PRODUCT BY FARPRODUCT BY FAR 21
  • 24. EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA
  • 25. 22
  • 26. EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA Challenge: 2600 data points Every 2 seconds On 26000 PLCs From 13 factories from all over the world Making that data available in Apache Kafka 23
  • 27. EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA 24
  • 28. EXAMPLE 1: MAKING TBS OF MACHINEEXAMPLE 1: MAKING TBS OF MACHINE DATA AVAILABLE IN KAFKADATA AVAILABLE IN KAFKA Open-Source Solution: Apache Kafka Connect Apache PLC4X Kafka Connect Source Apache Kafka 2600 data points Every 2 seconds (200ms would be possible) 600 PLCs per Kafka Connect Node Additional Kafka Cluster 25
  • 29. EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION DATA AVAILABILITYDATA AVAILABILITY
  • 30. 26
  • 31. EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION DATA AVAILABILITYDATA AVAILABILITY Large pharmaceutical company wants to optimize production using data science Data scientists need production data Compliance rules and regulations make it difficult to get the data 27
  • 32. EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION DATA AVAILABILITYDATA AVAILABILITY Industry solution: OSIsoft PI Validated Software for making data available outside 28
  • 33. EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION DATA AVAILABILITYDATA AVAILABILITY Open-Source solution: Raspberry PI Apache PLC4X passive mode driver Data-Diode 29
  • 34. EXAMPLE 2: SECURE PRODUCTIONEXAMPLE 2: SECURE PRODUCTION DATA AVAILABILITYDATA AVAILABILITY 30
  • 35. COMMERCIAL SUPPORTCOMMERCIAL SUPPORT In general with Open-Source: No right for instant support But usually around open-source projects companies offer commercial support offerings Ideally supporting companies also involved in the community get patches, fixes and improvements into the project Commercial industry support usually just expensive Guaranteed reaction times usually just for creating an issue, not for delivering a fix Hot-Fixes cost (a lot!!!) extra 31
  • 36. INNOVATION CYCLES OF YEARS IN THEINNOVATION CYCLES OF YEARS IN THE INDUSTRYINDUSTRY Industrial Products: usually release cycles measured in years Available solutions usually represent "state of the art" at inception-time Often already deprecated on market entry Reaction-Time on bugs and issues usually also measured in months or even years 32
  • 37. INNOVATION CYCLES OF DAYS ANDINNOVATION CYCLES OF DAYS AND WEEKS IN OPEN-SOURCEWEEKS IN OPEN-SOURCE Open-Source projects usually have release cycles of weeks if not even days Foundations even demand fast reaction on security issues New ideas and concepts can be adopted within weeks Short cycles allow fast adoption to new needs and situations Extremely fast feedback loops 33
  • 38. WHAT IS TO COME (APACHE PLC4X)?WHAT IS TO COME (APACHE PLC4X)? C-type drivers for running Apache PLC4X on: Embedded devices Integration into Apache MyNewt Apache MiNiFi (Edge Gateways) EdgeX Foundry 34
  • 40. 35
  • 41. THAT’S ALL FOLKS (… FOR NOW)THAT’S ALL FOLKS (… FOR NOW) Please join our mailing list: Apache IoT mailing list Twitter @ApachePLC4X dev@plc4x.apache.org iot@apache.org 36