2.0.0 • Published 7 months ago

@redplc/node-red-redplc v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 months ago

@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:

VariableFunctionArray OfCreated by
IDigital InputBooleanDigital Input Modules
QDigital OutputBooleanDigital Output Modules
MDigital MemoryBooleanMemory Node
CCounterBoolean/NumberCounter Node
TTimerBoolean/NumberTimer Node
FFFlip-FlopBooleanFlip-Flop Node
IAAnalog InputNumberAnalog Input Modules
QAAnalog OutputNumberAnalog Output Modules
MAAnalog MemoryNumberMemory Node

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