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

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

    • Endpoint Overview
    • Quick Start
    • Router
    • DSL
    • API
    • Options
    • Endpoints

      • Rest Endpoint
      • Websocket Endpoint
      • MQTT Endpoint
      • Schedule Endpoint
      • Net Endpoint
      • Kafka Endpoint
      • Nats Endpoint
      • Redis Sub Endpoint
      • Redis Stream Endpoint
      • Rabbitmq Endpoint
      • MYSQL CDC Endpoint
      • OPC_UA Endpoint
        • Type
        • Startup Configuration
        • Routing Parameters
        • Output Parameters
      • gRPC Stream Endpoint
      • Beanstalkd Endpoint
      • Wukongim Endpoint
      • Extend Endpoint
  • Support

目录

OPC_UA Endpoint

OPCUA Endpoint v0.28.0+ Periodically reads data from the OPC UA server and sends the data to the rule chain.

TIP

  1. This component is an extension component and requires the introduction of an additional extension library: rulego-components-iot (opens new window)

# Type

endpoint/opcua

# Startup 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
interval string Read task time configuration, supports cron expressions Example: @every 1m (every 1 minute) 0 0 0 * * * (triggers at midnight)
nodeIds []string Query node list Example: ["ns=2;s=Channel1.Device1.Tag1"]

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.

# Routing Parameters

Only one route is allowed.

# Output Parameters

Input RuleMsg data for the rule chain, format as follows:

  • data:Format is an array, each element contains the following fields:
Field Type Description
displayName string Display name
nodeId string Node ID
recordTime string Record time
sourceTime string Source time
value any Value
quality uint32 Data quality
floatValue float64 Float type value
timestamp string Timestamp
  • dataType:JSON
  • type:OPC_UA_DATA
Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
MYSQL CDC Endpoint
gRPC Stream Endpoint

← MYSQL CDC Endpoint gRPC Stream Endpoint→

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

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