Coreflux Templates

Allen-Bradley tank monitoring in Coreflux LoT

Poll the PLC Tags, derive alarm states, and publish trends and snapshots for PLC operators.

Dataflow

How it flows

Actions, models, routes and the topics that link them. Click a node to trace its flow.

How it works

This Coreflux LoT template reads a live Allen-Bradley CompactLogix tank and republishes process values, metadata, and derived topics under demo/tankwatch/#. It turns four raw alarm bits into a single state word, builds a 1-minute level trend, and emits a snapshot report every 15 seconds.

Key features

  • PLC polling: Reads Tank.Level.Value, Tank.Temperature.Value, alarm bits, and metadata from one ALLEN_BRADLEY route.
  • Derived alarm state: Collapses highhigh, high, low, and lowlow bits into one consumable topic per signal.
  • 1-minute trend: Keeps count, sum, min, and max, then publishes a closed-window trend model.
  • Snapshot report: Publishes level, temperature, states, and PLC description as collapsed JSON.
  • Self-contained demo: Uses one route, four actions, and two models; no external APIs required.

Prerequisites

  • Coreflux broker build with the ALLEN_BRADLEY native dependency
  • Network access to the target PLC
  • A controller address and tag paths adapted to your own site
The notebook

What’s inside

Browse the markdown and code cells before you download.

LoT Notebook:demo_tank_watch.lotnb
Related use cases

Similar templates

Templates chosen for overlap in routes, tags, and category.

View all in Manufacturing

Get this template

1 file · 1 downloads