{"title": "FANUC KL: ERR_ABORT vs ERR_PAUSE 行为差异", "domain": "fanuc", "subdomain": "error-handling", "source": "bootstrap", "status": "published", "confidence": "0.7", "created": "2026-05-03", "domain_expert": "bootstrap", "verified_date": "2026-05-03"}
IPC 通信错误时未区分 ERR_ABORT 和 ERR_PAUSE,导致程序号丢失。
- ERR_ABORT=2:所有任务中止(导致丢程序号)
- ERR_PAUSE=1:仅暂停当前任务,不影响其他任务
IPC 超时类错误应使用 ERR_PAUSE 而非 ERR_ABORT,避免级联中止。
模拟 IPC 超时,确认程序号在 ERR_PAUSE 场景下保留。