RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-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)
  • StreamSQL
  • AI Agent Framework
  • TPCLAW Agent Platform (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
  • 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)
  • StreamSQL
  • AI Agent Framework
  • TPCLAW Agent Platform (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

    • action

    • transform

    • external

    • ai

    • ci

    • IoT

      • IoT Components Overview
      • Input Endpoints

      • Protocol Acquisition

        • OPC_UA Read
        • OPC_UA Write
        • Modbus Node
        • Serial Communication
        • S7 Read
        • S7 Write
        • EtherNet/IP Read
        • EtherNet/IP Write
        • SNMP Read
        • SNMP Write
        • Modbus Read Points Node
        • Modbus Write Points Node
        • Universal Acquisition Read
        • IoT Write
        • IEC 104 Read
        • IEC 104 Write
        • FINS Node
        • FINS Read
        • FINS Write
        • MC Node
          • Page Navigation
          • Shared Connection Configuration
          • Point Table Fields
          • Address Format (Devices)
          • Data Types
          • Read vs Write
        • MC Read
        • MC Write
        • DL/T 645 Node
        • DL/T 645 Read
        • DL/T 645 Write
      • Time-Series Database

      • 控制

      • IoT Scenarios
    • Stream Processing

    • Service Discovery

    • file

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • Agent Framework

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

  • StreamSQL

目录

MC Node

x/mcRead / x/mcWrite component: v0.35.0+ Mitsubishi MC protocol (3E frame/binary, SLMP) for reading and writing Q/L/R/iQ-R/iQ-F series PLC devices.

Requires: rulego-components-iot (opens new window)

# Page Navigation

  • Read: x/mcRead
  • Write: x/mcWrite
  • Universal acquisition entry: x/iotRead (driver=mc)
  • Universal write entry: x/iotWrite (driver=mc)
  • To time-series storage: x/tsdbWrite (measurement configured)

# Shared Connection Configuration

Field Type Description Default
server string PLC address host:port, MC default port 6000 127.0.0.1:6000
timeout int Request timeout (seconds) 5
points array Default point table. Points in msg.Data take precedence -

Network/PC number parameters are fixed by the underlying library (Ethernet direct-connect scenario).

# Point Table Fields

Field Description
name Point name
addr Device address (see below)
type Data type
scale / offset Engineering conversion
endian Multi-register byte order: ABCD/CDAB/BADC/DCBA

Engineering formula: eng = raw * scale + offset. For an offset-only shift set scale=1 explicitly; when scale=0 the result is offset.

All fields support ${msg.xx} / ${metadata.xx} templates.

# Address Format (Devices)

Device Word Bit Description
D D100 - Data register
W W200 - Link register
R R200 - File register
ZR ZR300 - File register (extended)
M - M10 Internal relay
SM - SM400 Special relay
X - X1A0 Input (hex)
Y - Y30 Output (hex)
B - B4 Link relay
C C10 C10 Counter
L - L10 Latched relay

# Data Types

BOOL, INT16, UINT16, INT32, UINT32, FLOAT32, FLOAT64 (per-point Endian: ABCD/CDAB/BADC/DCBA)

# Read vs Write

  • Read: outputs unified iot_points.Data list to msg.Data
  • Write: consumes point list from msg.Data as [{"name","addr","type","value"}]
  • Routing: success goes to Success, failure goes to Failure
Edit this page on GitHub (opens new window)
Last Updated: 2026/08/01, 05:05:14
FINS Write
MC Read

← FINS Write MC Read→

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

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