工业物联网协议适配器(iiot-protocol-adapter)
#一人分享一个skill#
name: iiot-protocol-adapter
description: 生成工业物联网协议转换和适配代码,支持OPC UA、Modbus TCP/RTU、EtherCAT、PROFINET等工业协议
type: code-generation
parameters:
- name: source_protocol
type: string
required: true
description: 源协议(Modbus RTU、OPC UA、EtherCAT、PROFINET、MQTT)
- name: target_protocol
type: string
required: true
description: 目标协议(同上)
- name: data_mapping
type: array
required: true
description: 数据映射规则(源寄存器/标签→目标寄存器/标签,数据类型转换)
- name: real_time_requirement
type: number
default: 100
description: 实时性要求(ms),用于协议栈性能优化
- name: redundancy
type: boolean
default: false
description: 是否启用冗余通信(主备切换、故障转移)
协议适配组件:
多协议栈集成和转换代码
数据缓存和同步机制,确保实时性和一致性
工业级错误处理和重连机制
协议诊断和性能监控
支持工业以太网和串口通信
适配工业环境的抗干扰和可靠性优化
生成协议转换测试工具和验证方案
name: iiot-protocol-adapter
description: 生成工业物联网协议转换和适配代码,支持OPC UA、Modbus TCP/RTU、EtherCAT、PROFINET等工业协议
type: code-generation
parameters:
- name: source_protocol
type: string
required: true
description: 源协议(Modbus RTU、OPC UA、EtherCAT、PROFINET、MQTT)
- name: target_protocol
type: string
required: true
description: 目标协议(同上)
- name: data_mapping
type: array
required: true
description: 数据映射规则(源寄存器/标签→目标寄存器/标签,数据类型转换)
- name: real_time_requirement
type: number
default: 100
description: 实时性要求(ms),用于协议栈性能优化
- name: redundancy
type: boolean
default: false
description: 是否启用冗余通信(主备切换、故障转移)
协议适配组件:
多协议栈集成和转换代码
数据缓存和同步机制,确保实时性和一致性
工业级错误处理和重连机制
协议诊断和性能监控
支持工业以太网和串口通信
适配工业环境的抗干扰和可靠性优化
生成协议转换测试工具和验证方案
全部评论
相关推荐
04-10 10:38
青岛大学 单片机 点赞 评论 收藏
分享
