@redplc/node-red-redplc
v2.0.1
Published
Node-Red nodes for the realization of Software-Plc with Ladder-Logic
Downloads
173
Maintainers
Readme
@redplc/node-red-redplc
redPlc Node-Red nodes for the realization of Software-PLC with Ladder-Logic according to IEC 61131-3.
Thanks for the coffee !! 😁
Report any issues here
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 from other nodes.
- export: Export Data to other nodes.
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/