@redplc/node-red-redplc

2.0.0 • Public • Published

@redplc/node-red-redplc

platform platform Donate

redPlc Node-Red nodes for the realization of Software-PLC with Ladder-Logic according to IEC 61131-3.

Nodes

  • contact: Ladder Logic Contact.
  • coil: Ladder Logic Coil.
  • function: Ladder Logic Digital Function.
  • counter: Ladder Logic Counter Coil.
  • timer: Ladder Logic Timer Coil.
  • flipflop: Ladder Logic FlipFlop.
  • move: Ladder Logic Move.
  • math: Ladder Logic Calculation.
  • scale: Ladder Logic Scale.
  • compare: Ladder Logic Compare.
  • M memory: Digital (M) Memory Variable.
  • MA memory: Analog (MA) Memory Variable.
  • s-inject: Sequential Inject.
  • onstart: Execute On Start.
  • firstscan: Execute On First Scan.
  • rail: Ladder Logic Rail.
  • import: Import Data.
  • export: Export Data.

Detail

redPlc nodes implements Software PLC functionality in Node-Red.
The control logic is realized as ladder logic (LD) according standard IEC 61131-3.
Variables are stored in Node-Red global context memory as arrays:

Variable Function Array Of Created by
I Digital Input Boolean Digital Input Modules
Q Digital Output Boolean Digital Output Modules
M Digital Memory Boolean Memory Node
C Counter Boolean/Number Counter Node
T Timer Boolean/Number Timer Node
FF Flip-Flop Boolean Flip-Flop Node
IA Analog Input Number Analog Input Modules
QA Analog Output Number Analog Output Modules
MA Analog Memory Number Memory Node

More info and examples: https://github.com/redplc/redplc/

Package Sidebar

Install

npm i @redplc/node-red-redplc

Weekly Downloads

30

Version

2.0.0

License

Apache-2.0

Unpacked Size

224 kB

Total Files

71

Last publish

Collaborators

  • redplc