RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

    • Extension Components Overview
    • filter

    • transform

    • external

    • ai

    • ci

    • IoT

      • OPC_UA Subscribe
      • OPC_UA Read
      • OPC_UA Write
        • Configuration
        • Relation Type
        • Execution Result
      • Modbus Node
  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

目录

OPC_UA Write

x/opcuaWrite Component: v0.28.0+ OPC UA Write component, used to write data to one or multiple OPC UA nodes.

Additional extension library required: rulego-components-iot (opens new window)

# Configuration

Field Type Description Default
server string OPC UA server address None
policy string Security policy, options include: None, Basic128Rsa15, Basic256, Basic256Sha256 None
mode string Communication mode, options include: None, Sign, SignAndEncrypt None
auth string Authentication method, options: Anonymous, UserName, Certificate Anonymous
username string Username (required when auth is UserName) None
password string Password (required when auth is UserName) None
certFile string Certificate file path (required when auth is Certificate) None
certKeyFile string Private key file path (required when auth is Certificate) None

Security Policy (policy) Options Meaning:

  • None: No security policy is used.
  • Basic128Rsa15: Uses basic 128-bit encryption and RSA15 signing.
  • Basic256: Uses basic 256-bit encryption.
  • Basic256Sha256: Uses basic 256-bit encryption and SHA256 signing.

Communication Mode (mode) Options Meaning:

  • None: No mode is used.
  • Sign: Message signing.
  • SignAndEncrypt: Message signing and encryption.

Write Node Data Obtained from Message Payload, Format:

[
  {
    "nodeId": "ns=3;i=1009",
    "value": 1
  },
  {
    "nodeId": "ns=3;i=1010",
    "value": 2
  }
]
1
2
3
4
5
6
7
8
9
10

# Relation Type

  • Success: Execution is successful, the message is sent to the Success chain.
  • Failure: Execution fails, the message is sent to the Failure chain.

# Execution Result

The message payload value remains unchanged.

Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
OPC_UA Read
Modbus Node

← OPC_UA Read Modbus Node→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式