@fa_yoshinobu/node-red-contrib-plc-comm-slmp 5.2.0

Node-RED nodes for MELSEC PLC communication over SLMP binary 3E/4E frames.

npm install @fa_yoshinobu/node-red-contrib-plc-comm-slmp

CI npm version License: MIT

Node-RED MELSEC SLMP Nodes

Node-RED nodes for MELSEC SLMP (Binary 3E/4E) PLC communication.

PLC Comm Family

This library is part of the plc-comm family. See the package matrix for protocol, language, registry, and install-command mapping.

Supported PLC profiles

The maintained profile table is in PLC profiles. Choose one exact canonical PLC profile from that table.

Profile enforcement

Every slmp-connection requires one concrete PLC profile. Operations known to be unavailable for that profile are rejected before sending; normal Node-RED flows do not expose a profile-enforcement bypass. Protocol investigation that needs raw PLC evidence belongs in the separate maintainer verification tooling.

Request serialization

Requests sent through the same slmp-connection are serialized in FIFO order on that client connection. A queued request is not sent until the previous request has completed, timed out, or failed. Closing rejects active and queued work and prevents the old queue generation from reconnecting. This applies to 3E/4E and TCP/UDP requests, including send-only requests.

If a flow needs real parallel PLC communication, create separate slmp-connection config nodes so each path uses its own PLC connection.

Supported device types

The maintained device and range tables are in the SLMP Profile Reference. Use that page for supported device families, address syntax, and profile-specific notes.

Installation

In the Node-RED editor:

  1. Open Manage palette.
  2. Open the Install tab.
  3. Search for @fa_yoshinobu/node-red-contrib-plc-comm-slmp.
  4. Install the package.
  5. Restart Node-RED if your environment requires it.

Quick start

  1. Open the Node-RED import dialog.
  2. Import examples/flows/slmp-basic-read-write.json.
  3. Open the slmp-connection config node.
  4. Set Host to 192.168.250.100.
  5. Set Port to 1025.
  6. Set Transport to TCP.
  7. Set PLC profile to melsec:iq-r.
  8. Deploy the flow.
  9. Trigger the read inject node and check msg.payload in the debug sidebar.

The optional write button is only for controlled test addresses. It reads and saves the original values, writes random valid values, restores the snapshot after confirmed acknowledgements, and reads again. If any write or restore fails or has an unknown outcome, stop and reconcile the PLC values manually; the automatic sequence does not retry.

Start with the basic flow before importing the device-matrix flow.

Documentation

Page Use it for
Full documentation site Unified docs for all PLC communication libraries.
Getting started Install the nodes, configure a connection, and run your first SLMP read.
Usage guide Use read/write nodes, routing fields, typed values, and flow patterns.
API reference Find public client methods, helpers, profile APIs, and error types.
SLMP profile reference Check profile parameters, device families, address syntax, and numbering rules.
PLC profiles Choose the canonical MELSEC profile and frame behavior.
Gotchas Check whether this library has any current library-specific caveats.
Performance See measured latency, throughput, and long-run soak results from real PLC hardware.
Choosing a Language Compare the .NET, Python, Rust, C++, and Node-RED implementations before you pick one.
Example flows Import maintained Node-RED example flows.

For a zero-code connectivity check, see PLC Scope (Windows).

License and registry

Item Value
License MIT
Registry npm
Package @fa_yoshinobu/node-red-contrib-plc-comm-slmp

Commercial support

If you plan to embed this library in a paid or commercial product, please consider a separate support agreement or supporting the project as a sponsor.

Contact: https://fa-labo.com/contact.html

Node Info

Version: 5.2.0
Updated 1 week, 2 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

212 in the last week

Nodes

  • slmp-connection
  • slmp-read
  • slmp-write

Keywords

  • node-red
  • node-red-contrib
  • node-red-flow
  • plc-comm
  • slmp
  • melsec
  • mitsubishi
  • plc
  • industrial-automation

Maintainers