1. 数据格式
JSON格式,示例:
{"tool_id": "T01", "machine_id": "MC-3", "cutting_time": 1234.5, "spindle_load_avg": 45.2, "spindle_load_std": 3.1, "vibration_rms": 0.87, "alarm_level": 0}
2. 通信协议
- MQTT:主题为 tool/status/{machine_id}
- REST API:POST /api/v1/tool/status
3. 报警阈值设置
| 参数 | 预警阈值 | 报警阈值 |
|---|---|---|
| 累计切削时间 | 80% T_max | 95% T_max |
| 主轴负载均值 | 基线+10% | 基线+20% |
| 振动RMS | 0.5 g | 1.0 g |

