node-red-contrib-openplc 1.0.1

A Node-RED node representing an OpenPLC instance

npm install node-red-contrib-openplc

This package makes it possible to configure and interact with an OpenPLC instance from within Node-RED.

Two nodes are included in the package. The OpenPLC node represents the OpenPLC instance and is used to communicate with the PLC. Messages sent to this node will set registers of the PLC using the Modbus protcol. The outputs of this node can represent both digital and analog outputs. The OpenPLC-Input node is used to attach a PLC address to incoming data. The output of this node can immediately be sent to the OpenPLC node.


Install using npm in your Node-RED directory:

npm install node-red-contrib-openplc


The included example flow has a button which will keep a lamp on for a specified amount of time. This duration parameter can also be configured. The use of both digital and analog outputs is demonstrated.



This package uses the Modbus configuration node from node-red-contrib-modbus by Klaus Landsdorf.

Node Info

Version: 1.0.1
Updated 4 years, 9 months ago
License: MIT
Rating: not yet rated


11 in the last week


  • OpenPLC
  • OpenPLC-Input


  • node-red
  • openplc
  • modbus