· Zen HuiFer · 案例  · 需要3 分钟阅读

流水线设备状态监控

本文介绍了流水线设备状态监控的关键指标、统计方案、应用场景以及信号内容设计。通过监控设备运行状态,及时发现设备故障,保证流水线的正常运行。

本文介绍了流水线设备状态监控的关键指标、统计方案、应用场景以及信号内容设计。通过监控设备运行状态,及时发现设备故障,保证流水线的正常运行。

流水线设备状态监控

  • 监控指标
    • 设备运行状态

      • 待机 1
      • 运行 2
      • 停止 3
      • 维修 4
      • 非正常停机 5
    • 统计方案

      • 时间维度设备的工作情况
    • 应用场景

      • 监控流水线设备状态,及时发现设备故障,保证流水线的正常运行
    • 通配符订阅模式

      • 为了避免因为传感器本身的故障而导致丢失运行状态信息,安装多个传感器使用通配符来监听
      • 按需配置监听方式
        • 最耗资源,一个客户端通配监听,其余主题一个主题配置一个客户端
        • 最省资源,只需要一个客户端通配监听
        • 其他配置,通配+具体需要单独监听的方式,可以方便排查传感器的故障
    • 信号内容设计

      • 因为状态值比较简单只有 1-5,所以进制准换暂时没有必要,消息内容为四位固定设备id+设备状态

        例: 00012 ,前四位表示0001编号的设备,2表示当前设备为运行

    • 配置示例(这里只展示一台通配)

      • 首先添加客户端

        解析脚本如下

        function main(nc) {
            const deviceStatus = nc.substring(4,5)
            var dataRows = [
                { "Name": "deviceStatus", "Value": deviceStatus }
            ];
            var result = {
                "Time":  Math.floor(Date.now() / 1000),
                "DataRows": dataRows,
                "IdentificationCode": parseInt(nc.substring(0,4)),
                "DeviceUid": "5",
                "Nc": nc
            };
            return [result];
        }
        

        image-20240815110336130

      • 添加信号配置

        image-20240815111649454

      • 发送数据模拟数据后查看图表

        • 模拟数据发送的主题为 tp/随机

        • IdentificationCode: 5 数据情况如下

          image-20240815110627688

        • IdentificationCode: 1 数据情况如下

          image-20240815112906685

      • 配置一个脚本报警

        • 假如我们需要配置流水线上对应标识码为5的机器的状态来告警,我们编写的脚本如下

          脚本中指定了参数信息中的名为device_bj的数据的第一条

          function main(map){
          return  map.device_bj && parseInt(map.device_bj[0].Value) === 5
          }
          
        • 配置告警的信号

          image-20240816151805370

        • 模拟发送数据后查看报警情况

          image-20240816151914869

          image-20240816151946855

          image-20240816152110410

分享:
返回博客
Smart Water Supply

Smart Water Supply

This article introduces common equipment and statistical schemes in the smart water supply system, including soil temperature and humidity + conductivity sensors, smart water meters, pressure gauges and flow meters, water quality monitoring equipment, and pump station monitoring equipment. Through real-time monitoring and data analysis of these devices, the water supply system can be optimized, agricultural production efficiency can be improved, and water supply safety can be ensured.

智慧供水

智慧供水

本文介绍了智慧供水系统中的常见设备及其统计方案,包括土壤温湿度+电导率传感器、智慧水表、水压计与流量计、水质监测设备和水泵站监测设备。通过这些设备的实时监测和数据分析,可以优化供水系统,提高农业生产效率,确保供水安全。

电梯监控

电梯监控

本文详细介绍了电梯监控的关键指标、统计方案和应用场景。通过监控电梯的运行状态、能耗、震动情况、门开闭时间、运行速度和温度等,及时发现电梯故障,确保电梯安全高效运行。

Elevator Monitoring

Elevator Monitoring

This article details the key indicators, statistical schemes, and application scenarios of elevator monitoring. By monitoring the operating status, energy consumption, vibration, door opening and closing time, running speed, and temperature of the elevator, faults can be detected in time to ensure the safe and efficient operation of the elevator.