Files
HL_MES_manager_ai/ai-mcp-service/knowledge/plc-mqtt-integration.md

26 lines
762 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PLC 与 MQTT 集成知识库
## MQTT
- 订阅主题MES/InstantMessaging/PF25/
- 发布主题MesPrint
- 用途:即时消息、打印消息
## PLC/RFID
用途OP010 上线、自动工位质量保存、OPA 提前上料、RFID 托盘/总成信息交互
关键点位:
- DBX500.1 到位
- DBX500.3 申请上线
- DBX587.0 允许 MES 保存
- DBX11.3 MES 保存完成
- DBB750 质量数据区
## 常见排查
- MES 不保存质量数据:检查 DBX587.0 是否置位、DBB750 是否有质量数据、MES 后端是否可用。
- PLC 等待保存完成:检查 MES 是否写 DBX11.3。
- OP010 不允许上线检查二维码、订单机型匹配、DBX500.3、DBX1.1。
- 物料数量异常:检查 OPA 上料完成信号和 MES 扣减逻辑。