summit...operations (ot) enterprise (it) it systems crm asset management erp supply chain finance...
TRANSCRIPT
S U M M I TB e r l i n
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Industry 4.0Managing the Protocol Zoo
Markus BestehornPrototyping Engagement ManagerAmazon Webservices
B E R S U M 1 9 - 4 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Agenda
“Protocol Zoo”Where does it happen?Why?
Deep Dive Greengrass with IIoT
IIoT Extraction Design Pattern
Summary
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Money Spent on IIoT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Results for Spending the Money?
Unable to link data together
96%of industrial
state data is not used
Data collected too
infrequently
39%of Manufacturers do not
regularly collect data
Data difficult to access
66%of industrial companies find data is difficult to
access
Why?SCM World/Cisco “Smart Manufacturing & the Internet of Things 2015”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Decades of this...
Source: https://xkcd.com/927/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
... resulted in this!
Operations (OT) Enterprise (IT)
IT Systems
CRM
Asset Management
ERP
Supply Chain
Finance
Maintenance
Compliance
Shopfloor
Single machine with multiple components following different
standards
Complete production line likely to have
many machines with different protocols
Challenge: Get data from OT to IT and make it usable!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Operations (OT)
Solving Industrial Data Extraction Factory Machines
Enterprise (IT)
Protocolconversion
Modbusconversion
OPC UAconversion
Gateway
Custom / Proprietary Protocol
MQTT
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
OPC-UA with Grenngrass
from opcua import Client as OPCUAClientclient = OPCUAClient(url)
client.connect()rootNode = client.get_root_node()
rootNode.get_child(path).get_data_value()
iotclient.publish(topic="opcua/raw", payload=json.dumps(extractResult)
)
Load the library
Connect to the IIoT data source
Retrieve
Push to MQTT
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modbus with Greengrass
from pymodbus.client.sync import ModbusTcpClientclient = ModbusClient(host, port)
client.connect()
r = client.read_holding_registers(address, bytes)
iotclient.publish(topic="modbus/raw", payload=json.dumps(r)
)
Load the library
Connect to the IIoT data source
Retrieve
Push to MQTT
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Raw TCP with Greengrass
import socketipclient = socket.socket()
address=(ip,port)ipclient.connect(address)
data = str(ipclient.recv(1024).decode("utf-8")
iotclient.publish(topic="qr/raw", payload=data)
Load the library
Connect to the IIoT data source
Retrieve
Push to MQTT
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
IIoT Design Pattern – ETL @ Edge
Load• Buffering• Compression• Gateway Cloud
Transform• Formats (CVS JSON)• Filtering• Data translation
Extract• Protocol conversion• Data rate• Polling vs Events
Operations (OT)
Gateway
Extract Transform Load
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
IIoT Design Pattern – ETL @ Edge
Operations (OT)
Gateway
Extract Transform Load
Extract{"timestamp": 1548754800.668631,"data": "\u0002May the Greengrass be with you! \u0002NoRead\u0003 \u0002NoRead\u0003“
}
Transform{
"timestamp": 1548754800.668631,"codes": [ "May the Greengrass be with you!" ], "NoReadsCount": 2
}
LoadIf (hasNewCode(codes)):iotclient.publish(topic="qr/result", payload=codes)store(codes)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Key Takeaways & Call to ActionAWS Lambda on AWS Greengrass makes industrial data extraction simple
Jump into Industry 4.0• Start building• Get help
• AWS prototyping teams• Immersion Days• Digital Innovation Team• etc
Approach applicable to various industrial protocols
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Related breakouts
Serverless Industry 4.0 & AI: Drive Business Insights from Machine Data
Jan Metzner & Markus Bestehorn
Rise of Robotics: Innovating the Future with IoT & AIOzkan Can
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Markus Bestehorn
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.