node-red-contrib-iotdataformater 1.2.0

Node-RED custom nodes for formatting PLC data into continuous and discrete events, with event-name subscribers.

npm install node-red-contrib-iotdataformater

node-red-contrib-iotdataformater

Two Node-RED custom nodes:

  • iotDataFormater
    • Input PLL style message
    • Output 1: continuous formatted tags
    • Output 2: one or more discrete event messages
  • triggerSubscriber
    • Subscribe by event name from the formatter's discrete output

iotDataFormater

Global config

  • MDS
  • Line ID
  • Machine ID

Continuous tags

Each row has:

  • enabled
  • tag name
  • source path/expression (example: payload.goodCount)
  • type (raw, number, string, boolean)

Discrete rules

Each row has:

  • enabled
  • event name
  • mode (Expr, Rising, Falling, Change, When True)
  • source field or expression
  • optional payload template

Notes:

  • For Expr, source is a JavaScript expression like msg.payload.fault_code > 0
  • For other modes, source is a field path like payload.fault
  • A single input can emit multiple discrete events

triggerSubscriber

  • Filters incoming discrete messages by event name
  • Optional pass-through mode or compact output

Restart Node-RED after install.

Node Info

Version: 1.2.0
Updated 4 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • iotDataFormater
  • triggerSubscriber

Keywords

  • node-red
  • plc
  • iiot
  • iot
  • industrial
  • trigger
  • telemetry
  • smartfactory
  • smartfactoryworx

Maintainers