From 66337c583692e593c02906c51c495ec3c452223c Mon Sep 17 00:00:00 2001 From: hxy7yx <1595670487@qq.com> Date: Wed, 4 Dec 2024 16:14:33 +0800 Subject: [PATCH] add opcua error codes --- en_US/api/error-code.md | 21 +++++++++++++++++++++ zh_CN/api/error-code.md | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/en_US/api/error-code.md b/en_US/api/error-code.md index 24fe2109..0398f944 100644 --- a/en_US/api/error-code.md +++ b/en_US/api/error-code.md @@ -128,6 +128,27 @@ This document describes the errors that neuron will reply to sender when calling * 10004 opcua tag is not readable * 10005 opcua tag is not writable * 10006 opcua tag is not supported +* 10007 opcua Error +* 10008 The value is bad but no specific reason is known +* 10009 There was nothing to do because the client passed a list of operations with no elements +* 10010 The request could not be processed because it specified too many operations +* 10011 User does not have permission to perform the requested operation +* 10012 The timestamps to return parameter is invalid +* 10013 Communication with the data source is defined, but not established, and there is no last known value available +* 10014 The syntax of the node id is not valid +* 10015 The node id refers to a node that does not exist in the server address space +* 10016 The attribute is not supported for the specified Node +* 10017 The syntax of the index range parameter is invalid +* 10018 No data exists within the range of indexes specified +* 10019 The data encoding is invalid +* 10020 The server does not support the requested data encoding for the node +* 10021 The access level does not allow reading or subscribing to the Node +* 10022 The access level does not allow writing to the Node +* 10023 The value was out of range +* 10024 The max age parameter is invalid +* 10025 The server does not support writing the combination of value, status and timestamps provided +* 10026 The value supplied for the attribute is not of the same type as the attribute's value +* 10027 The operation is not permitted over the current secure channel ## S7COMM error codes diff --git a/zh_CN/api/error-code.md b/zh_CN/api/error-code.md index 5de09fb0..e487fe8e 100644 --- a/zh_CN/api/error-code.md +++ b/zh_CN/api/error-code.md @@ -134,6 +134,27 @@ * 10004 opcua tag 不可读 * 10005 opcua tag 不可写 * 10006 opcua tag 不支持 +* 10007 opcua 错误 +* 10008 值为坏,但原因不明 +* 10009 客户端传入的操作列表中无任何元素,因此不会执行任何操作 +* 10010 请求指定的操作过多,无法进行处理 +* 10011 用户无权限执行请求的操作 +* 10012 返回参数的时间戳无效 +* 10013 已定义与数据源之间的通信,但尚未建立通信,无可用的最近已知值 +* 10014 节点 ID 的语法无效 +* 10015 节点 ID 指向服务器地址空间中不存在的节点 +* 10016 指定的节点不支持该属性 +* 10017 索引范围参数的语法无效 +* 10018 指定的索引范围内无数据存在 +* 10019 数据编码无效 +* 10020 服务器不支持为该节点请求的数据编码 +* 10021 访问等级不允许读取或订阅该节点 +* 10022 访问等级不允许写入节点 +* 10023 值超出范围 +* 10024 数值有效期无效 +* 10025 服务器不支持写入所提供的值、状态和时间标识的组合 +* 10026 为属性提供的值与属性值的类型不匹配 +* 10027 安全模式不满足服务器设定的要求 ## S7COMM 错误码