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 1 month, 1 week ago
License: MIT


5 in the last day
23 in the last week
70 in the last month


  • OpenPLC
  • OpenPLC-Input


  • node-red
  • openplc
  • modbus


  • skytrix