Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 728 Bytes

File metadata and controls

17 lines (11 loc) · 728 Bytes

{"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"}

FANUC KL: ERR_ABORT vs ERR_PAUSE 行为差异

问题描述

IPC 通信错误时未区分 ERR_ABORT 和 ERR_PAUSE,导致程序号丢失。

根因

  • ERR_ABORT=2:所有任务中止(导致丢程序号)
  • ERR_PAUSE=1:仅暂停当前任务,不影响其他任务

修复方法

IPC 超时类错误应使用 ERR_PAUSE 而非 ERR_ABORT,避免级联中止。

验证方式

模拟 IPC 超时,确认程序号在 ERR_PAUSE 场景下保留。