Process-industry edition of iaiops — chemical / pharma / food & beverage / oil & gas plants: HART-IP process instrumentation (transmitters, valve positioners, loop current), OPC-UA (DCS / gateway read), Modbus-TCP/RTU (skids, analyzers), optional MQTT/Sparkplug B UNS, plus the cross-protocol brain (downtime root-cause, data quality, OEE). Use when the task mentions HART, HART-IP, transmitter, 变送器, valve positioner, process instrumentation, PV/SV/TV/QV, loop current, burst mode, DCS tap, or a process plant. Read-first, MOC-gated writes.
编程
iaiops-warehouse
试用Warehouse / intralogistics edition of iaiops — distribution centers, fulfillment, material handling: conveyors, sorters, palletizers, AS/RS, and AGV/AMR fleets. EtherNet/IP (Allen-Bradley / Rockwell conveyor & sorter PLCs), Profinet (Siemens material-handling lines), Modbus (VFDs / energy meters, with conveyor_vfd & agv_battery templates), OPC-UA (WMS/WCS gateways), and MQTT-Sparkplug (AMR / IoT telemetry) — plus the cross-protocol brain: predictive maintenance (pdm_forecast for conveyor-drive bearing/thermal trend), downtime triage, OEE/throughput, and alarm analysis. Use when the task mentions warehouse, 仓储, 物流, intralogistics, distribution center / DC, fulfillment, conveyor / 输送线, sorter / 分拣, palletizer, AS/RS / 立体库, AGV / AMR / 移动机器人, WMS / WCS, or material handling. Read-first; this edition's tool surface is read-only.
它能做什么
Warehouse / intralogistics edition of iaiops — distribution centers, fulfillment, material handling: conveyors, sorters, palletizers, AS/RS, and AGV/AMR fleets. EtherNet/IP (Allen-Bradley / Rockwell conveyor & sorter PLCs), Profinet (Siemens material-handling lines), Modbus (VFDs / energy meters, with conveyor_vfd & agv_battery templates), OPC-UA (WMS/WCS gateways), and MQTT-Sparkplug (AMR / IoT telemetry) — plus the cross-protocol brain: predictive maintenance (pdm_forecast for conveyor-drive bearing/thermal trend), downtime triage, OEE/throughput, and alarm analysis. Use when the task mentions warehouse, 仓储, 物流, intralogistics, distribution center / DC, fulfillment, conveyor / 输送线, sorter / 分拣, palletizer, AS/RS / 立体库, AGV / AMR / 移动机器人, WMS / WCS, or material handling. Read-first; this edition's tool surface is read-only.
技能文档
iaiops-warehouse — 仓储 / 物料搬运 edition(EtherNet/IP + Profinet + Modbus + OPC-UA + Sparkplug + 脑)
启动:IAIOPS_MCP=warehouse / iaiops-mcp-warehouse(= eip + profinet + modbus + opcua
- sparkplug + 脑;等价显式写法
IAIOPS_MCP=eip,profinet,modbus,opcua,sparkplug)。 EtherNet/IP 需 extra:pip install iaiops[eip]。典型现场:输送/分拣 PLC 走 EtherNet/IP(Rockwell) 或 Profinet(Siemens),驱动/表计走 Modbus,WMS/WCS 网关走 OPC-UA,AGV/AMR 与 IoT 传感走 MQTT-Sparkplug。
定位:复用既有跨协议脑的 PdM(
pdm_forecast)/ 停机分诊(downtime_triage)/ OEE / 告警 能力,针对物料搬运资产(输送带电机轴承、分拣驱动、AGV 电池)对症使用,提供 物料搬运专用的 Modbus 模板,并带一个 仓储专属 edition 工具line_bottleneck(瓶颈工位定位;仅随本 edition 加载,不进全局脑)。
工具
EtherNet/IP(Rockwell 输送/分拣 PLC;写=MOC)
eip_controller_info— 控制器身份/状态eip_list_tags— 控制器 tag 列表eip_read_tag/eip_read_many— 读单/多 tag(输送段状态、分拣计数、速度)eip_write_tag— [WRITE][HIGH][MOC] 写 tag(默认dry_run=True+ 改前值 undo + 双确认)plctype入参(或 config key)选驱动:logix(默认 Logix 符号 tag)、slc(老 AB 输送/分拣 PLC-5/SLC-500/MicroLogix 走 PCCC 数据表N7:0/B3:0/0/F8:0)、micro800。真 PCCC/Micro800 待核实。
Profinet(Siemens 物料搬运线)
profinet_discover— DCP 发现网上 IO 设备/stationprofinet_identify_station/profinet_station_params— station 身份与参数profinet_asset_inventory— IO 设备资产清单profinet_dcp_set— [WRITE][HIGH][MOC] DCP 设置站名/IP(默认 dry-run + 双确认)
Modbus-TCP / RTU(只读;VFD 驱动、能耗表、AGV 电池 BMS)
modbus_read_holdingmodbus_read_inputmodbus_read_coilsmodbus_read_discretemodbus_detect_byte_order— 字节/字序自动探测(驱动浮点/32 位常见坑)modbus_list_templates/modbus_apply_template— 厂商寄存器模板 → 命名 tag (物料搬运模板:conveyor_vfd输送/分拣 VFD 遥测、agv_batteryAGV/AMR 电池;均待核实)modbus_health_summary— 寄存器 vs 阈值分类(如驱动温度/电流带)
OPC-UA(只读;WMS/WCS 网关、线体 SCADA)
opcua_server_info/opcua_browse/opcua_read_node/opcua_read_manyopcua_subscribe_sampleopcua_read_alarmsopcua_alarm_events(A&C 带时间戳)opcua_read_history(HDA)opcua_diagnose_connection— 连接失败归因(证书/策略/认证/网络/配置)opcua_discover_tags— 自动发现 + 语义资产建模;opcua_health_summary阈值分类;opcua_anomaly_scan有界统计异常扫描
MQTT-Sparkplug B(可选;AGV/AMR 车队、IoT 传感/网关的 UNS)
sparkplug_node_listsparkplug_subscribe_samplesparkplug_decode_payloadmqtt_read_topicmqtt_publishsparkplug_live_schemauns_browseuns_topic_audituns_schema_driftuns_live_audituns_live_drift
仓储专属(edition 工具;仅随 warehouse edition 加载,不进全局脑)
line_bottleneck— 产线/物料搬运瓶颈工位定位(约束理论 TOC:最低吞吐工位即瓶颈, 设定整线速率;starved/blocked 佐证——瓶颈上游被 blocked、下游被 starved)。纯分析, 喂 WMS/WCS/MES/PLC 计数的每工位吞吐或节拍,worst-first,每项引用数值。sortation_health— 分拣机读码率/无读/误分拣分析:按每件分拣记录(是否读到条码、 应分/实分格口)算三率对标,排出误分拣最多的格口(卡阻/映射错)。纯分析,读 WCS/分拣 PLC 事件。
跨协议脑(永远随 server 暴露)
- 诊断:
diagnose_dataflowdowntime_root_causedowntime_root_cause_livedowntime_triagelearn_cause_weightsrca_corpus_from_maintenancehistorian_healthalarm_bad_actorstag_healthsubscription_healthheartbeat_healthalarm_flood_analysisalarm_cascadealarm_rationalization_worksheet - 预测维护:
pdm_forecast—— 输送带电机轴承/温升、分拣驱动、AGV 电池的趋势 + 到限时间 (早于baseline_check的越带告警;喂conveyor_vfd/agv_battery模板读出的温度/电流) - 数据质量:
data_quality_scorecarddata_quality_fleet_rollup - 分析:
oee_computedowntime_eventsoee_multidimmonitor_changes - 资产:
asset_inventorycross_protocol_asset_modeladopt_alias_mapdiff_alias_map - 基线:
baseline_learnbaseline_checkbaseline_record_changebaseline_status - 合规/信创:
compliance_mappingcompliance_frameworkscompliance_dengbao_levelscompliance_reportcompliance_evidence_bundlehistorian_pushexport_datahistorian_queryhistorian_coveragestream_publishstream_publish_eventrca_narratefleet_statusfleet_incidents - 程序解读:
plc_program_outlineplc_program_xrefplc_program_sectionplc_program_visibility - 元:
protocols_supported
Workflows
- Doctor-first:
protocols_supported→iaiops doctor→ EtherNet/IP 先eip_controller_info,OPC-UA 先opcua_diagnose_connection。 - 输送带 PdM:
modbus_apply_template(conveyor_vfd) 读 drive_temperature / motor_current 序列 →pdm_forecast(warn_high=...)估到限时间 →imminent/degrading即提前派维护。AGV 车队同理用agv_battery模板 +pdm_forecast盯 SOC/温度衰减。 - 停机分诊:分拣线停机 =
downtime_triage(告警 cascade + RCA + PdM 前兆一次给出), 或downtime_root_cause_live现采证据链;吞吐掉速用 OEE/oee_multidim定位瓶颈工位。 - MOC 写:本 edition 读优先;EtherNet/IP
eip_write_tag、Profinetprofinet_dcp_set为写工具,统一走 MOC:risk=HIGH+ 默认dry_run=True+ 改前值 undo +iaiops approve具名审批双确认。未经授权绝不写生产控制系统。
支持版本矩阵(内部 HLD §8,设计文档不随本仓发布;待核实 不得当既成事实)
| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |
|---|---|---|---|---|---|
| EtherNet/IP | pycomm3>=1.2,<2(extra) | CIP / EtherNet/IP;Logix tag + PCCC 数据表 | AB/Rockwell ControlLogix/CompactLogix + PLC-5/SLC-500/MicroLogix(PCCC)+ Micro800(plctype 选) | TCP/44818 | ⚠️ mock(含 SLCDriver);真 PLC 待核实 |
| Profinet | pnio-dcp>=1.1,<3(extra) | PN-DCP(发现/命名) | 现场 IO 设备/station | Ethernet(raw)/UDP | ⚠️ 发现层自测;真设备 待核实 |
| Modbus-TCP | pymodbus>=3.5,<4 | App 1.1b3;FC 1/2/3/4/5/6/15/16 | VFD/能耗表/AGV BMS/任意从站 | TCP/502 | ✅ |
| Modbus-RTU | pymodbus>=3.5,<4 + pyserial>=3.5 | Modbus serial (RTU) | 串口从站/表计 | RS-485/serial | ✅ socat PTY;物理 RS-485 待核实 |
| OPC-UA | asyncua>=2.0,<3 | OPC UA 1.0x(DA+HA+AC 子集) | WMS/WCS 网关 / SCADA | opc.tcp | ✅ mock+HDA |
| MQTT-Sparkplug B | paho-mqtt>=2.0,<3(extra) | Sparkplug B 3.0 | AGV/AMR / IoT 网关 UNS | MQTT/1883/8883 | ✅ broker mock |
相关技能
Factory edition of iaiops — discrete-manufacturing lines: OPC-UA, Modbus-TCP/RTU, Siemens S7comm (S7-300/400/1200/1500), Mitsubishi MC/MELSEC, Omron FINS (CS/CJ/CP/NX), Allen-Bradley EtherNet/IP (ControlLogix/CompactLogix), EtherCAT (CoE/SOEM), PROFINET (DCP discovery), MTConnect (CNC machine tools), IO-Link (master JSON — sensor-level visibility), MQTT/Sparkplug B/UNS, plus the cross-protocol brain (downtime root-cause, OEE, asset inventory). Use for PLC, CNC, servo/drive bus, name-of-station, tag browse, Unified Namespace, or production-line troubleshooting tasks. Read-first, MOC-gated writes. Also covers Phoenix Contact PLCnext vPLC (via its built-in OPC-UA + Modbus servers).
Building edition of iaiops — facility / HVAC / BMS / 厂务 over BACnet/IP (ASHRAE 135): Who-Is discovery, object/point lists, presentValue snapshots, COV capture, TrendLog reads, one MOC-gated property write; plus Modbus-TCP/RTU for meters/chillers and optional plain MQTT for IoT sensors, with the cross-protocol brain. Use when the task mentions BACnet, BACnet-IP, HVAC, AHU, chiller, VAV, BMS, building automation, facility management, 厂务, 楼宇自控, Who-Is, presentValue, or TrendLog; also IO-Link masters for smart building sensors (JSON interface, read-only), and the vendor supervisory-controller REST layer above BACnet (Metasys/OpenBlue, Niagara/oBIX) for point/alarm/trend reads and one MOC-gated command. Read-first, MOC-gated writes.
Vendor-neutral, governed industrial/OT data tap + intelligent troubleshooting. Read (and, gated, write) PLCs, controllers, machine tools and IIoT brokers over OPC-UA, Modbus-TCP, Siemens S7comm, Mitsubishi MC, Omron FINS, MTConnect, MQTT/Sparkplug B, Allen-Bradley EtherNet/IP, EtherCAT (pysoem/SOEM), SECS/GEM (semiconductor / display fab equipment over HSMS), PROFINET (DCP discovery), the building edition (BACnet/IP), and Phoenix Contact PLCnext vPLC — plus cross-protocol diagnostics ("no-data" dataflow diagnosis, OPC-UA connection self-diagnosis, subscription health, ISA-18.2 alarm bad-actors, tag/historian health, and the AI downtime root-cause copilot) and analytics (OEE/downtime, asset inventory, OPC-UA HDA, change-of-value). Use when the task names any industrial protocol, a PLC/SCADA/HMI/historian/CNC/RTU/IED, a semiconductor/display fab or SECS/GEM equipment, an electrical substation, an opc.tcp:// or mqtt:// endpoint, OEE/downtime, downtime root-cause, or OT asset inventory. Ro
Water-treatment edition of iaiops — waterworks / wastewater plants / pump stations: Modbus-TCP/RTU (dosing skids, analyzers, flow meters), OPC-UA (plant SCADA / PLC read), HART-IP process instrumentation (pH, turbidity, conductivity, level, flow transmitters), plus the cross-protocol brain (downtime root-cause, data quality watchdog, OEE). Use when the task mentions water treatment, 水处理, 水厂, 污水, pH, 浊度, turbidity, 电导率, conductivity, dissolved oxygen, 加药, dosing pump, 泵站, pump station, aeration / 曝气, or lift station. Read-first; this edition's tool surface is read-only.
Renewables edition of iaiops — solar PV plants and wind farms: PV inverters / string combiners and wind-turbine controllers over Modbus (SUN2000 / Growatt / generic wind-turbine templates), plant SCADA over OPC-UA, and MQTT-Sparkplug telemetry, plus the cross-protocol brain (PdM, downtime, OEE, alarm) and a renewables signature tool pv_performance (underperforming-string detection). Use when the task mentions solar / 光伏 / PV / photovoltaic, inverter / 逆变器 / 组串 / string / combiner, irradiance / 辐照 / POA, wind / 风电 / turbine / 风机 / nacelle / pitch / yaw, plant SCADA, performance ratio, soiling / 积灰 / shading / 遮挡, or 电站. Read-first; this edition's tool surface is read-only.