Plc Browse
plc_browseBrowse OPC UA address space by listing child nodes from a selected node, mapping the device structure for targeted reads. Ideal for diagnosing and navigating PLC address hierarchies.
Instructions
浏览地址空间: 从 node 展开一层子节点 (诊断场景的"列目录")。
返回 {node, children, total, shown, truncated}: children 每项含 node_id / display_name / node_class; 超出输出预算时 truncated=true 且 total 给出全量数 —— 需要更深层级就对着子 node_id 再调一次。 默认从 Objects 文件夹 (ns=0;i=85) 起步; 对 plc_read 前先摸清 设备地址空间结构时用。 当前仅 OPC UA 支持 (会话协议无帧概念, browse 是它的"读目录"形态); 其他协议用 list_protocols 的 read_options 直接构造地址。 输出预算: 单次最多 200 个子节点 (约 30KB), 防止大地址空间撑爆上下文。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| node | No | ns=0;i=85 | |
| port | Yes | ||
| unit | No | ||
| limit | No | ||
| protocol | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| shown | Yes | ||
| total | Yes | ||
| children | No | ||
| truncated | Yes |