内容纲要

@TOC

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

前言

老旧设备如何被赋予联网能力?

物联网IoT如何产生类似互联网效应?

如何再次挖掘工业生产过程数据价值?

在这里插入图片描述

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

背景

传统制造业数字化面临的瓶颈

长期以来,挖掘制造业领域老旧设备数字化价值面临诸多瓶颈,基础环节体现在设备不具备联网能力、数据源分散,更深层次环节体现在数据复用能力弱、行业系统层级应用等。

意义

本例亮点之一是无锡凌顶科技旗下SCAEdge边缘计算网关为老旧PLC构建完整工业物联网平台提供底层支撑,并结合微软Azure赋能工业设备接入工业互联网。

本例主要介绍在任意架构(Arm/x86_64) 结合 Azure IoT Edge 并使用 scapeak-iiot module 在边缘侧跟踪(Trace) 工业现场条件变化。将必要的告警信号、关键变量等通过边缘计算网关上传至Azure IoT Hub。

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

适用场景或需求

  • 传统PLC可接入OPCUA Server(即使该 PLC 不支持 OPC UA)
  • PLC直接连接至IoT Edge
  • PLC间接连接至IoT Hub
  • 生产过程数据不上云
  • 事件上云
  • 边缘侧数据清洗
  • 来自云端作业下发

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

体系架构

在这里插入图片描述

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

QuickStart

准备

  • An ArmV8 / x86_64 实例
  • A PC for Developer
  • A PLC (Mitsubishi, SIEMENS, etc.)
  • scapeak-iiot module
  • Azure Resources
  • Azure IoT Explorer (preview)

使能 AzureIoTServer

开启 AzureIoTServer

在这里插入图片描述

启用 SCAPEAK Method

在这里插入图片描述

使能 OPCUA Server

便于快速应用,此处以模拟驱动为例

在这里插入图片描述

将OPCUA Server 配置下载进网关,重启进程生效

在这里插入图片描述

<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">

面向开发者

调用 opcua_read_value 直接方法获取数据

在这里插入图片描述

遥测功能telemetry_control

本例列举其根据值变化事件自动上报的功能。

开启遥测

Device Method called
Device Method name       : telemetry_control
Device Method payload    : {'topic': 'opcua_value_report', 'control': 'open', 'config': [{'subscription_id': '1', 'sampling_interval_ms': '500', 'node_prefix': 'ns=1;s=Project_Default.Simulator.Sim.', 'items_report': ['Temp0', 'Temp10']}]}

{'topic': 'opcua_value_report', 'control': 'open', 'config': [{'subscription_id': '1', 'sampling_interval_ms': '500', 'node_prefix': 'ns=1;s=Project_Default.Simulator.Sim.', 'items_report': ['Temp0', 'Temp10']}], 'response': 'ok'}

在Azure IoT Explorer(preview)查看

在这里插入图片描述在这里插入图片描述

发表评论